Jump to content

Correct switches for different hotfixes types?


Recommended Posts

Can someone verify if this are the correct switches? How do you use the /integrate to slipstream to an unattended cd?

Type 1 Hotfixes: /N /O /Q /Z

-u Unattended mode

-f Force other programs to close when the computer shuts down

-n Do not back up files for uninstall

-o Overwrite OEM files without prompting

-z Do not restart when installation is complate

-q Quiet mode (no user interation)

-l List installed Windows hotfixes

Type 2 Hotfixes: /Q:A /R:N

/Q Quiet modes for package

/T:<full path> Specifies temporary working folder

/C Extract files only to the folder when used also with /T

/C:<cmd> Override install command defined by author

Type 3 Hotfixes: /passive /norestart /quiet

/quiet Quiet mode (no user interaction or display)

/passive Unattended mode (progress bar only)

/uinstall Uninstall the package

/norestart Do not restart when installation is complate

/forcestart Restart after installation

/l Lists installed Windows hotfixes or update packages

/o Overwrite OEM files without prompting

/n Do not backup files needed for uninstall

/f Force other programs to close when computer shuts down

Type 4 Hotfixes: /integrate

or

Type 4 Hotfixes: /passive /norestart /quiet

/quiet Quiet mode (no user interaction or display)

/passive Unattended mode (progress bar only)

/uinstall Uninstall the package

/norestart Do not restart when installation is complate

/forcestart Restart after installation

/l Lists installed Windows hotfixes or update packages

/o Overwrite OEM files without prompting

/n Do not backup files needed for uninstall

/f Force other programs to close when computer shuts down

/integrate:<fullpath> Integrate this sofwtare update into (fullpath)

Link to comment
Share on other sites


Not sure about the list of switches, but integrating hotfixes (and/or SP2) into your source is a fairly straight forward process. Brian873 and I actually wrote a short script that will do it semi-automatically for you. You can find the thread about it here. Brian's file posted there was never updated, however, and I've long since forgotten the password for mine, so I will repost mine here.

The script requires the following:

  • Windows XP source files in a directory on your hard drive
  • Windows SP2 redistributable if SP2 has not already been integrated (recommended)
  • A folder on your hard drive containing all hotfix redistributables you wish to add using /integrate

Just double click the batch file to run it. As mentioned in the readme, make sure that your destination paths are not entered with trailing backslashes.

If you want to integrate the hotfixes manually, you can run each one from the command line with the following syntax:

/PASSIVE /INTEGRATE:XPSOURCE

where XPSOURCE is the path to your source files. This should be the path to the root folder, so don't include the I386 folder in the path.

Edit: Woops. I guess it would help if I actually posted the file. Sorry about that. :blushing:

Hotfix.rar

Edited by Cartoonite
Link to comment
Share on other sites

Thank you Cartoonite for the script. This definitely will make my life much easier. I used nLite to do the integration but notice for some reason it only integrated 8 out of the 14. That was the reason that I posted this topic.

My next dolist is to learn how to integrate the drivers. Do you happen to know some threads? I did a quick search and didn't find it much.

-Kenneth

Link to comment
Share on other sites

Why don't just don't install all the hotfixes EXE-files at install-time?

That way you have a much more maintainable installation... Just add a new hotfix to the directory.

This is the part of the script I call in my cmdlines.txt (for hotfixes).

 echo Installing Hotfixes:
 echo ----------------------------------------------
 pushd hotfixes
 for %%i in (*.exe) do (
   echo Installing hotfix %%i...
   %%i /passive /norestart /n
 )
 popd

Link to comment
Share on other sites

Afterdawn, thanks for sharing the script. Here is another one that I found. Not sure if there is any advantages, comparing yours.

ECHO Installing Hotfixes Type 1

CD "%systemdrive%\install\hotfixes\hotfixes1"

for %%i in (*.exe) do start /wait %%i /z /n /o /q

ECHO.

ECHO Installing Hotfixes Type 2

CD "%systemdrive%\install\hotfixes\hotfixes2"

for %%i in (*.exe) do start /wait %%i /Q:A /R:N

ECHO.

ECHO Installing Hotfixes Type 3

CD "%systemdrive%\install\hotfixes\Hotfixes3"

for %%i in (*.exe) do start /wait %%i /passive /norestart /quiet

ECHO.

ECHO Installing Other Hotfixes, Patches and Extras

CD "%systemdrive%\install\hotfixes\Hotfixes"

start /wait "" "Windows-KB890830-ENU.exe /q"

ECHO.

START /wait "" "%systemdrive%\install\hotfixes\qchain.exe"

EXIT

Link to comment
Share on other sites

Not sure if there is any advantages, comparing yours.

The advantage of using Afterdawn's script is that it is smaller than the other. The advantage of the other is that it will install hotfixes that require a set of silent switches other than "/passive /norestart /n."

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...