Jump to content

Recommended Posts

Posted

hi,

i want to use the svpack method, because i think its the easiest way to maitain and setup the hotfix-installation.

but now there 48 updates for windows xp which i am too lazy to write down in the svpack.inf. is there anyway during the windows installation to let them execute by a loop? or is it even possible to put a loop in the svpack.inf?

like this ...

;Windows XP
[Version]
Signature="$Windows NT$"
MajorVersion=5
MinorVersion=1
BuildNumber=2600

[SetupData]
CatalogSubDir="\i386\SVCPACK"

[ProductCatalogsToInstall]

[SetupHotfixesToRun]
for %%U in (kb*.exe) do (
%%U /q /n /z

)

Q330994.exe /Q:A /R:N
Q819696.exe /Q /O /N /Z

i hope it isnt totally crazy :)

greetz

moby


Posted

Unfortunately, this example will not work. (i bet £10 you knew that :lol:)

One working way is to defer this loop in a batch.

Another working way is to use nlite or hfslip to slipstream the hotfixes. Or use an update pack with nlite, hfslip or rvmintegrator.

One untested way is to use something like that :

[setupHotfixesToRun]

C:\WINDOWS\SYSTEM32\CMD.EXE /E:ON /C @FOR %c IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO @(IF EXIST %c:\WIN51 SET CDROM=%c:)&@FOR %h IN (!CDROM!\I386\HOTFIXES\KB*.EXE) DO @(START /MIN /LOW /WAIT %h /Z /Q /O /N)

That's on one single line. I used the full path to CMD 'coz i beleive environment variables (%windir% or %systemroot%) are not usable there.

Good luck :clover:

++

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...