Valerie Posted March 30, 2008 Share Posted March 30, 2008 Win.2k SP.4I have downloaded all the updates/hotfixes since SP.4 and am now looking to automate their installs. I can write a script to do this but don't know how to get round having to click the "Agree" box and the "Do not restart now" box. Is this possible please?V.. Link to comment Share on other sites More sharing options...
fdv Posted March 31, 2008 Share Posted March 31, 2008 Here you gohttp://www.msfn.org/board/HFSLIP-f129.htmlProblem 100% solved! Link to comment Share on other sites More sharing options...
Valerie Posted March 31, 2008 Author Share Posted March 31, 2008 Thank you but that seems to be for slipstreaming W2k with SP and hotfixes etc. What I'm looking for is a method of automating the hotfix installs without reinstalling the entire OS.V.. Link to comment Share on other sites More sharing options...
Martin H Posted April 3, 2008 Share Posted April 3, 2008 (edited) You could do something like this...Make a folder named 'Updates' with two subfolders named 'Type-1' and 'Type-2'. All type-1 updates goes in 'Updates\Type-1\' and all type-2 updates in 'Updates\Type-2\'.Copy/paste the contents further down into a batchfile and save it in 'Updates\'.Run the batchfile.@echo offtitle Installing Updates . . .for %%g in (Type-1\*.exe) do (echo.echo Processing %%gecho Please Wait . . .%%g /q /n /z)for %%g in (Type-2\*.exe) do (echo.echo Processing %%gecho Please Wait . . .%%g /q:a /r:n)Here is a version for WinXP-SP2 users, which defaults to the QFE branch for Type-1 updates : @echo offtitle Installing Updates . . .for %%g in (Type-1\*.exe) do (echo.echo Processing %%gecho Please Wait . . .%%g /q /n /z /b:sp2qfe)for %%g in (Type-2\*.exe) do (echo.echo Processing %%gecho Please Wait . . .%%g /q:a /r:n)Edit : Added WinXP-SP2 version of batchfile, as i linked this post to a WinXP user. Edited April 5, 2008 by Martin H 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