Tested with OPSI 4.0.4.0
Winst 4.11.3.11
Works fine with Win7 x86 and x64
By Steve Taube 2015/04/24 12:00
Diese Anleitung ist etwas umfangreicher, deshalb vorerst nur in Deutsch!
Sie brauchen, je nachdem welche Updates bereits auf Windows 7 installiert wurden,
die
neuesten Update-Packs von
http://www.winfuture.de → http://winfuture.de/UpdatePack
Scrollen Sie auf dieser Seite (mit den Update-Packs) nach unten zum Punkt:
Für Windows 7 mit Service Pack 1
Hier haben Sie zwei Möglichkeiten.
Entweder links die Vollversion oder rechts die Upgrade Version.
(Die Upgrade Version baut aber immer auf die Vormonats-Version!!!
Sollten Sie mal einen Monat die Upgrade Version vergessen haben in
ein OPSI Paket umzuwandeln, ist es sinnvoller die Vollversion zu
wählen!)
Die Tabelle “x64” bzw “x86” sollten nun ähnlich aussehen:
Februar 2015 komplett 2.48 2015 komplett 2.48 "%ScriptPath%\files\x64\ 2015 komplett 2.48" /quiet /norestart "%ScriptPath%\files\x64\ 2015 komplett 2.48" /quiet /norestart File = IE10-Windows6.1-KB2976627-x64.msu IE10-Windows6.1-KB2976627-x64.msu "%ScriptPath%\files\x64\IE10-Windows6.1-KB2976627-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE10-Windows6.1-KB2976627-x64.msu" /quiet /norestart File = IE10-Windows6.1-KB3021952-x64.msu IE10-Windows6.1-KB3021952-x64.msu "%ScriptPath%\files\x64\IE10-Windows6.1-KB3021952-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE10-Windows6.1-KB3021952-x64.msu" /quiet /norestart File = IE10-Windows6.1-KB3034196-x64.msu IE10-Windows6.1-KB3034196-x64.msu "%ScriptPath%\files\x64\IE10-Windows6.1-KB3034196-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE10-Windows6.1-KB3034196-x64.msu" /quiet /norestart File = IE11-Windows6.1-KB2929437-x64.msu IE11-Windows6.1-KB2929437-x64.msu "%ScriptPath%\files\x64\IE11-Windows6.1-KB2929437-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE11-Windows6.1-KB2929437-x64.msu" /quiet /norestart File = IE11-Windows6.1-KB2976627-x64.msu IE11-Windows6.1-KB2976627-x64.msu "%ScriptPath%\files\x64\IE11-Windows6.1-KB2976627-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE11-Windows6.1-KB2976627-x64.msu" /quiet /norestart File = IE11-Windows6.1-KB3021952-x64.msu IE11-Windows6.1-KB3021952-x64.msu "%ScriptPath%\files\x64\IE11-Windows6.1-KB3021952-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE11-Windows6.1-KB3021952-x64.msu" /quiet /norestart File = IE11-Windows6.1-KB3034196-x64.msu IE11-Windows6.1-KB3034196-x64.msu "%ScriptPath%\files\x64\IE11-Windows6.1-KB3034196-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE11-Windows6.1-KB3034196-x64.msu" /quiet /norestart File = IE11-Windows6.1-x64-de-de.exe IE11-Windows6.1-x64-de-de.exe "%ScriptPath%\files\x64\IE11-Windows6.1-x64-de-de.exe" /quiet /norestart "%ScriptPath%\files\x64\IE11-Windows6.1-x64-de-de.exe" /quiet /norestart File = IE9-Windows6.1-KB2976627-x64.msu IE9-Windows6.1-KB2976627-x64.msu "%ScriptPath%\files\x64\IE9-Windows6.1-KB2976627-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE9-Windows6.1-KB2976627-x64.msu" /quiet /norestart File = IE9-Windows6.1-KB3021952-x64.msu IE9-Windows6.1-KB3021952-x64.msu "%ScriptPath%\files\x64\IE9-Windows6.1-KB3021952-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE9-Windows6.1-KB3021952-x64.msu" /quiet /norestart File = IE9-Windows6.1-KB3034196-x64.msu IE9-Windows6.1-KB3034196-x64.msu "%ScriptPath%\files\x64\IE9-Windows6.1-KB3034196-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE9-Windows6.1-KB3034196-x64.msu" /quiet /norestart File = msxml4-KB2758694-deu.exe msxml4-KB2758694-deu.exe "%ScriptPath%\files\x64\msxml4-KB2758694-deu.exe" /quiet /norestart "%ScriptPath%\files\x64\msxml4-KB2758694-deu.exe" /quiet /norestart File = NDP40-KB2446708-x64.exe NDP40-KB2446708-x64.exe "%ScriptPath%\files\x64\NDP40-KB2446708-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2446708-x64.exe" /quiet /norestart File = NDP40-KB2478663-x64.exe NDP40-KB2478663-x64.exe "%ScriptPath%\files\x64\NDP40-KB2478663-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2478663-x64.exe" /quiet /norestart File = NDP40-KB2487367-x64.exe NDP40-KB2487367-x64.exe "%ScriptPath%\files\x64\NDP40-KB2487367-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2487367-x64.exe" /quiet /norestart File = NDP40-KB2604121-x64.exe NDP40-KB2604121-x64.exe "%ScriptPath%\files\x64\NDP40-KB2604121-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2604121-x64.exe" /quiet /norestart File = NDP40-KB2729449-x64.exe NDP40-KB2729449-x64.exe "%ScriptPath%\files\x64\NDP40-KB2729449-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2729449-x64.exe" /quiet /norestart File = NDP40-KB2736428-x64.exe NDP40-KB2736428-x64.exe "%ScriptPath%\files\x64\NDP40-KB2736428-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2736428-x64.exe" /quiet /norestart File = NDP40-KB2737019-x64.exe NDP40-KB2737019-x64.exe "%ScriptPath%\files\x64\NDP40-KB2737019-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2737019-x64.exe" /quiet /norestart File = NDP40-KB2742595-x64.exe NDP40-KB2742595-x64.exe "%ScriptPath%\files\x64\NDP40-KB2742595-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2742595-x64.exe" /quiet /norestart File = NDP40-KB2789642-x64.exe NDP40-KB2789642-x64.exe "%ScriptPath%\files\x64\NDP40-KB2789642-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2789642-x64.exe" /quiet /norestart File = NDP40-KB2840628-v2-x64.exe NDP40-KB2840628-v2-x64.exe "%ScriptPath%\files\x64\NDP40-KB2840628-v2-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2840628-v2-x64.exe" /quiet /norestart . . .
Wichtig für uns sind in den Tabellen “x64” und “x86” jeweils die Spalten P!
Achtung: Die “setup.ins” ist nicht ganz sauber erstellt, funktioniert jedoch tadellos
Es sind zuviel Variablen enthalten, die nicht genutzt werden und das Script
sucht nach einer Deinstallations-Routine
Es wurden durch zahlreiche Tests noch ein paar ExitCodes hinzugefügt,
diese sind mit FehlerCode und ExitCode Listen von Microsoft abgeglichen worden.
Sie wurden zusätzlich mit einer “comment” Zeile versehen
damit man nachvollziehen kann um welchen Fehler es sich handelt!
Im Script sind alle Files der Vollversionen x64 und x86 Februar 2015
und zusätzlich die Upgrades x64 und x86 für März 2015 und April 2015 angegeben
Beginnend ab dem Punkt ; === Inno Setup ======
ACHTUNG:
Kopieren sie die Spalte P aus der Excel Tabelle “x64”
nach [Winbatch_install_64] ; === Inno Setup ====== in der “setup.ins”
! Die erste Zeile der Tabelle, in deren Spalte A nur die Nummer der
Upgrade-Version / Vollversion steht, kopieren Sie bitte nicht mit
→ sonst kommt es hier zu Fehlermeldungen!!!
Schauen Sie oben im Bespiel der Excel-Tabelle
→ In der ersten Zeile steht in Spalte A “Februar 2015 komplett 2.48”
→ Diese nicht mit kopieren!
Wiederholen Sie diese Schritte auch für die Spalte P aus der Tabelle “x86”
kopieren Sie deren Inhalt nach
nach [Winbatch_install_32] ; === Inno Setup ====== in der “setup.ins”
Jetzt kann das Paket erstellt werden
→ opsi-makeproductfile
und eingespielt werden
→ opsi-package-manager -i ms_windows_7_updates_…
; Copyright (c) uib gmbh (www.uib.de) ; This sourcecode is owned by uib ; and published under the Terms of the General Public License. ; credits: http://www.opsi.org/en/credits/ [Actions] requiredWinstVersion >= "4.11.2.6" DefVar $MsiId32$ DefVar $UninstallProgram32$ DefVar $UninstallProgram32_2$ DefVar $MsiId64$ DefVar $UninstallProgram64$ DefVar $UninstallProgram64_2$ DefVar $LogDir$ DefVar $ExitCode$ DefVar $ProductId$ DefVar $MinimumSpace$ DefVar $InstallDir32$ DefVar $InstallDir64$ DefVar $InstallDir32_2$ DefVar $InstallDir64_2$ DefVar $InstallDir32_3$ DefVar $InstallDir64_3$ DefVar $InstallPic$ DefVar $LicenseRequired$ DefVar $LicensePool$ DefVar $INST_SystemType$ DefVar $INST_architecture$ Set $INST_SystemType$ = GetSystemType set $INST_architecture$ = GetProductProperty("install_architecture","system specific") Set $LogDir$ = "%SystemDrive%\tmp" ; ---------------------------------------------------------------- ; - Please edit the following values - ; ---------------------------------------------------------------- ;$ProductId$ should be the name of the product in opsi ; therefore please: only lower letters, no umlauts, ; no white space use '-' as a seperator Set $ProductId$ = "Windows 7 Updates " Set $MinimumSpace$ = "1000 MB" ; the path were we find the product after the installation ;Set $InstallDir32$ = "%ProgramFiles32Dir%\" ;Set $InstallDir64$ = "%ProgramFiles64Dir%\" Set $LicenseRequired$ = "false" Set $LicensePool$ = "p_" + $ProductId$ Set $InstallPic$ = "installer.png" ; ---------------------------------------------------------------- if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$)) LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for " + $ProductId$ isFatalError ; Stop process and set installation status to failed else comment "Show product picture" ShowBitmap "%ScriptPath%\" + $InstallPic$ $ProductId$ if FileExists("%ScriptPath%\delsub3264.ins") comment "Start uninstall sub section" Sub "%ScriptPath%\delsub3264.ins" endif if $LicenseRequired$ = "true" comment "Licensing required, reserve license and get license key" Sub_get_licensekey endif comment "installing" if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") Message "Installing " + $ProductId$ + " 32 Bit..." comment "Start setup program" ChangeDirectory "%SCRIPTPATH%" Winbatch_install_32 Sub_check_exitcode endif if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")) Message "Installing " + $ProductId$ + " 64 Bit..." comment "Start setup program" ChangeDirectory "%SCRIPTPATH%" Winbatch_install_64 Sub_check_exitcode endif endif ExitWindows /Reboot [Winbatch_install_32] ; Choose one of the following examples as basis for your installation ; You can use $LicenseKey$ var to pass a license key to the installer ; ; === Nullsoft Scriptable Install System ================================================================ ; "%ScriptPath%\Setup.exe" /S ; ; === MSI package ======================================================================================= ; You may use the parameter PIDKEY=$Licensekey$ ; msiexec /i "%ScriptPath%\some.msi" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 REBOOT=ReallySuppress ; ; === InstallShield + MSI===================================================================================== ; Attention: The path to the log file should not contain any whitespaces ; "%ScriptPath%\setup.exe" /s /v" /l* $LogDir$\$ProductId$.install_log.txt /qb! ALLUSERS=1 REBOOT=ReallySuppress" ; "%ScriptPath%\setup.exe" /s /v" /qb! ALLUSERS=2 REBOOT=ReallySuppress" ; ; === InstallShield ===================================================================================== ; Create setup.iss answer file by running: setup.exe /r /f1"c:\setup.iss" ; You may use an answer file by the parameter /f1"c:\setup.iss" ; "%ScriptPath%\setup.exe" /s /sms /f2"$LogDir$\$ProductId$.install_log.txt" ; ; === Inno Setup ======================================================================================== ; http://unattended.sourceforge.net/InnoSetup_Switches_ExitCodes.html ; You may create setup answer file by: setup.exe /SAVEINF="filename" ; You may use an answer file by the parameter /LOADINF="filename" ; "%ScriptPath%\setup.exe" /sp- /silent /norestart /nocancel /SUPPRESSMSGBOXES ; WinFuture_7SP1_x86_UpdatePack_2.48_Februar_2015-Vollversion "%System%\wusa.exe" "%ScriptPath%\files\x86\IE10-Windows6.1-KB2976627-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\IE10-Windows6.1-KB3021952-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\IE10-Windows6.1-KB3034196-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\IE11-Windows6.1-KB2929437-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\IE11-Windows6.1-KB2976627-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\IE11-Windows6.1-KB3021952-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\IE11-Windows6.1-KB3034196-x86.msu" /quiet /norestart "%ScriptPath%\files\x86\IE11-Windows6.1-x86-de-de.exe" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\IE9-Windows6.1-KB2976627-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\IE9-Windows6.1-KB3021952-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\IE9-Windows6.1-KB3034196-x86.msu" /quiet /norestart "%ScriptPath%\files\x86\msxml4-KB2758694-deu.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB2446708-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB2478663-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB2487367-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB2604121-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB2729449-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB2736428-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB2737019-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB2742595-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB2789642-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB2840628-v2-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB2858302-v2-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB2901110-v2-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB2972106-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB2972215-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB2978125-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB2979575-v2-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP45-KB2737083-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP45-KB2742613-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP45-KB2789648-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP45-KB2840642-v2-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP45-KB2861208-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP45-KB2898864-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP45-KB2898869-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP45-KB2901118-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP45-KB2901126-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP45-KB2972107-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP45-KB2972216-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP45-KB2978128-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP45-KB2979578-v2-x86.exe" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2446710-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2475792-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2478662-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2479943-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2491683-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2503665-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2506212-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2507938-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2508429-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2509553-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2510531-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2511455-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2532531-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2535512-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2536275-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2536276-v2-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2544893-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2552343-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2560656-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2562937-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2564958-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2570947-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2579686-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2584146-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2585542-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2604115-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2619339-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2620704-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2620712-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2621440-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2631813-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2644615-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2647518-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2653956-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2654428-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2655992-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2656356-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2667402-v2-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2676562-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2685939-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2690533-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2695962-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2698365-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2705219-v2-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2712808-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2716513-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2719033-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2719985-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2727528-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2729452-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2736233-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2736422-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2742599-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2743555-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2757638-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2758857-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2770660-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2772930-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2789645-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2803821-v2-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2807986-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2813347-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2813430-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2820197-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2832414-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2835361-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2839894-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2840149-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2840631-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2847311-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2847927-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2853587-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2855844-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2859537-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2861191-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2861698-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2861855-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2862152-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2862330-v2-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2862335-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2862966-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2862973-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2864058-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2864202-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2868038-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2868626-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2868725-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2871997-v2-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2876331-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2884256-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2887069-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2892074-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2893294-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2894844-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2900986-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2911501-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2912390-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2918614-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2922229-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2926765-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2928120-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2931356-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2937610-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2939576-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2943357-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2957189-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2957503-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2957509-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2961072-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2965788-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2968294-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2971850-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2972100-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2972211-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2972280-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2973112-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2973201-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2973351-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2976627-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2976897-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2977292-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2978120-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2978668-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2978742-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2979570-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2984972-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2991963-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2992611-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2993651-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB2993958-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3000483-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3003743-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3004361-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3004375-v3-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3005607-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3006226-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3010788-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3011780-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3013455-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3019215-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3019978-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3020387-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3020388-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3020393-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3021674-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3021952-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3022777-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3023562-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\windows6.1-kb3023607-x86_3c9470731ff6128b8ff2b24e06dc01bcd031ef60.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3029944-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3031432-x86.msu" /quiet /norestart ; WinFuture_7SP1_x86_UpdatePack_2.49_Maerz_2015-Upgrade "%System%\wusa.exe" "%ScriptPath%\files\x86\IE10-Windows6.1-KB3032359-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\IE11-Windows6.1-KB3032359-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\IE9-Windows6.1-KB3032359-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3030377-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3032323-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3032359-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3033889-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3034344-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3035017-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3035126-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3035131-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3035132-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3039066-x86.msu" /quiet /norestart ; WinFuture_7SP1_x86_UpdatePack_2.50_April_2015-Upgrade "%System%\wusa.exe" "%ScriptPath%\files\x86\IE10-Windows6.1-KB3038314-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\IE11-Windows6.1-KB3038314-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\IE9-Windows6.1-KB3038314-x86.msu" /quiet /norestart "%ScriptPath%\files\x86\NDP40-KB3037578-x86.exe" /quiet /norestart "%ScriptPath%\files\x86\NDP45-KB3037581-x86.exe" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3037574-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3038314-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3042553-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3045685-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3045999-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3046269-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3046306-x86.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x86\Windows6.1-KB3046482-x86.msu" /quiet /norestart [Files_install_32] ; Example of recursively copying some files into the installation directory: ; ; copy -s "%ScriptPath%\files\*.*" "$InstallDir32$" [Winbatch_install_64] ; Choose one of the following examples as basis for your installation ; You can use $LicenseKey$ var to pass a license key to the installer ; ; === Nullsoft Scriptable Install System ================================================================ ; "%ScriptPath%\Setup.exe" /S ; ; === MSI package ======================================================================================= ; You may use the parameter PIDKEY=$Licensekey$ ; msiexec /i "%ScriptPath%\some.msi" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 REBOOT=ReallySuppress ; ; === InstallShield + MSI===================================================================================== ; Attention: The path to the log file should not contain any whitespaces ; "%ScriptPath%\setup.exe" /s /v" /l* $LogDir$\$ProductId$.install_log.txt /qb! ALLUSERS=1 REBOOT=ReallySuppress" ; "%ScriptPath%\setup.exe" /s /v" /qb! ALLUSERS=2 REBOOT=ReallySuppress" ; ; === InstallShield ===================================================================================== ; Create setup.iss answer file by running: setup.exe /r /f1"c:\setup.iss" ; You may use an answer file by the parameter /f1"c:\setup.iss" ; "%ScriptPath%\setup.exe" /s /sms /f2"$LogDir$\$ProductId$.install_log.txt" ; ; === Inno Setup ======================================================================================== ; http://unattended.sourceforge.net/InnoSetup_Switches_ExitCodes.html ; You may create setup answer file by: setup.exe /SAVEINF="filename" ; You may use an answer file by the parameter /LOADINF="filename" ; "%ScriptPath%\setup.exe" /sp- /silent /norestart /nocancel /SUPPRESSMSGBOXES ; WinFuture_7SP1_x64_UpdatePack_2.48_Februar_2014-Vollversion "%System%\wusa.exe" "%ScriptPath%\files\x64\IE10-Windows6.1-KB2976627-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE10-Windows6.1-KB3021952-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE10-Windows6.1-KB3034196-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE11-Windows6.1-KB2929437-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE11-Windows6.1-KB2976627-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE11-Windows6.1-KB3021952-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE11-Windows6.1-KB3034196-x64.msu" /quiet /norestart "%ScriptPath%\files\x64\IE11-Windows6.1-x64-de-de.exe" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE9-Windows6.1-KB2976627-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE9-Windows6.1-KB3021952-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE9-Windows6.1-KB3034196-x64.msu" /quiet /norestart "%ScriptPath%\files\x64\msxml4-KB2758694-deu.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2446708-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2478663-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2487367-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2604121-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2729449-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2736428-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2737019-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2742595-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2789642-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2840628-v2-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2858302-v2-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2901110-v2-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2972106-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2972215-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2978125-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB2979575-v2-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP45-KB2737083-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP45-KB2742613-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP45-KB2789648-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP45-KB2840642-v2-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP45-KB2861208-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP45-KB2898864-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP45-KB2898869-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP45-KB2901118-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP45-KB2901126-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP45-KB2972107-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP45-KB2972216-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP45-KB2978128-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP45-KB2979578-v2-x64.exe" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2446710-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2475792-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2478662-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2479943-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2491683-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2503665-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2506212-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2507938-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2508429-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2509553-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2511455-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2532531-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2535512-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2536275-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2536276-v2-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2544893-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2552343-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2560656-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2562937-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2564958-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2570947-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2579686-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2584146-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2585542-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2604115-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2619339-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2620704-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2620712-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2621440-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2631813-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2644615-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2647518-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2653956-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2654428-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2655992-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2656356-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2667402-v2-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2676562-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2685939-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2690533-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2695962-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2698365-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2705219-v2-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2706045-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2712808-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2716513-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2719033-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2727528-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2729452-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2736233-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2736422-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2742599-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2743555-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2757638-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2758857-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2770660-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2772930-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2789645-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2803821-v2-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2807986-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2813347-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2813430-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2820197-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2832414-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2835361-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2839894-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2840149-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2840631-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2847311-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2847927-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2853587-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2855844-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2861191-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2861698-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2861855-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2862152-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2862330-v2-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2862335-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2862966-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2862973-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2864058-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2864202-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2868038-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2868626-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2868725-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2871997-v2-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2872339-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2876331-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2884256-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2887069-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2892074-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2893294-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2894844-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2900986-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2911501-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2912390-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2918614-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2922229-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2926765-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2928120-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2931356-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2937610-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2939576-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2943357-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2957189-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2957503-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2957509-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2961072-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2965788-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2968294-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2971850-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2972100-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2972211-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2972280-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2973112-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2973201-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2973351-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2976627-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2976897-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2977292-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2978120-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2978668-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2978742-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2979570-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2984972-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2991963-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2992611-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2993651-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB2993958-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3000483-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3003743-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3004361-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3004375-v3-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3005607-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3006226-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3010788-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3011780-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3013455-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3019215-x64.msu " /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3019978-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3020387-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3020388-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3020393-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3021674-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3021952-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3022777-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3023562-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\windows6.1-kb3023607-x64_cfdc9171dc78c679a3daf3b33aa2a9e362c292b2.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3029944-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3031432-x64.msu" /quiet /norestart ; WinFuture_7SP1_x64_UpdatePack_2.49_Maerz_2015-Upgrade "%System%\wusa.exe" "%ScriptPath%\files\x64\IE10-Windows6.1-KB3032359-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE11-Windows6.1-KB3032359-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE9-Windows6.1-KB3032359-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3030377-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3032323-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3032359-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3033889-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3034344-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3035017-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3035126-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3035131-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3035132-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3039066-x64.msu" /quiet /norestart ; WinFuture_7SP1_x64_UpdatePack_2.50_April_2015-Upgrade "%System%\wusa.exe" "%ScriptPath%\files\x64\IE10-Windows6.1-KB3038314-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE11-Windows6.1-KB3038314-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\IE9-Windows6.1-KB3038314-x64.msu" /quiet /norestart "%ScriptPath%\files\x64\NDP40-KB3037578-x64.exe" /quiet /norestart "%ScriptPath%\files\x64\NDP45-KB3037581-x64.exe" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3037574-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3038314-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3042553-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3045685-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3045999-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3046269-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3046306-x64.msu" /quiet /norestart "%System%\wusa.exe" "%ScriptPath%\files\x64\Windows6.1-KB3046482-x64.msu" /quiet /norestart [Files_install_64] ; Example of recursively copying some files into the installation directory: ; ; copy -s "%ScriptPath%\files\*.*" "$InstallDir64$" [Registry_install_64] ; Example of setting some values of an registry key: ; ; openkey [HKEY_LOCAL_MACHINE\Software\$ProductId$] ; set "name1" = "some string value" ; set "name2" = REG_DWORD:0001 ; set "name3" = REG_BINARY:00 af 99 cd [LinkFolder_install] ; Example of deleting a folder from AllUsers startmenu: ; ; set_basefolder common_programs ; delete_subfolder $ProductId$ ; ; Example of creating an shortcut to the installed exe in AllUsers startmenu: ; ; set_basefolder common_programs ; set_subfolder $ProductId$ ; ; set_link ; name: $ProductId$ ; target: <path to the program> ; parameters: ; working_dir: $InstallDir$ ; icon_file: ; icon_index: ; end_link ; ; Example of creating an shortcut to the installed exe on AllUsers desktop: ; ; set_basefolder common_desktopdirectory ; set_subfolder "" ; ; set_link ; name: $ProductId$ ; target: <path to the program> ; parameters: <some_param> ; working_dir: $InstallDir$ ; icon_file: <path to icon file> ; icon_index: 2 ; end_link [Sub_get_licensekey] comment "License management is enabled and will be used" comment "Trying to get a license key" Set $LicenseKey$ = demandLicenseKey ($LicensePool$) ; If there is an assignment of exactly one licensepool to the product the following call is possible: ; Set $LicenseKey$ = demandLicenseKey ("", $ProductId$) ; ; If there is an assignment of a license pool to a windows software id, it is possible to use: ; DefVar $WindowsSoftwareId$ ; $WindowsSoftwareId$ = "..." ; Set $LicenseKey$ = demandLicenseKey ("", "", $WindowsSoftwareId$) DefVar $ServiceErrorClass$ set $ServiceErrorClass$ = getLastServiceErrorClass comment "Error class: " + $ServiceErrorClass$ if $ServiceErrorClass$ = "None" comment "Everything fine, we got the license key '" + $LicenseKey$ + "'" else if $ServiceErrorClass$ = "LicenseConfigurationError" LogError "Fatal: license configuration must be corrected" LogError getLastServiceErrorMessage isFatalError else if $ServiceErrorClass$ = "LicenseMissingError" LogError "Fatal: required license is not supplied" isFatalError endif endif endif [Sub_check_exitcode] comment "Test for installation success via exit code" set $ExitCode$ = getLastExitCode ; informations to exit codes see ; http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx ; http://msdn.microsoft.com/en-us/library/aa368542.aspx if ($ExitCode$ = "0") comment "Looks good: setup program gives exitcode zero" else comment "Setup program gives a exitcode unequal zero: " + $ExitCode$ if ($ExitCode$ = "1605") comment "ERROR_UNKNOWN_PRODUCT 1605 This action is only valid for products that are currently installed." comment "Uninstall of a not installed product failed - no problem" else if ($ExitCode$ = "1641") comment "looks good: setup program gives exitcode 1641" comment "ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has initiated a restart. This message is indicative of a success." else if ($ExitCode$ = "3010") comment "looks good: setup program gives exitcode 3010" comment "ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the install. This message is indicative of a success." else if ($ExitCode$ = "1642") comment "looks good: setup program gives exitcode 1642" comment "Update funktioniert nicht. Es ist bereits eine neuere Version des Programms installiert." else if ($ExitCode$ = "40008") comment "looks good: setup program gives exitcode 40008" comment "Es ist bereits eine hoehere Version des Internet Explorers 9 installiert." else if ($ExitCode$ = "2359302") comment "looks good: setup program gives exitcode 2359302" comment "Das Programm ist bereits auf dem Client installiert" else if ($ExitCode$ = "2145124329") or ($ExitCode$ = "-2145124329") comment "looks good: setup program gives exitcode 2145124329" comment "Das Programm ist nicht fuer diesen Client geeignet." else logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$ isFatalError endif endif endif endif endif endif endif endif
Haben Sie nun einmal mit der Vollversion der Updates begonnen,
gibt es jetzt zwei Möglichkeiten die kommenden Updates zu Installieren.
Vorteil:
Ich beschreibe hier die Variante 1,
da es mir persönlich passiert ist, dass ich Upgrade Pakete von Winfuture
vergessen hab herunterzuladen und im darauffolgenden Monat
nur das neue Upgrade Paket zum Download bereitsteht.
(Sollte dies der Fall sein, dass man einmal ein Upgrade Paket verpasst,
dann beginnt man wieder mit einer Vollversion
und verfährt wie oben beschrieben.)
Nachteil:
der Variante 1 ist jedoch, dass er immer die komplette Liste
der in der “setup.ins” aufgeführten Dateien abarbeitet und versucht diese zu installieren.
Dadurch dauert das Ausrollen des OPSI-Paketes auch wesentlich länger als bei Variante 2.
Es handelt sich hierbei jedoch nicht um Tage :)
Kurzbeschreibung - Updates nach der Erst-Ausrollung einer Vollversion -
control
[Package] version: 1 depends: incremental: False [Product] type: localboot id: ms_windows_7_updates name: Microsoft Windows Updates fuer Windows 7 x86 und x64 description: Microsoft Windows Updates fuer Windows 7 x86 und x64 advice: 2.50 April 2015 version: 2.50 priority: 0 licenseRequired: False productClasses: setupScript: setup.ins uninstallScript: updateScript: alwaysScript: onceScript: customScript: userLoginScript: [Changelog] ms_windows_7_updates (2.50-1) testing; urgency=low * Initial package -- Vorname Name <email> Fri, 24 Apr 2015 15:05:40 +0000