Asin Posted August 22, 2005 Posted August 22, 2005 I have no idea why I can't find this. Maybe I'm just tired at the moment.I'm looking for the command line switches for XP SP2. Basically I'm just trying to automate the installing of SP2 and post-SP2 hotfixes onto a CD. I can do that with a batch file without any problems. I just can't find the switches for the SP2 installer.Any help is greatly appreciated.
Asin Posted August 22, 2005 Author Posted August 22, 2005 (edited) Right, but what I'm actually trying to do is make a CD with SP2 and all the hotfixes and nothing else.This CD is going out to users with computers in a remote location that already have XP SP1 installed.EDIT: I got it. I just used the regular Windows Installer switches with the update.msi package in the extracted i386\update folder. Edited August 22, 2005 by Asin
muiz Posted August 22, 2005 Posted August 22, 2005 Right, but what I'm actually trying to do is make a CD with SP2 and all the hotfixes and nothing else.This CD is going out to users with computers in a remote location that already have XP SP1 installed.EDIT: I got it. I just used the regular Windows Installer switches with the update.msi package in the extracted i386\update folder. <{POST_SNAPBACK}> try : search
Zxian Posted August 22, 2005 Posted August 22, 2005 (edited) Google - "integrate SP2"Google - "integrate hotfixes XP"Either that or use nLite to do the dirty work for you. You don't have to remove anything with nLite. This is actually how I do most of my UA CDs, nLited or not. Edited August 22, 2005 by Zxian
Asin Posted August 23, 2005 Author Posted August 23, 2005 (edited) Actually, I think that I got it.I used WinRAR to extract the i386 folder in the SP2 file for IT Professionals and just worked with it from there.Like I said, there's an update.exe and update.msi file in the i386\update folder.From there, a simple%CDROM%\i386\update\update.msi /quiet /norebootshould do what I want. I haven't tested this yet as it takes time to install a SP1 XP installation in VMware (not at work right now).After that's done, a copied batch file to the current user's startup folder will do the rest after a restart. It'll also include a couple of port openings that I need for Funk Software's Proxy Host. Edited August 23, 2005 by Asin
Zxian Posted August 23, 2005 Posted August 23, 2005 Yes... you will end up with SP2 installed afterwards... but it's still installing it after having installed XP. By integrating SP2 into your CD, you'll save time during the install process and future testing.I would highly recommend looking into the links I provided or using nLite to integrate your SP2 and hotfixes. You'll end up saving time and space on your CD (meaning more room for other apps once you get into full UACDs... ).XP Gold + SP2 = 484MB + 266MB = 750MB (dunno how you get that on the CD in the first place)XP SP2 (integrated) = 582MBXP SP1 is even bigger than the gold version, and it will still end up being the same size in the end with SP2 integrated. It's definately the easiest way to do things in the long run.
Asin Posted August 23, 2005 Author Posted August 23, 2005 What I'm saying is that I am creating a standalone CD for just upgrading an XP SP1 machine to SP2 with the latest critical patches, nothing more.There is software that is currently installed and I don't want to disturb that. I also do not know what other personal data is on those Home User computers, so I definitely don't want to delete any of that.I already have discs with SP2 slipstreamed into them from the Volume Licensing program that we have here.
gunsmokingman Posted August 23, 2005 Posted August 23, 2005 Would some thing like this be what you wantFor VBS Script '''' SCRIPT BY GUNSMOKINGMAN DO WHAT EVER WITH IT. Dim Act, Fso, SD, Drv Dim Act : Set Act = CreateObject("Wscript.shell") Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject") Dim Sd : Sd = Act.ExpandEnvironmentStrings("%systemdrive%") strComputer = "." '''' Array For Service Pack 2 and 29 updates KbL = Array(_ "WindowsXP-KB835935-SP2-ENU","WindowsXP-KB887742-x86-ENU","WindowsXP-KB885626-v2-x86-ENU","WindowsXP-KB873339-x86-ENU",_ "WindowsXP-KB885835-x86-ENU","WindowsXP-KB834707-x86-ENU","WindowsXP-KB885836-x86-ENU","WindowsXP-KB886185-x86-ENU",_ "WindowsXP-KB890175-x86-ENU","WindowsXP-KB873333-x86-ENU","WindowsXP-KB888113-x86-ENU","WindowsXP-KB891781-x86-ENU",_ "WindowsXP-KB888302-x86-ENU","WindowsXP-KB883939-x86-ENU","WindowsXP-KB890046-x86-ENU","WindowsXP-KB893066-v2-x86-ENU",_ "WindowsXP-KB896358-x86-ENU","WindowsXP-KB896422-x86-ENU","WindowsXP-KB896428-x86-ENU","WindowsXP-KB890047-x86-ENU",_ "WindowsXP-KB890859-x86-ENU","WindowsXP-KB890923-x86-ENU","WindowsXP-KB903235-x86-ENU","WindowsXP-KB901214-x86-ENU",_ "WindowsXP-KB896423-x86-ENU","WindowsXP-KB899587-x86-ENU","WindowsXP-KB899591-x86-ENU","WindowsXP-KB893756-x86-ENU",_ "WindowsXP-KB899588-x86-ENU","WindowsXP-KB896727-x86-ENU" )Set Drv = Fso.DrivesFor Each strD In Drv '''' CHECK FOR THE CDROM If strD.DriveType = 4 Then'''' This Can be Removed It Just Popup The drive LetterAct.Popup "This Is CDROM, " & strD , 3,"CD Test", 0 + 32If Fso.FileExists(StrD & "\YOUR_CHECK_FILE_NAME" Then '''' Confirm It The Correct CDFor Each StrKB In KbL '''' For The Array If The 2 Above Checks Pass '''' EXAMPLE THIS IS THE ONE I USE TO INTERGRATE THE SERVICE'''' PACK 2 AND THE UPDATES''''Act.run (Loc1 & "\" & StrKB & ".exe" & " /passive /norestart /L /o -s:%systemdrive%\XPCD"),1,true '''' USER PLACE WHAT EVER YOU NEED IN THE -> ACT.RUN(),1,TRUE''''Act.run ("PLACE WHATEVER SWITCHES AND INSTALL CMD HERE"),1,true End IfNextElse Act.Popup "This Is The Wrong CD", 3, "Error Missing CD", 0 + 32End IfThe above script may need fine tuning as it from a larger script that I amworking on. I have it so it will check for the CDROM, but you will have to fill in the check file for it. The Array is set for long names for the updates.
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