Windows Server MVP Site


Q. How can I install Windows 2000/XP hotfixes and IE during an RIS installation?

A. You can install the hotfix with the [GUIRunOnce] method, which requires an administrative logon after RIS to install the files (you can force an administrative logon) or use the CMDLINES method which installs the hotfix at the "Saving settings" part of the GUI setup of the OS.

Also consider installing hotfixes with the free SUS :   http://www.microsoft.com/windowsserversystem/sus/default.mspx

NEW:  How to include Internet Explorer in your CMDLines installation.


CMDLINES Method

These changes are made to the cd-based image that was created when RIS was set up initially or when you ran RISETUP and created another cd-based image.

  1. Edit <drive>:\remoteinstall\setup\<language>\images\<ImageName\i386\templates\ristdnrd.sif
    and ensure it contains the following:

    [Unattended]
    OemPreinstall = Yes

  2. Copy the Qxxxxxx.exe hotfixes and the latest QChain.exe from MS's Download Center to the $OEM$ folder (<drive>:\remoteinstall\setup\<language>\images\<ImageName\$OEM$)
  3. Create a new text file called "cmdlines.txt" in the same $OEM$ folder
  4. Edit your new cmdlines.txt file and add the following (you can add other software as well):
    [Commands]
    "Q823980.exe -q -u -z"
    "Q123456.exe -q -u -z"
    "qchain c:\qchain.txt"
  5. Save the change

During installation the hotfixes will automatically be installed at the "saving settings section" of the GUI install.

 
GUIRunOnce Method

Edit SIF: RemoteInstall\Setup\English\Images\Imagename\I386\Templates\
 

[GUIUnattended]
AdminPassword = "password"
Autologon = yes ; automatically logs on the administrator account
AutoLogoncount = 1 ; number of times to perform auto-admin logon
 
[GUIRunOnce]
"%windir%\KB826939.exe /quiet /forcerestart"

Place hotfix in the same location that you reference in your SIF.  In the example above I refer to the %windir% (Windows directory) so I drop the hotfix(es) in this folder:

RemoteInstall\Setup\English\Images\Imagename\i386\Mirror1\UserData\WINDOWS

Internet Explorer install with RIS using CMDLines

How to - auto installing IE6sp1 with RIS.

1. Download the network install of IE6 and save it to a folder called "ie6" inside your $OEM$ folder.
2. Set up *.sif for CMDLines from here:
3. Add the following line to the Cmdlines.txt in the $OEM$ folder:
[Commands]
"Q823980.exe -q -u -z"
"Q824146.exe -q -u -z"
"Q835732.exe -q -u -z"
"qchain c:\qchain.txt"
"ie6\ie6setup.exe"
(The hotfixes are included as an example)
4. Download the latest IE SP by running the IE6Setup from the IE6 folder (Q257249) :
"ie6setup.exe" /c:"ie6wzd.exe /d /s:""#E"
Save the files in the IE6 folder in a web site subdirectory (http://server/ie/2kDownload)
5. Use Notepad to make a IEBatch.txt file within the IE6 directory, the file is as follows:
[Welcome]
Display=0
[SetupChoice]
Display=0
[Custom]
Display=0
Mode=0
InstallDir=c:\Int_exp\en
[Download]
Display=0
[DownloadSite]
DownloadSiteList=http://server/ie6/sp1/
DownloadLocation=http://server/ie6/sp1/ie6sites.txt
[Finish]
Display=0
[Reboot]
Reboot=1
6. Make an IESites.txt from notepad and save the file in the DownloadSite location. The file contains:
"http://server/ie6/sp1/","Download Site","EN","North America"
7. Ensure the ie6sites.txt is available to download from the web site ad you are ready to go.
 

* Return to ServerStuff Home Page *