This shows you the differences between two versions of the page.
userspace:adobe_acrobat_9_standard_professional [2013/04/17 05:59] Sapgui |
userspace:adobe_acrobat_9_standard_professional [2021/08/23 08:37] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Adobe Acrobat 9 Standard & Professional ====== | ||
- | |||
- | Folgend meine Skripte für die Silent-Installation von Adobe Acrobat 9 Standard & Professional sowie dem Abschalten der Updatefunktion. | ||
- | Falls jemand eine " | ||
- | Und falls sich jemand dazu berufen fühlt: Ins Englische darf der Artikel natürlich auch übersetzt werden! | ||
- | |||
- | Zu beachten in beiden Skripts: Der Lizenzkey wird nicht übergeben und muss somit nachträglich eingegeben werden! | ||
- | |||
- | ====== Adobe Acrobat 9 Standard ====== | ||
- | Tested with opsi 4.0.3.1\\ | ||
- | Tested with WinstVersion >= 4.11.2.9\\ | ||
- | Tested with Win XP SP3 32bit & Win7 Pro SP1 64bit | ||
- | |||
- | ==== Steps ==== | ||
- | Um die Dateien zu erhalten - die unten aufgelistet sind - führt man die " | ||
- | Der Installationsvorgang beginnt damit, dass man nach einem Speicherort für die Extraktion des eigentlichen Installers gefragt wird. | ||
- | Nach der Extraktion bricht man das Setup ab und hat im angegebenen Pfad die Dateien. | ||
- | Allerdings kann man sich die Datei " | ||
- | |||
- | Meine OPSI_Workbench: | ||
- | < | ||
- | 1031.mst | ||
- | 1033.mst | ||
- | 1036.mst | ||
- | Abcpy.ini | ||
- | AcroStan.msi | ||
- | Data1.cab | ||
- | FeatureLockDown.reg | ||
- | install.ins | ||
- | Setup.exe | ||
- | setup.ini | ||
- | uninstall.ins | ||
- | </ | ||
- | |||
- | ==== install.ins ==== | ||
- | <code winst> | ||
- | [Initial] | ||
- | ; Standard Text, der während der Installation angezeigt wird | ||
- | Message=Bitte warten, Adobe Acrobat 9 Standard wird installiert... | ||
- | ; Abort on Errors: | ||
- | ExitOnError=true | ||
- | ; Don't show syntax errors in the script: | ||
- | ScriptErrorMessages=off | ||
- | ; Don't let started programs run in front of the winst window | ||
- | StayOnTop=true | ||
- | ; Loglevel configuration | ||
- | setLogLevel=6 | ||
- | |||
- | [Actions] | ||
- | ;Variable für die Ermittlung des Betriebssystems | ||
- | DefVar $OS$ | ||
- | set $OS$ = GetOS | ||
- | |||
- | ;Variable für die Ermittlung der Betriebssystem Unterversion | ||
- | DefVar $NTVersion$ | ||
- | set $NTVersion$ = GetNTVersion | ||
- | |||
- | ;Variable zur Ermittlung der Systemarchitektur | ||
- | DefVar $SystemType$ | ||
- | Set $SystemType$ = GetSystemType | ||
- | |||
- | DefVar $Executable$ | ||
- | Set $Executable$ = " | ||
- | |||
- | ;Die Variable zur Auswertung des ExitCodes | ||
- | DefVar $ExitCode$ | ||
- | |||
- | ;Prüfen der Winst Version | ||
- | requiredWinstVersion >= " | ||
- | |||
- | ;Freien Speicherplatz ermitteln | ||
- | if not (HasMinimumSpace (" | ||
- | | ||
- | | ||
- | endif | ||
- | |||
- | Winbatch_Install | ||
- | Winbatch_disable_update | ||
- | sub_check_exitcode | ||
- | |||
- | [Winbatch_Install] | ||
- | %SCRIPTPATH%\$Executable$ /sAll /rs /msi EULA_ACCEPT=YES | ||
- | |||
- | [Winbatch_disable_update] | ||
- | Regedit /s %SCRIPTPATH%\FeatureLockDown.reg | ||
- | |||
- | [sub_check_exitcode] | ||
- | comment "test for installation success via exit code" | ||
- | set $ExitCode$ = getLastExitCode | ||
- | ; informations to exit codes see | ||
- | ; http:// | ||
- | ; http:// | ||
- | if ($ExitCode$ = " | ||
- | comment "looks good: setup program gives exitcode zero" | ||
- | else | ||
- | comment "Setup program gives a exitcode unequal zero: " | ||
- | if ($ExitCode$ = " | ||
- | | ||
- | | ||
- | else | ||
- | if ($ExitCode$ = " | ||
- | comment "looks good: setup program gives exitcode 1641" | ||
- | comment " | ||
- | else | ||
- | if ($ExitCode$ = " | ||
- | | ||
- | | ||
- | else | ||
- | | ||
- | | ||
- | endif | ||
- | endif | ||
- | endif | ||
- | endif | ||
- | </ | ||
- | |||
- | ==== uninstall.ins ==== | ||
- | <code winst> | ||
- | [Initial] | ||
- | ; Standard Text, der während der Installation angezeigt wird | ||
- | Message=deinstalliere Adobe Acrobat 9 Standard | ||
- | ; Abort on Errors: | ||
- | ExitOnError=true | ||
- | ; Don't show syntax errors in the script: | ||
- | ScriptErrorMessages=off | ||
- | ; Don't let started programs run in front of the winst window | ||
- | StayOnTop=true | ||
- | ; Loglevel configuration | ||
- | setLogLevel=6 | ||
- | |||
- | [Actions] | ||
- | ;Variable for the found version. Gotten by the redistry | ||
- | DefVar $DisplayName$ | ||
- | ;Aktionen aufrufen | ||
- | Winbatch_produkt_silent_uninstall | ||
- | |||
- | [Winbatch_produkt_silent_uninstall] | ||
- | ;uninstall Adobe Acrobat 9 Std., if found in the Registry | ||
- | Set $DisplayName$ = GetRegistrystringvalue(" | ||
- | if not ($DisplayName$ = "" | ||
- | MsiExec.exe /x {AC76BA86-1033-F400-BA7E-000000000004} /qb-! REBOOT=ReallySuppress | ||
- | endif | ||
- | </ | ||
- | |||
- | ==== FeatureLockDown.reg ==== | ||
- | <code reg> | ||
- | Windows Registry Editor Version 5.00 | ||
- | |||
- | [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Adobe Acrobat\9.0\FeatureLockDown] | ||
- | " | ||
- | " | ||
- | </ | ||
- | |||
- | |||
- | ====== Adobe Acrobat 9 Professional ====== | ||
- | Tested with opsi 4.0.3.1\\ | ||
- | Tested with WinstVersion >= 4.11.2.9\\ | ||
- | Tested with Win XP SP3 32bit & Win7 Pro SP1 64bit | ||
- | |||
- | ==== Steps ==== | ||
- | Um die Dateien zu erhalten - die unten aufgelistet sind - führt man die " | ||
- | Der Installationsvorgang beginnt damit, dass man nach einem Speicherort für die Extraktion des eigentlichen Installers gefragt wird. | ||
- | Nach der Extraktion bricht man das Setup ab und hat im angegebenen Pfad die Dateien. | ||
- | Allerdings kann man sich die Datei " | ||
- | |||
- | Meine OPSI_Workbench: | ||
- | < | ||
- | 1031.mst | ||
- | 1033.mst | ||
- | 1036.mst | ||
- | Abcpy.ini | ||
- | AcroPro.msi | ||
- | Data1.cab | ||
- | FeatureLockDown.reg | ||
- | install.ins | ||
- | Setup.exe | ||
- | setup.ini | ||
- | uninstall.ins | ||
- | </ | ||
- | |||
- | ==== install.ins ==== | ||
- | <code winst> | ||
- | [Initial] | ||
- | ; Standard Text, der während der Installation angezeigt wird | ||
- | Message=Bitte warten, Adobe Acrobat 9 Professional wird installiert... | ||
- | ; Abort on Errors: | ||
- | ExitOnError=true | ||
- | ; Don't show syntax errors in the script: | ||
- | ScriptErrorMessages=off | ||
- | ; Don't let started programs run in front of the winst window | ||
- | StayOnTop=true | ||
- | ; Loglevel configuration | ||
- | setLogLevel=6 | ||
- | |||
- | [Actions] | ||
- | ;Variable für die Ermittlung des Betriebssystems | ||
- | DefVar $OS$ | ||
- | set $OS$ = GetOS | ||
- | |||
- | ;Variable für die Ermittlung der Betriebssystem Unterversion | ||
- | DefVar $NTVersion$ | ||
- | set $NTVersion$ = GetNTVersion | ||
- | |||
- | ;Variable zur Ermittlung der Systemarchitektur | ||
- | DefVar $SystemType$ | ||
- | Set $SystemType$ = GetSystemType | ||
- | |||
- | DefVar $Executable$ | ||
- | Set $Executable$ = " | ||
- | |||
- | ;Die Variable zur Auswertung des ExitCodes | ||
- | DefVar $ExitCode$ | ||
- | |||
- | ;Prüfen der Winst Version | ||
- | requiredWinstVersion >= " | ||
- | |||
- | ;Freien Speicherplatz ermitteln | ||
- | if not (HasMinimumSpace (" | ||
- | | ||
- | | ||
- | endif | ||
- | |||
- | Winbatch_Install | ||
- | Winbatch_disable_update | ||
- | sub_check_exitcode | ||
- | |||
- | [Winbatch_Install] | ||
- | %SCRIPTPATH%\$Executable$ /sAll /rs /msi EULA_ACCEPT=YES | ||
- | |||
- | [Winbatch_disable_update] | ||
- | Regedit /s %SCRIPTPATH%\FeatureLockDown.reg | ||
- | |||
- | [sub_check_exitcode] | ||
- | comment "test for installation success via exit code" | ||
- | set $ExitCode$ = getLastExitCode | ||
- | ; informations to exit codes see | ||
- | ; http:// | ||
- | ; http:// | ||
- | if ($ExitCode$ = " | ||
- | comment "looks good: setup program gives exitcode zero" | ||
- | else | ||
- | comment "Setup program gives a exitcode unequal zero: " | ||
- | if ($ExitCode$ = " | ||
- | | ||
- | | ||
- | else | ||
- | if ($ExitCode$ = " | ||
- | comment "looks good: setup program gives exitcode 1641" | ||
- | comment " | ||
- | else | ||
- | if ($ExitCode$ = " | ||
- | | ||
- | | ||
- | else | ||
- | | ||
- | | ||
- | endif | ||
- | endif | ||
- | endif | ||
- | endif | ||
- | </ | ||
- | |||
- | ==== uninstall.ins ==== | ||
- | <code winst> | ||
- | [Initial] | ||
- | ; Standard Text, der während der Installation angezeigt wird | ||
- | Message=deinstalliere Adobe Acrobat 9 Professional | ||
- | ; Abort on Errors: | ||
- | ExitOnError=true | ||
- | ; Don't show syntax errors in the script: | ||
- | ScriptErrorMessages=off | ||
- | ; Don't let started programs run in front of the winst window | ||
- | StayOnTop=true | ||
- | ; Loglevel configuration | ||
- | setLogLevel=6 | ||
- | |||
- | [Actions] | ||
- | ;Variable for the found version. Gotten by the redistry | ||
- | DefVar $DisplayName$ | ||
- | |||
- | ;Aktionen aufrufen | ||
- | Winbatch_produkt_silent_uninstall | ||
- | |||
- | [Winbatch_produkt_silent_uninstall] | ||
- | ;uninstall Adobe Acrobat 9 Pro, if found in the Registry | ||
- | Set $DisplayName$ = GetRegistrystringvalue(" | ||
- | if not ($DisplayName$ = "" | ||
- | MsiExec.exe /x {AC76BA86-1033-F400-7760-000000000004} /qb-! REBOOT=ReallySuppress | ||
- | endif | ||
- | </ | ||
- | |||
- | ==== FeatureLockDown.reg ==== | ||
- | <code reg> | ||
- | Windows Registry Editor Version 5.00 | ||
- | |||
- | [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Adobe Acrobat\9.0\FeatureLockDown] | ||
- | " | ||
- | " | ||
- | </ | ||