sldsnkee Posted June 4, 2004 Share Posted June 4, 2004 Hi all,,will anyone likes to share their svcpack.inf and RunOnceEx.cmd...I tried making one but i kept getting few errors (and i'm tried from trying)..anyone has a setup that just installs Win XP with Sp1(or Sp1a) with all the critical hotfixes?no need for any app or anything.. your help is greatly appreciated..I'm following the steps on this site (with $1,$OEM$.. etc folders)thanks all Link to comment Share on other sites More sharing options...
johann83 Posted June 4, 2004 Share Posted June 4, 2004 A question/suggestion... Have you tried XPCREATE? There is also a seperate forum for it here. Sounds like it would be just up your alley. There is even a "test" version which will download all the latest hotfixes for you.Regards,Matt Link to comment Share on other sites More sharing options...
Godfatha Posted June 4, 2004 Share Posted June 4, 2004 Well, let me give you the most common example (that was the first way i did my cds/dvds and it always worked fine):in your i386 folder create a folder called SVCPACK (its not case sensitive so no matter if u keep the caps). after that yout copy all hotfixes you wanna install there (if you dunno what fixes that are keep reading and take a look at my svcpack.inf later in this thread). After you put all those fixes in that folder, you delete the old svcpack.in_ and you create a new textfile that you call svcpack.inf. That one you open up and you would paste the stuff i have in my svcpack or if you put anything different there you write that stuff in too. One thing to mention, the begin of the svcpack is different for 2000/XP/2003, here's the correct infos for each OS:For Windows 2000:MajorVersion=5MinorVersion=0BuildNumber=2195For Windows XP:MajorVersion=5MinorVersion=1BuildNumber=2600For Windows 2003:MajorVersion=5MinorVersion=2BuildNumber=3790no matter what OS you got, just replace the three infos to match your os and keep the rest as it is (well change the hotfixes to the ones for your os of course...).so the svcpack.inf would look like that (IF you placed the svcpack folder in the i386 folder):[Version]Signature="$Windows NT$"MajorVersion=5MinorVersion=1BuildNumber=2600[SetupData]CatalogSubDir="\i386\svcpack"[ProductCatalogsToInstall][SetupHotfixesToRun]hu1002_pro.exe /Q:A /R:N"Q832483.EXE /C:""dahotfix.exe /q /n"" /q:a"KB823182.EXE /q /n /zKB824105.EXE /q /n /zKB824141.EXE /q /n /zKB825119.EXE /q /n /zKB826939.exe /q /n /zKB828035.EXE /q /n /zKB828741.EXE /q /n /zKB835732.EXE /q /n /zKB837001.EXE /q /n /zKB840374.EXE /q /n /zDX9XPOPK.EXEqchain.exeYou could still place WMP9 there or other fixes you want there, i have my reasons not to place more there, but we're not done yet....after you did that, you'll open up the dosnet.inf and you put this two lines somewhere ( i placed them at the start of the file, but it doesn't matter at all):[OptionalSrcDirs]svcpackwell, these updates will work already. lets do the rest:You edited your winnt.sif file to make an oem preinstallation i hope, if not do so now. after you did that, create (or open if you got that one allready) the CMDLINES.TXT file and (you could change the way i did it, but here's my version) add the following lines (if you have more commands in there look if everything is still ok after you copied and pasted this stuff): [COMMANDS]"init.cmd"Save the file and create a file (textfile) and name it init.cmd. open it and put the following there (if you haven't got one of these files, skip the line or download the files, else you'll get an error):@echo offCLScmdow @ /HIDTITLE Windows Unattended Installation post install initiationIF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:IF EXIST F:\CD.txt set CDROM=F:IF EXIST G:\CD.txt set CDROM=G:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:IF EXIST K:\CD.txt set CDROM=K:IF EXIST L:\CD.txt set CDROM=L:IF EXIST M:\CD.txt set CDROM=M:IF EXIST N:\CD.txt set CDROM=N:IF EXIST O:\CD.txt set CDROM=O:IF EXIST P:\CD.txt set CDROM=P:IF EXIST Q:\CD.txt set CDROM=Q:IF EXIST R:\CD.txt set CDROM=R:IF EXIST S:\CD.txt set CDROM=S:IF EXIST T:\CD.txt set CDROM=T:IF EXIST U:\CD.txt set CDROM=U:IF EXIST V:\CD.txt set CDROM=V:IF EXIST W:\CD.txt set CDROM=W:IF EXIST X:\CD.txt set CDROM=X:IF EXIST Y:\CD.txt set CDROM=Y:IF EXIST Z:\CD.txt set CDROM=Z:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREGEDIT /S autologin.regnet user "User" /addnet localgroup Administratoren "User" /addnet accounts /maxpwage:unlimitedREG ADD %KEY% /V TITLE /D "Installing Patches" /fREG ADD %KEY%\005 /VE /D "IE6 SP1" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\install\ie\IE6SETUP.EXE /q:a /r:n" /fREG ADD %KEY%\010 /VE /D "IE6 Patch" /fREG ADD %KEY%\010 /V 1 /D "%CDROM%\install\UPDATESXP\Q832894.exe /q:a /r:n" /fREG ADD %KEY%\015 /VE /D "IE6 Patch 2" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\install\UPDATESXP\Q831167.EXE /q:a /r:n" /fREG ADD %KEY%\040 /VE /D "Script Patch" /fREG ADD %KEY%\040 /V 1 /D "%CDROM%\install\UPDATESXP\js56nde.exe /Q:A /R:N" /fREG ADD %KEY%\045 /VE /D "Mediaplayer Patch 1 von 2" /fREG ADD %KEY%\045 /V 1 /D "%CDROM%\install\UPDATESXP\Q817787.EXE /q:a /r:n" /fREG ADD %KEY%\050 /VE /D "Mediaplayer Patch 2 von 2" /fREG ADD %KEY%\050 /V 1 /D "%CDROM%\install\UPDATESXP\KB828026.exe /Q /N /Z" /fREG ADD %KEY%\055 /VE /D "DirectX Patch" /fREG ADD %KEY%\055 /V 1 /D "%CDROM%\install\UPDATESXP\KB819696.exe /q:a /r:n" /fREG ADD %KEY%\060 /VE /D "Outlook Patch 1 of 1" /fREG ADD %KEY%\060 /V 1 /D "%CDROM%\install\UPDATESXP\KB837009.exe /q:a /r:n" /fREG ADD %KEY%\065 /VE /D "Advanced Networking Pack" /fREG ADD %KEY%\065 /V 1 /D "%CDROM%\install\UPDATESXP\KB817778.exe /Q /N /Z" /fTo make this work, you'll need a few things: create an empty files called cd.txt and place it in the root of your cd (well you could take any other file as well, but then you'd have to change the lines above). Change or delete the adding a user with administrator priviledges and place an autologin.reg in the same folder as the init.cmd and the cmdlines.txt (that would be the $OEM$ folder). In the root of your cd create a folder called install and in that folder you create a folder called UPDATESXP. in that folder you place all of the files above ( you could search for them on the internet or directly at microsoft, but you gotta be sure that you got no express or web setups, you need administrator setups or OPK versions ( search the forum if you want got those).now the last files you can't download, that you'd have to create:the autologin.reg looks like that:Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="User""AutoAdminLogon"="1""DefaultPassword"=""and the cmdow command works because i placed the cmdow.exe in the folder $OEM$\$$\System32 (but that file isn't needed, so you could delete that line if you don't want the batch window to be camouflaged...if you got all the files and placed them correctly, and made no typos or anything like that, you would restart the pc after your runonceex is done and afterwards try a windows update, tada... no critical stuff found nor any servicepacks. Link to comment Share on other sites More sharing options...
Alanoll Posted June 4, 2004 Share Posted June 4, 2004 I can't tell if your installing XP or 2000 from those examples.One would guess XP from thisMajorVersion=5MinorVersion=1BuildNumber=2600but 2K from thisREG ADD %KEY%\005 /VE /D "IE6 SP1" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\install\ie\IE6SETUP.EXE /q:a /r:n" /funless of course you removed IE6 from the original XP, just to install it later on as a standalone. Link to comment Share on other sites More sharing options...
Godfatha Posted June 4, 2004 Share Posted June 4, 2004 Uhm, yes i'm sorry. i've copied the batch example from my multiboot dvd which contains also my private windows. Since i got a VLK license from my university that contains NO SP1 for IE i just install the fully IE package that contains the SP1. that works more than fine for me. and since i standardized (i hope that word exist...) my mutiboot setups, IE SP1 package is installed for every XP os. Thats why this entry is in the batch file (i hope noone got confused), And yes that was all for XP (like the SVCPACK.inf showed). If anyone want another SVCPACK file for any other OS let me know, i could paste mine (2000, XP or 2003 i got). Link to comment Share on other sites More sharing options...
urgan Posted June 5, 2004 Share Posted June 5, 2004 @GodfathaWhy not:for %%i in ( 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 "%%i\WIN51" set CDROM=%%i)Not that it really matters but never quite get it why add another file to the cd root Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now