BaTLeZone Posted April 3, 2012 Posted April 3, 2012 (edited) I am trying to install all update that I can using this:@echo onSTART /WAIT WUSA IE9-Windows6.1-KB2647516-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2425227-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2476490-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2479943-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2491683-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2503658-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2506212-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2507618-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2509553-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2511455-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2524375-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2525694-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2536275-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2536276-v2-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2544893-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2556532-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2560656-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2564958-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2567680-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2570947-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2579686-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2584146-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2585542-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2588516-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2601626-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2618451-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2619339-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2620704-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2620712-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2621440-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2631813-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2641653-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2644615-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2645640-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2654428-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2660465-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2665364-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2667402-x64.msu /quite /norestartPAUSEEXITbut it does not work and I don't understand why.I like to do it this way but it did not work ether.@echo onSTART /WAIT WUSA *.msu /quite /norestartpauseendAny help will be nice. sorry programing is not my thing. Edited April 3, 2012 by BaTLeZone
Tripredacus Posted April 4, 2012 Posted April 4, 2012 Did you try using DISM to install those packages offline?
harshadhparulekar Posted April 4, 2012 Posted April 4, 2012 try this code, put all your updates in a folder and this batch script next to the folder@echo offclstitle Windows 7 Offline Updatercolor 1Frem [Select Current Directory]set BATDIR1=%~dp0cd /d %BATDIR1%:Intro Creditsecho Windows 7 Offline Updaterecho+timeout /t 2 >NulclsRem Next Partecho -==//Created By: ColdZero\\==-timeout /t 1 >Nulecho Support available @ My Digital Life -Forums-timeout /t 3 >Nulcls:MenuclsEcho+Echo -------------------------------------------------------------------------------Echo Windows 7 Off-Line Updates Package: 2012Echo -------------------------------------------------------------------------------Echo+echo Hello %USERNAME%, what do you want to do?echo+echo A) Install Critical Updatesecho B) View Installed Updatesecho Q) Exitecho+::Choose Optionset /p userinp= ^> Select Option : set userinp=%userinp:~0,1%if /i "%userinp%"=="Q" exitif /i "%userinp%"=="A" goto :Patches_Installif /i "%userinp%"=="B" goto :Patches_Listgoto :Menu:Patches_ListIf exist patchlist.txt del patchlist.txtwmic qfe get hotfixid >patchlist.txtstart patchlist.txtgoto :Menuexit:Patches_Installrem "Start /Wait File.exe /quiet /norestart"rem "KB00000.msu /quiet /norestartclsEcho+Echo -------------------------------------------------------------------------------Echo Windows 7 Off-Line Updates Package: 2012Echo -------------------------------------------------------------------------------Echo+echo+cd "Critical Updates"echo Installing 2012 Patches...echo+@for %%V in (*.msu) do (echo %%V%%V /quiet /norestartIf %errorlevel% NEQ 0 echo Warning: Minor error! "dont worry")echo+echo ***********echo Complete!echo ***********echo+Pausecd..ExitColdZero's Page http://forums.mydigitallife.info/threads/20043-Windows-7-Offline-Updates
mandrake Posted April 19, 2012 Posted April 19, 2012 Might just be that "/quite /norestart" should be "/quiet /norestart" :~I am trying to install all update that I can using this:@echo onSTART /WAIT WUSA IE9-Windows6.1-KB2647516-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2425227-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2476490-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2479943-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2491683-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2503658-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2506212-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2507618-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2509553-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2511455-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2524375-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2525694-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2536275-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2536276-v2-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2544893-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2556532-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2560656-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2564958-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2567680-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2570947-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2579686-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2584146-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2585542-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2588516-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2601626-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2618451-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2619339-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2620704-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2620712-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2621440-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2631813-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2641653-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2644615-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2645640-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2654428-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2660465-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2665364-x64.msu /quite /norestartSTART /WAIT WUSA Windows6.1-KB2667402-x64.msu /quite /norestartPAUSEEXITbut it does not work and I don't understand why.I like to do it this way but it did not work ether.@echo onSTART /WAIT WUSA *.msu /quite /norestartpauseendAny help will be nice. sorry programing is not my thing.
spazmochad Posted May 8, 2012 Posted May 8, 2012 Your spelling of quiet is wrong e.g.Change:START /WAIT WUSA Windows6.1-KB2425227-x64.msu /quite /norestartTo:START /WAIT WUSA Windows6.1-KB2425227-x64.msu /quiet /norestart
BaTLeZone Posted May 14, 2012 Author Posted May 14, 2012 (edited) @ TripredacusSorry I dont know what DISM is.@ spazmochad & mandrakeDarn typo monster got me again. thankx@ harshadhparulekarThankyou very much the program works great with win7 updates. Can it be changed so the computer reboots after it is done?Can it be change so I can also do the vista updates. I got them in cab form. (http://www.ryanvm.net/forum/viewtopic.php?t=9646) I found the thingy to do it -> start /wait pkgmgr /ip /m:<path><file name>.cab /quiet <- just don't know what to change and I thought it would be better to ask you anyway. cheers Edited May 14, 2012 by BaTLeZone
Tripredacus Posted May 15, 2012 Posted May 15, 2012 @ TripredacusSorry I dont know what DISM is. I found the thingy to do it -> start /wait pkgmgr /ip /m:<path><file name>.cab /quiet <- just don't know what to change and I thought it would be better to ask you anyway. Package Manager (pkgmgr) is deprecated in the WAIK and was replaced by DISM. http://technet.microsoft.com/en-us/magazine/dd490958.aspxhttp://technet.microsoft.com/en-us/library/dd744311%28v=ws.10%29
BaTLeZone Posted May 15, 2012 Author Posted May 15, 2012 (edited) ThanksIf I under stand correctly I would use one of these :Dism /image:C:\test\offline /LogPath:AddPackage.log /Add-Package /PackagePath:C:\packages\package.cab orDism /image:C:\test\offline /Add-Package /PackagePath:C:\packages\package1.cab /PackagePath: C:\packages\package2.cab /ignorecheckto do it? Edited May 15, 2012 by BaTLeZone
BaTLeZone Posted May 15, 2012 Author Posted May 15, 2012 I tryed this but did not work.@echo onclstitle Windows Vista Offline Updatercolor 1Fstart /wait pkgmgr /ip /m:WINDOWS6.0-KB2079403-X64.CAB /quietstart /wait pkgmgr /ip /m:WINDOWS6.0-KB2117917-X64.CAB /quietstart /wait pkgmgr /ip /m:WINDOWS6.0-KB2141007-X64.CAB /quietstart /wait pkgmgr /ip /m:WINDOWS6.0-KB2281679-X64.CAB /quietstart /wait pkgmgr /ip /m:WINDOWS6.0-KB2296011-X64.CAB /quiet...exit
maxXPsoft Posted May 16, 2012 Posted May 16, 2012 (edited) Try this@Echo OffTitle Installing Windows UpdatesFor %%F In (MSU\*.msu) Do Call :msin %%FFor %%A In (CAB\*.cab) Do Call :kbin %%AREM Shutdown.exe -r -t 1Exit:msinStart /Wait %1 /quiet /norestart:kbinStart /Wait pkgmgr /ip /m:%1 /quiet /norestartGoTo :EOFExit Edited May 16, 2012 by maxXPsoft
Tripredacus Posted May 16, 2012 Posted May 16, 2012 ThanksIf I under stand correctly I would use one of these :Dism /image:C:\test\offline /LogPath:AddPackage.log /Add-Package /PackagePath:C:\packages\package.cab Undocumented, but you can specify a directory too:Dism /image:C:\test\offline /LogPath:AddPackage.log /Add-Package /PackagePath:C:\packages\
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