Numinous Posted October 17, 2003 Posted October 17, 2003 svcpacks only useful for exploitable loopholes that are vulnerable while xp's setting up.. like microsofts rpc cockup (kb824146) ..and if you use a dialup internet connection its of no use at all ..it'll slow your install and take up a whole heap of space for no reasoncreate two folders in %OEM%\%1\Install like thisHotfixes1„ WindowsXP-KB823182-x86-ENU.exe„ WindowsXP-KB824105-x86-ENU.exe„ WindowsXP-KB824141-x86-ENU.exe„ WindowsXP-KB825119-x86-ENU.exe„ WindowsXP-KB826939-x86-ENU.exe„ WindowsXP-KB828035-x86-ENU.exeHotfixes2„ js56nen.exe„ Q330994.exe„ Q828750.execopy qchain.exe and Q823718_MDAC_SecurityPatch.exe into %OEM%\%1\Installand use these four lines of code to install them all from a batch in guirunoncefor %%i in (%systemdrive%\install\Hotfixes1\*.exe) do start /wait %%i /z /n /o /qfor %%i in (%systemdrive%\install\Hotfixes2\*.exe) do start /wait %%i /Q:A /R:Nstart /wait %systemdrive%\install\Q823718_MDAC_SecurityPatch.exe /C:"dahotfix /q /n" /Qstart /wait %systemdrive%\install\qchain.exenext time a hotfix is released drop it in the appropriate folder depending on its icon.. coloured icons in Hotfixes2 and all others in Hotfixes1.. the code does the resti would advise using guirunonce rather than cmdlines.txt because disk caching and motherboard resources are set up when guirunonce does its job.. this makes for a much faster installqchain is needed to make sure the highest version of a file is installed when executing multiple hotfixes.. grab it here ..i should add that qchain fuctionality is built into post-sp1 hotfixes so it may not be neededif you run a broadband connection install kb824146 using aarons svcpack method.. grab it here ..this'll make sure no blaster worm variants get in before xp's finished setting upshould save you 16mb's over the svcpack method and a whole heap of head scratchingif your a network administrator or making an attended cd, its advisable to use the svcpack method, otherwise, for an unattended cd, use the benefits and speed of guirunonce.. this is for home users that want an easily maintainable hotfix technique
gosh Posted October 17, 2003 Posted October 17, 2003 Forgive my ignorance, but i don't see how installing hotfixes via GuiRunOnce is any faster than installing hotfixes via svcpack.inf or cmdlines.inf? Either way you'll have to wait as the hotfixes are extracted and installed. Or am i missing something? You don't say exactly where to put these batch files.All the %1 does is put the files on the system drive if im not mistaken. Why does that make this any better than any other method? <lost>-gosh
Geckotek Posted October 17, 2003 Posted October 17, 2003 Maybe someone can explain the qchain.exe to me since I don't seem to get it. How does running it AFTER you've installed all your hotfixes keep them from conflicting?
squallgreg Posted October 17, 2003 Posted October 17, 2003 (edited) Gosh >> IMHO it's the easiest way to install a splitreamed XP with all the hotfixes. The batch file and the .sif file are made, no need to change it everytime a new hotfix comes up.The only thing you have to do is placed the new hotfix in the appropirate folder (install/hotfixes1, install/hotfixes2, etc). Now that there's a rollup package, you also need to delete the previous hotfixes covered by the rollup update. But that's all.Well, I like to do everything with the GuiRunAtonce section : applying a reg file, installing appz and hotfixes and finally removing the useless folders.If it might help anyone, here is my two batch files called by GuiRunAtonce :Edited on 19/10 at 3pm GMT after the topic was re-openedCLS@echo offMODE CON COLS=80 LINES=40COLOR 0BTITLE Updating and tweaking Windows XP SP1echo Post-installation program startingecho Eject the XP CD right now !PAUSEecho.echo Removing zip support...regsvr32.exe -u %systemroot%\system32\zipfldr.dllecho.echo Removing XP spyware...regsvr32.exe -u %systemroot%\system32\regwizc.dllecho.echo Applying Registry Tweaks...regedit.exe /s %systemdrive%\Install\registry.regecho.echo Installing Winrar 3.1b5start /wait %systemdrive%\Install\wrar31b5.exe /silentcopy "%systemdrive%\Install\RARREG.KEY" "%systemdrive%\program files\WinRAR\"echo.echo Installing DirectX 9.0b...start /wait %systemdrive%\Install\dxsetup.exe /windowsupdateecho.echo Applying Update Rollup 1...start /wait %systemdrive%\hotfixes\KB826939.exe /u /q /z /necho Applying SP2 hotfixes...for %%i in (%systemdrive%\hotfixes\1\*.exe) do start /wait %%i /u /q /z /nfor %%i in (%systemdrive%\hotfixes\2\*.exe) do start /wait %%i /q:a /r:necho Applying others hotfixes...start /wait %systemdrive%\hotfixes\KBMDAC.exe /q /c:"dahotfix /q /n"start /wait %systemdrive%\hotfixes\Qchain.exeecho Installation complete. Please restart Windows to apply all hotfixes.PAUSEEXIT@echo offecho.echo Removing useless wallpapers, shortcuts and screensavers...del "%systemroot%\Blue Lace 16.bmp"del "%systemroot%\Coffee Bean.bmp"del "%systemroot%\FeatherTexture.bmp"del "%systemroot%\Gone Fishing.bmp"del "%systemroot%\Greenstone.bmp"del "%systemroot%\Prairie Wind.bmp"del "%systemroot%\Rhododendron.bmp"del "%systemroot%\River Sumida.bmp"del "%systemroot%\Santa Fe Stucco.bmp"del "%systemroot%\Soap Bubbles.bmp"del "%systemroot%\Zapotec.bmp"del "%systemroot%\Web\Wallpaper\Crystal.jpg"del "%systemroot%\Web\Wallpaper\Friend.jpg"del "%systemroot%\Web\Wallpaper\Home.jpg"del "%systemroot%\Web\Wallpaper\Moon flower.jpg"del "%systemroot%\Web\Wallpaper\Peace.jpg"del "%systemroot%\Web\Wallpaper\Power.jpg"del "%systemroot%\Web\Wallpaper\Purple flower.jpg"del "%systemroot%\Web\Wallpaper\Radiance.jpg"del "%systemroot%\Web\Wallpaper\Ripple.jpg"del "%systemroot%\Web\Wallpaper\Stonehenge.jpg"del "%systemroot%\Web\Wallpaper\Vortec space.jpg"del "%systemroot%\Web\Wallpaper\Ascent.jpg"del "%systemroot%\Web\Wallpaper\Autumn.jpg"del "%systemroot%\Web\Wallpaper\Azul.jpg"del "%systemroot%\Web\Wallpaper\Follow.jpg"del "%systemroot%\Web\Wallpaper\Red moon desert.jpg"del "%systemroot%\Web\Wallpaper\Tulips.jpg"del "%systemroot%\Web\Wallpaper\Wind.jpg"del "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk"del "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"del "%systemroot%\system32\dllcache\ss3dfo.scr"del "%systemroot%\system32\dllcache\ssbezier.scr"del "%systemroot%\system32\dllcache\ssflwbox.scr"del "%systemroot%\system32\dllcache\ssmarque.scr"del "%systemroot%\system32\dllcache\ssmypics.scr"del "%systemroot%\system32\dllcache\ssmyst.scr"del "%systemroot%\system32\dllcache\sspipes.scr"del "%systemroot%\system32\dllcache\ssstars.scr"del "%systemroot%\system32\dllcache\sstext3d.scr"del "%systemroot%\system32\ss3dfo.scr"del "%systemroot%\system32\ssbezier.scr"del "%systemroot%\system32\ssflwbox.scr"del "%systemroot%\system32\ssmarque.scr"del "%systemroot%\system32\ssmypics.scr"del "%systemroot%\system32\ssmyst.scr"del "%systemroot%\system32\sspipes.scr"del "%systemroot%\system32\ssstars.scr"del "%systemroot%\system32\sstext3d.scr"echo.echo Removing useless folders...rd /s /q "%systemdrive%\Program Files\ComPlus Applications"rd /s /q "%systemdrive%\Program Files\Online Services"rd /s /q "%systemdrive%\Program Files\Uninstall Information" rd /s /q "%systemdrive%\Program Files\chat"rd /s /q "%systemdrive%\Program Files\xerox"rd /s /q "%systemdrive%\Program Files\msn gaming zone"rd /s /q "%systemdrive%\Program Files\microsoft frontpage"rd /s /q "%systemdrive%\hotfixes"rd /s /q "%systemdrive%\Drivers"rd /s /q "%systemdrive%\Install"rd /s /q "%systemdrive%\Tweaks"echo.PAUSEEXIT Edited October 19, 2003 by squallgreg
gosh Posted October 17, 2003 Posted October 17, 2003 My point is simply how is using GuiRunOnce any faster or better than using cmdlines or svcpack?Everyone prefers there own method, im just asking how using GuiRunOnce makes the setup faster or better. From my perspective it doesn't. Whatever method you're using - whether svcpack, cmdlines, or guirunonce - you still gotta wait as the hotfixes extract, run, and install.And Gecko's comment is valid, how does running qchain help? Especially now that the rollup is out and all those old hotfixes aren't needed anymore.-gosh
squallgreg Posted October 17, 2003 Posted October 17, 2003 My point is simply how is using GuiRunOnce any faster or better than using cmdlines or svcpack?It is not faster, it is easier to create and to update.And Gecko's comment is valid, how does running qchain help? Especially now that the rollup is out and all those old hotfixes aren't needed anymore.To make sure everything's ok. And in the near future, new bloddy hotfixes will come up...
gosh Posted October 17, 2003 Posted October 17, 2003 Now i see what numerous meant. He is saying to slipstream the xp rollup, then install the hotfixes using guirunonce. I don't see why he couldn't just come out and say that.I still don't see how doing this helps dial-up users. The only thing this does is save you some disk space. The xp install will still be the same time. Dialup users will still have to download the hotfixes, etc.-gosh
Numinous Posted October 17, 2003 Author Posted October 17, 2003 basically i know through experience.. ive tried and tested all methods.. cmdlines.txt is a little slower than guirunonce and svcpack is slower than both.. if you followed the unattended guide anything copied to the hdd from $1\install is removed with a simple del command.. for some reason even though the hotfixes are on the hdd, cmdlines.txt needs to spin up the cdrom before hand.. as for speed in guirunonce, its because disk caching and motherboard resources are setup when guirunonce does its jobqchain is valid because microsoft will no doubt release more hotfixeshttp://support.microsoft.com/?kbid=815062its by far easier to maintain using a drag and drop approach.. all you gotta do is drop your hotfix in the right folderim guessing anyone whos read this forum for more than one day knows how to make a batch and execute it
Numinous Posted October 17, 2003 Author Posted October 17, 2003 squallgreg nice batch's you certainly know your stuff
GreenMachine Posted October 17, 2003 Posted October 17, 2003 CMDLINES.TXT and SVCPACK.INF are run at almost exactly the same point in setup: Using one or the other is not faster. GuiRunOnce is a different matter, and the system is in a different state when this is run. I, like you, have not measured, but I, too, believe they run faster there, either because inventory control has less sorting to do, or other drivers may be acting differently.CMDLINES.TXT is never copeid from the CD to the hard drive, thus the CD spinup when it is run.When the hotfixes are run, files in use are not copied over, rather a temp file is made, and added to a queue of files to be renamed during next reboot. QCHAIN sorts out this list to insure versions are overwritten in a correct maner. It is only needed if two or more hotfixes update the same file, and even then it may not be needed, depending if the updater has the internal QCHAIN bug corrected.Far easier to maintain your installation builder perhaps, I just hope you re-run all those hotfixes after each time you are asked to insert the XP CD.Sorry, Numinous, but you've outdone yourself on this one.
squallgreg Posted October 17, 2003 Posted October 17, 2003 Numinous >> thanx, I spent a lot of time working on a very simple batch ^^
squallgreg Posted October 17, 2003 Posted October 17, 2003 Is anyone know what are the hotfixes we need to apply if the rollup package is already installed ?is it the ones you put on the first post, numinous ?
Geckotek Posted October 17, 2003 Posted October 17, 2003 @GreenMachine - thanks for answering my question. I understand now.@Numinous & Squallgreg - I have to agree, the GuiRunOnce method is easiest to deal with. The SVCPACK method almost fried my brain the first time I read it. Although I know understand it, I really prefer being able to drop new hotfixes in a folder and not have to worry about editing a text file.
Numinous Posted October 17, 2003 Author Posted October 17, 2003 Sorry, Numinous, but you've outdone yourself on this one.you do have a point greenmachine but ive never had xp ask for the cd.. if it did, i'd make appropriate changes to my unattended to make sure it doesnt
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now