Jump to content

chon_

Member
  • Posts

    175
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Mexico

Posts posted by chon_

  1. Anyone know how to get rid of that annoying video that plays the first time you logon to Winme?

    It runs just after de last reboot, but if you're installing something unattended at that stage it will interfere with it causing a lot of troubles, is there any registry entry to skip it?

    TIA

  2. After succesfully doing my XP and W2K unattended CDs, I wanted to make an unattended Win98/Me CD, just for fun and because a lot of friends and family still use it :P. I've been reading the posts in this awesome forum, all the answers are here, but are scattered everywhere in the forums, so I decided to post exactly what I did to get it to work in one place.

    1. Grab the MS batch 98 utility that came with your original Win98 CD, it's located in your \TOOLS\RESKIT\BATCH directory.

    2. Create a basic MSBATCH.INF file, you won't find any problems doing this as the utility is self explanatory.

    3. Download all the critical updates needed for Win98, I suggest http://www.microsoft.com/windows98/downloads/corporate.asp as the download site, anyway, you can always use a VirtualPC/VMWare clean installation and go to Windowsupdate and take note of the critical updates. :P

    4. Create a folder in your CD for the updates and download them. I called this folder INSTALL\W98_UPD, rename them to 8.3 format.

    5. Edit MSBATCH.INF with notepad and add the following to the [install] section:

    [Install]
    AddReg=RunOnce.BatchDelay,Run.Installed.Components,Registry.WinUpdate,Instalar.IE6
    CopyFiles=Copiar.Archivos

    Note that I only added ,InstalarIE6 and CopyFiles=Copiar.Archivos to the file, the rest was created by the batch utility.

    6. Create a new section called [Copiar.Archivos]. VERY IMPORTANT: this is an arbitrary name, but be sure that the name given in the [install] section matches the name of the newly created section, CopyFiles= is NOT arbitrary, is the instruction for setup to copy files. This section will copy the listed files to C:\Windows. We'll be using this files later to install updates, apps, etc. This is my [Copiar.Archivos] section:

    [Copiar.Archivos]
    regtweak.reg
    upd98.bat
    ie6_98.bat
    office.reg

    where regtweak.reg, upd98.bat, ie6_98.bat and office.reg are the files I want to be copied to windir.

    7. Next we create another section that will handle the IE 6.0 SP1 setup. In my file is called [instalar.IE6], again, this is an arbitrary name but it must be identical to the name given in the AddReg section of [install]:

    [Instalar.IE6]
    HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce,"Internet Explorer 6.0 SP1",,"C:\windows\ie6_98.bat"

    As you can see this is only a good old RunOnce registry entry calling a batch file that has the following lines:

    @echo off
    IF EXIST D:\CDID.TXT set CDROM=D:
    IF EXIST E:\CDID.TXT set CDROM=E:
    IF EXIST F:\CDID.TXT set CDROM=F:
    IF EXIST G:\CDID.TXT set CDROM=G:
    IF EXIST H:\CDID.TXT set CDROM=H:
    IF EXIST I:\CDID.TXT set CDROM=I:
    IF EXIST J:\CDID.TXT set CDROM=J:
    START /W %CDROM%\INSTALL\IE6SP1FULL\IE6SETUP.EXE /Q:U /R:N
    regedit /S C:\windows\regtweak.reg
    cls
    exit

    Then, this file (ie6_98.bat) registers regtweak.reg that has this code:

    REGEDIT4

    ; make windows think it has been registered
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
    "RegDone"="1"

    ; get rid of the bloat called Scheduled Tasks
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices]
    "SchedulingAgent"="-"

    ;GDI+
    [HKEY_LOCAL_MACHINE\Software\Microsoft\GDIDetectionTool]
    "GDITool"=dword:00000001

    ; execute this script at first-login
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
    "Actualizacion"="C:\\windows\\upd98.BAT"

    8. As you can see above regtweak.reg adds another RunOnce line that will be executed at next reboot and it will run upd98.bat wich is only a batch file containing all the critical updates for Win98, IE6 and OE 6, here's part of it:

    @ECHO OFF
    IF EXIST D:\CDID.TXT set CDROM=D:
    IF EXIST E:\CDID.TXT set CDROM=E:
    IF EXIST F:\CDID.TXT set CDROM=F:
    IF EXIST G:\CDID.TXT set CDROM=G:
    IF EXIST H:\CDID.TXT set CDROM=H:
    IF EXIST I:\CDID.TXT set CDROM=I:
    IF EXIST J:\CDID.TXT set CDROM=J:

    START /W %CDROM%\INSTALL\W98_UPD\238453.exe /Q:U /R:N
    START /W %CDROM%\INSTALL\W98_UPD\240308.exe /Q:U /R:N
    START /W %CDROM%\INSTALL\W98_UPD\242975.EXE /Q:U /R:N
    START /W %CDROM%\INSTALL\W98_UPD\243450.EXE /Q:U /R:N
    START /W %CDROM%\INSTALL\W98_UPD\245729.exe /Q:U /R:N
    START /W %CDROM%\INSTALL\W98_UPD\249973.exe /Q:U /R:N

    Those were the files you've previously downloaded and renamed. Here you can add any applications you want, like MS office, etc.

    9. Reboot and Voilá!!!!!!

    NOTE: all the files you eant to be copied to windir MUST be in the same dir than the setup cabs.

    PS: Sorry for the huge post!! :P

    Hope it helps

  3. I've been reading some threads regarding this issue, but none of them convinced me on how they work. Here's what i want to do: execute a cmd file in runoncex that prompts the user with 4 different otions of software to install, let's say

    1 Antivirus1

    2 Antivirus2

    3 Antivirus3

    4 Antivirus4

    If user types "1" and hits enter, then Antivirus1 will be installed and exits cmd, if "2" is pressed Antivirus2 will be installed and cmd will exit, and so on.........

    But, if no key is pressed within 20 seconds, then setup must default to option 1 and install Antivirus1 & exit cmd, then continue with the rest of setup. Is there a tool to make this in an easy way?

    TIA

  4. Something weird is happening: when installing dotnet it asks for a disc: "Insert .NET Framework 1.1 Disc". If I click OK keeps asking for it, so I have to click cancel and it aborts setup.

    Never happened before, it worked fine, i've downloaded the package again, same result. Same thing in windows 2000 unattended.

    Is Anyone having this kind of trouble?

  5. I'm finishing my unattended cd, but there's something I haven't figured out: when setup is installing video drivers it launches the new hardware found wizard for the graphic card, so you have to click on 'Next' end so on. I have

    DriverSigningPolicy=Ignore

    in winnt.sif and the drivers are nvidias latest whql certified. This is weird becuase all the setup process takes place in a 640x480 resolution and I don't know why because i've installed windows in this pc before and it runs fine on 800x600

    i'm very confused :)

  6. no, still rebooting...

    I only found one ISS file under NU\MSHLIB, i edited it but no luck, i've also checked all the INI files, none of them have something rebooting related.

    I give up, i'll try to install this app at the very end of my unattended setup although it implicates a lot of work :)

×
×
  • Create New...