From 12833dfe0149b27cef8f0848abd554375f17b4f6 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Fri, 5 Jul 2013 20:33:26 +0200 Subject: [PATCH] initial commti based in the 7.0 acrobat pro tree --- APRO23_Win_ESD1_WWEFG.exe.sha1sum | 1 + AcTR7EFG.exe.sha1sum | 1 - AcrobatUpd810_efgj_incr.msp.sha1sum | 1 + AcrobatUpd811_all_incr.msp.sha1sum | 1 + AcrobatUpd812_all_incr.msp.sha1sum | 1 + AcrobatUpd813_all_incr.msp.sha1sum | 1 + AcrobatUpd814_all_incr.msp.sha1sum | 1 + AcrobatUpd815_all_incr.msp.sha1sum | 1 + AcrobatUpd816_all_incr.msp.sha1sum | 1 + AcrobatUpd817_all_incr.msp.sha1sum | 1 + AcrobatUpd820_all_incr.msp.sha1sum | 1 + AcrobatUpd821_all_incr.msp.sha1sum | 1 + AcrobatUpd822_all_incr.msp.sha1sum | 1 + AcrobatUpd823_all_incr.msp.sha1sum | 1 + AcrobatUpd824_all_incr.msp.sha1sum | 1 + AcrobatUpd825_all_incr.msp.sha1sum | 1 + AcrobatUpd826_all_incr.msp.sha1sum | 1 + AcrobatUpd830_all_incr.msp.sha1sum | 1 + AcrobatUpd831_all_incr.msp.sha1sum | 1 + CLIENT_DATA/delsub32.ins | 26 +++- CLIENT_DATA/login.ins | 24 ++++ CLIENT_DATA/opsi-adobe.acrobatpro8.ini | 6 + CLIENT_DATA/setup32.ins | 76 +++++------- CLIENT_DATA/uninstall32.ins | 46 ++++--- OPSI/changelog.txt | 2 + OPSI/control | 32 +++-- PDF-Icon.jpg.sha1sum | 1 + adobe_pdf_logo.jpg.sha1sum | 1 - builder-product.cfg | 164 +++++++++++++++++++++++-- 29 files changed, 292 insertions(+), 105 deletions(-) create mode 100644 APRO23_Win_ESD1_WWEFG.exe.sha1sum delete mode 100644 AcTR7EFG.exe.sha1sum create mode 100644 AcrobatUpd810_efgj_incr.msp.sha1sum create mode 100644 AcrobatUpd811_all_incr.msp.sha1sum create mode 100644 AcrobatUpd812_all_incr.msp.sha1sum create mode 100644 AcrobatUpd813_all_incr.msp.sha1sum create mode 100644 AcrobatUpd814_all_incr.msp.sha1sum create mode 100644 AcrobatUpd815_all_incr.msp.sha1sum create mode 100644 AcrobatUpd816_all_incr.msp.sha1sum create mode 100644 AcrobatUpd817_all_incr.msp.sha1sum create mode 100644 AcrobatUpd820_all_incr.msp.sha1sum create mode 100644 AcrobatUpd821_all_incr.msp.sha1sum create mode 100644 AcrobatUpd822_all_incr.msp.sha1sum create mode 100644 AcrobatUpd823_all_incr.msp.sha1sum create mode 100644 AcrobatUpd824_all_incr.msp.sha1sum create mode 100644 AcrobatUpd825_all_incr.msp.sha1sum create mode 100644 AcrobatUpd826_all_incr.msp.sha1sum create mode 100644 AcrobatUpd830_all_incr.msp.sha1sum create mode 100644 AcrobatUpd831_all_incr.msp.sha1sum create mode 100644 CLIENT_DATA/login.ins create mode 100644 CLIENT_DATA/opsi-adobe.acrobatpro8.ini create mode 100644 PDF-Icon.jpg.sha1sum delete mode 100644 adobe_pdf_logo.jpg.sha1sum diff --git a/APRO23_Win_ESD1_WWEFG.exe.sha1sum b/APRO23_Win_ESD1_WWEFG.exe.sha1sum new file mode 100644 index 0000000..7291680 --- /dev/null +++ b/APRO23_Win_ESD1_WWEFG.exe.sha1sum @@ -0,0 +1 @@ +bbedb72cdac806ff9e765b323af79dca73e65e5e /home/mario/.opsi-dist-cache/adobe.acrobatpro8-7.1.4/X86/APRO23_Win_ESD1_WWEFG.exe diff --git a/AcTR7EFG.exe.sha1sum b/AcTR7EFG.exe.sha1sum deleted file mode 100644 index 3471737..0000000 --- a/AcTR7EFG.exe.sha1sum +++ /dev/null @@ -1 +0,0 @@ -4f1ff389ea71f21d624083d65bbe5a74e4760079 /home/mario/.opsi-dist-cache/adobe.acrobat-7-7.0/X86/AcTR7EFG.exe diff --git a/AcrobatUpd810_efgj_incr.msp.sha1sum b/AcrobatUpd810_efgj_incr.msp.sha1sum new file mode 100644 index 0000000..955f1be --- /dev/null +++ b/AcrobatUpd810_efgj_incr.msp.sha1sum @@ -0,0 +1 @@ +0526033680990d22c5a1616a8e3866ecabedd27a /home/mario/.opsi-dist-cache/adobe.acrobatpro8-7.1.4/X86/AcrobatUpd810_efgj_incr.msp diff --git a/AcrobatUpd811_all_incr.msp.sha1sum b/AcrobatUpd811_all_incr.msp.sha1sum new file mode 100644 index 0000000..95b39b2 --- /dev/null +++ b/AcrobatUpd811_all_incr.msp.sha1sum @@ -0,0 +1 @@ +62ec50dcc91cfd835eaf65d1087209fb150bab35 /home/mario/.opsi-dist-cache/adobe.acrobatpro8-7.1.4/X86/AcrobatUpd811_all_incr.msp diff --git a/AcrobatUpd812_all_incr.msp.sha1sum b/AcrobatUpd812_all_incr.msp.sha1sum new file mode 100644 index 0000000..2ea560d --- /dev/null +++ b/AcrobatUpd812_all_incr.msp.sha1sum @@ -0,0 +1 @@ +cad94a294dd3994a1102b24270b81b70e60f8350 /home/mario/.opsi-dist-cache/adobe.acrobatpro8-8.3.1/X86/AcrobatUpd812_all_incr.msp diff --git a/AcrobatUpd813_all_incr.msp.sha1sum b/AcrobatUpd813_all_incr.msp.sha1sum new file mode 100644 index 0000000..db7c73f --- /dev/null +++ b/AcrobatUpd813_all_incr.msp.sha1sum @@ -0,0 +1 @@ +df8f657ad60ba515caac95bc25c91d1e4f6dc939 /home/mario/.opsi-dist-cache/adobe.acrobatpro8-8.3.1/X86/AcrobatUpd813_all_incr.msp diff --git a/AcrobatUpd814_all_incr.msp.sha1sum b/AcrobatUpd814_all_incr.msp.sha1sum new file mode 100644 index 0000000..b5a0445 --- /dev/null +++ b/AcrobatUpd814_all_incr.msp.sha1sum @@ -0,0 +1 @@ +42e01f6c955f50acca77d91d659ce4085d6c02d4 /home/mario/.opsi-dist-cache/adobe.acrobatpro8-8.3.1/X86/AcrobatUpd814_all_incr.msp diff --git a/AcrobatUpd815_all_incr.msp.sha1sum b/AcrobatUpd815_all_incr.msp.sha1sum new file mode 100644 index 0000000..1a1721e --- /dev/null +++ b/AcrobatUpd815_all_incr.msp.sha1sum @@ -0,0 +1 @@ +87ee5259fe1e3540d2f8a21cff6da75c252d9570 /home/mario/.opsi-dist-cache/adobe.acrobatpro8-8.3.1/X86/AcrobatUpd815_all_incr.msp diff --git a/AcrobatUpd816_all_incr.msp.sha1sum b/AcrobatUpd816_all_incr.msp.sha1sum new file mode 100644 index 0000000..2d0ba14 --- /dev/null +++ b/AcrobatUpd816_all_incr.msp.sha1sum @@ -0,0 +1 @@ +5b04aa6ed61113177f05059421daabba59d36ef3 /home/mario/.opsi-dist-cache/adobe.acrobatpro8-8.3.1/X86/AcrobatUpd816_all_incr.msp diff --git a/AcrobatUpd817_all_incr.msp.sha1sum b/AcrobatUpd817_all_incr.msp.sha1sum new file mode 100644 index 0000000..db32c96 --- /dev/null +++ b/AcrobatUpd817_all_incr.msp.sha1sum @@ -0,0 +1 @@ +cecebdff9a39067b18098a82f5a3175b486c1d4e /home/mario/.opsi-dist-cache/adobe.acrobatpro8-8.3.1/X86/AcrobatUpd817_all_incr.msp diff --git a/AcrobatUpd820_all_incr.msp.sha1sum b/AcrobatUpd820_all_incr.msp.sha1sum new file mode 100644 index 0000000..04f03f1 --- /dev/null +++ b/AcrobatUpd820_all_incr.msp.sha1sum @@ -0,0 +1 @@ +55114b1959f61fc9748aff7526f20ce123ffc13c /home/mario/.opsi-dist-cache/adobe.acrobatpro8-8.3.1/X86/AcrobatUpd820_all_incr.msp diff --git a/AcrobatUpd821_all_incr.msp.sha1sum b/AcrobatUpd821_all_incr.msp.sha1sum new file mode 100644 index 0000000..b98ba79 --- /dev/null +++ b/AcrobatUpd821_all_incr.msp.sha1sum @@ -0,0 +1 @@ +aaa30eedaf6658b44560eebc671fec0ce6b08bcd /home/mario/.opsi-dist-cache/adobe.acrobatpro8-8.3.1/X86/AcrobatUpd821_all_incr.msp diff --git a/AcrobatUpd822_all_incr.msp.sha1sum b/AcrobatUpd822_all_incr.msp.sha1sum new file mode 100644 index 0000000..c74a6e6 --- /dev/null +++ b/AcrobatUpd822_all_incr.msp.sha1sum @@ -0,0 +1 @@ +309dfa1fb7e95729963940b23d9374d3d1c346e3 /home/mario/.opsi-dist-cache/adobe.acrobatpro8-8.3.1/X86/AcrobatUpd822_all_incr.msp diff --git a/AcrobatUpd823_all_incr.msp.sha1sum b/AcrobatUpd823_all_incr.msp.sha1sum new file mode 100644 index 0000000..2251592 --- /dev/null +++ b/AcrobatUpd823_all_incr.msp.sha1sum @@ -0,0 +1 @@ +7e14ce7b6296537c1393179eb12de1fa8ca56f92 /home/mario/.opsi-dist-cache/adobe.acrobatpro8-8.3.1/X86/AcrobatUpd823_all_incr.msp diff --git a/AcrobatUpd824_all_incr.msp.sha1sum b/AcrobatUpd824_all_incr.msp.sha1sum new file mode 100644 index 0000000..7fbc12d --- /dev/null +++ b/AcrobatUpd824_all_incr.msp.sha1sum @@ -0,0 +1 @@ +5c8f72b660a51df535a3b91c0e3ab49453c98953 /home/mario/.opsi-dist-cache/adobe.acrobatpro8-8.3.1/X86/AcrobatUpd824_all_incr.msp diff --git a/AcrobatUpd825_all_incr.msp.sha1sum b/AcrobatUpd825_all_incr.msp.sha1sum new file mode 100644 index 0000000..a6190b9 --- /dev/null +++ b/AcrobatUpd825_all_incr.msp.sha1sum @@ -0,0 +1 @@ +b333f94e8054721b16789b03abdc2030ecb6c43b /home/mario/.opsi-dist-cache/adobe.acrobatpro8-8.3.1/X86/AcrobatUpd825_all_incr.msp diff --git a/AcrobatUpd826_all_incr.msp.sha1sum b/AcrobatUpd826_all_incr.msp.sha1sum new file mode 100644 index 0000000..e616e18 --- /dev/null +++ b/AcrobatUpd826_all_incr.msp.sha1sum @@ -0,0 +1 @@ +7505f31e98ce6371eb4cca4fe1dc8fd70007df79 /home/mario/.opsi-dist-cache/adobe.acrobatpro8-8.3.1/X86/AcrobatUpd826_all_incr.msp diff --git a/AcrobatUpd830_all_incr.msp.sha1sum b/AcrobatUpd830_all_incr.msp.sha1sum new file mode 100644 index 0000000..31c7c9c --- /dev/null +++ b/AcrobatUpd830_all_incr.msp.sha1sum @@ -0,0 +1 @@ +bef48b85e6526646293ed56c39529529ecd63c0e /home/mario/.opsi-dist-cache/adobe.acrobatpro8-8.3.1/X86/AcrobatUpd830_all_incr.msp diff --git a/AcrobatUpd831_all_incr.msp.sha1sum b/AcrobatUpd831_all_incr.msp.sha1sum new file mode 100644 index 0000000..70b5e3a --- /dev/null +++ b/AcrobatUpd831_all_incr.msp.sha1sum @@ -0,0 +1 @@ +4abf40b56dcd57714b05bc9abbeb8f11ecf64885 /home/mario/.opsi-dist-cache/adobe.acrobatpro8-8.3.1/X86/AcrobatUpd831_all_incr.msp diff --git a/CLIENT_DATA/delsub32.ins b/CLIENT_DATA/delsub32.ins index 8fbcee5..6f1e92a 100644 --- a/CLIENT_DATA/delsub32.ins +++ b/CLIENT_DATA/delsub32.ins @@ -1,13 +1,26 @@ ; Copyright (c) uib gmbh (www.uib.de) ; This sourcecode is owned by uib gmbh ; and published under the Terms of the General Public License. -; credits: http://www.opsi.org/credits/ +; credits: http://www.opsi.org/en/credits/ -Set $MsiId$ = '{AC76BA86-1033-F400-BA7E-100000000002}' +Set $IniFile$ = $InstallDir$ + "\opsi-" + $ProductId$ + ".ini" -Message "Uninstalling " + $ProductId$ + " ..." +if FileExists($IniFile$) + Set $OLD_VERSION$ = GetValueFromInifile($IniFile$,"COMMON","VERSION","") + Set $OLD_CREATOR_TAG$ = GetValueFromInifile($IniFile$,"COMMON","CREATOR_TAG","") + Set $OLD_RELEASE$ = GetValueFromInifile($IniFile$,"COMMON","RELEASE","") +endif +Message "Uninstalling " + $ProductId$ + " " + $OLD_VERSION$ + "-" + $OLD_CREATOR_TAG$ + $OLD_RELEASE$ + " ..." +if FileExists($IniFile$) + Set $MsiIdOld$ = GetValueFromInifile($IniFile$,"X86","MsiId","{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}") + if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiIdOld$ + "] DisplayName") = "") + comment "Old MSI id " + $MsiIdOld$ + " found in registry, starting msiexec to uninstall old version" + Winbatch_uninstall_msi_old + sub_check_exitcode + endif +endif if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId$ + "] DisplayName") = "") comment "MSI id " + $MsiId$ + " found in registry, starting msiexec to uninstall" Winbatch_uninstall_msi @@ -23,13 +36,16 @@ Registry_uninstall /32Bit comment "Delete program shortcuts" LinkFolder_uninstall +[Winbatch_uninstall_msi_old] +msiexec /x $MsiIdOld$ /qb! REBOOT=ReallySuppress + [Winbatch_uninstall_msi] msiexec /x $MsiId$ /qb! REBOOT=ReallySuppress [Files_uninstall] -; Example for recursively deleting the installation directory (don't forget the trailing backslash): +; Example for recursively deleting the installation directory: ; -; delete -sf "$InstallDir$\" +del -sf "$InstallDir$\" [Registry_uninstall] ; Example of deleting a registry key: diff --git a/CLIENT_DATA/login.ins b/CLIENT_DATA/login.ins new file mode 100644 index 0000000..7b85744 --- /dev/null +++ b/CLIENT_DATA/login.ins @@ -0,0 +1,24 @@ +; Copyright (c) uib gmbh (www.uib.de) +; This sourcecode is owned by uib gmbh +; and published under the Terms of the General Public License. +; credits: http://www.opsi.org/en/credits/ + +[Actions] +Message "Profile Patch for VLC ...." + +comment "Did we run this script before ? - and set version stamp in profile" +if getValue("installationstate", getProductMap) = "installed" + comment "Product is installed" + if not (scriptWasExecutedBefore) + comment "loginscript was not run yet " + Files_profile_copy + Registry_currentuser_set + endif +endif + +[Files_profile_copy] +copy "%Scriptpath%\profiles\*.*" "%CurrentAppdataDir%\ACME" + +[Registry_currentuser_set] +openkey [HKCU\Software\ACME] +set "show_greeting_window" = "no" diff --git a/CLIENT_DATA/opsi-adobe.acrobatpro8.ini b/CLIENT_DATA/opsi-adobe.acrobatpro8.ini new file mode 100644 index 0000000..f92dbda --- /dev/null +++ b/CLIENT_DATA/opsi-adobe.acrobatpro8.ini @@ -0,0 +1,6 @@ +[X86] +MsiId={XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} + +[COMMON] +PN=name +VERSION=version diff --git a/CLIENT_DATA/setup32.ins b/CLIENT_DATA/setup32.ins index 66bafa5..ff28cec 100644 --- a/CLIENT_DATA/setup32.ins +++ b/CLIENT_DATA/setup32.ins @@ -1,12 +1,14 @@ ; 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/credits/ +; credits: http://www.opsi.org/en/credits/ [Actions] -requiredWinstVersion >= "4.10.8.6" +requiredWinstVersion >= "4.11.2.6" -DefVar $MsiId$ +DefVar $MsiIdOld$ +DefVar $IniFile$ +DefVar $IniCfgFile$ DefVar $LogDir$ DefVar $ProductId$ DefVar $MinimumSpace$ @@ -15,6 +17,14 @@ DefVar $ExitCode$ DefVar $LicenseRequired$ DefVar $LicenseKey$ DefVar $LicensePool$ +DefVar $OLD_VERSION$ +DefVar $OLD_CREATOR_TAG$ +DefVar $OLD_RELEASE$ + +DefStringList $languageInfo$ +set $languageInfo$ = getLocaleInfoMap +DefVar $LanguageId$ +set $LanguageId$ = getValue("default_language_id_decimal", $languageInfo$) Set $LogDir$ = "%SystemDrive%\tmp" @@ -34,50 +44,40 @@ Set $LogDir$ = "%SystemDrive%\tmp" ;$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$ = "adobe.acrobat7" -Set $MinimumSpace$ = "185 MB" +Set $MinimumSpace$ = "600 MB" ; the path were we find the product after the installation -Set $InstallDir$ = "%ProgramFiles32Dir%\Adobe\Acrobat 7.0" +Set $InstallDir$ = "%ProgramFiles32Dir%\Adobe\Acrobat 8.0" Set $LicenseRequired$ = "true" Set $LicensePool$ = "p_" + $ProductId$ ; ---------------------------------------------------------------- +Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini" + if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$)) LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for " + $ProductId$ - isFatalError + isFatalError "No Space" ; Stop process and set installation status to failed else comment "Show product picture" - ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$ + ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $NAME$ if FileExists("%ScriptPath%\delsub32.ins") comment "Start uninstall sub section" Sub "%ScriptPath%\delsub32.ins" endif - Message "Installing " + $ProductId$ + " ..." + Message "Installing " + $ProductId$ + " "+ $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " ..." if $LicenseRequired$ = "true" comment "Licensing required, reserve license and get license key" Sub_get_licensekey endif - comment "Extract Office" - Winbatch_extract - Sub_check_exitcode + comment "Start setup program" + ChangeDirectory "%SCRIPTPATH%" + Winbatch_install + Sub_check_exitcode - ;comment "Extract Office Updates" - ;Winbatch_update - ;Sub_check_exitcode - - comment "Start setup program" - Winbatch_install - Sub_check_exitcode - - comment "Remove Install Files" - Winbatch_remove - Sub_check_exitcode - comment "Copy files" Files_install /32Bit @@ -87,35 +87,15 @@ else comment "Create shortcuts" LinkFolder_install - comment "Test for installation success" - ; Test if software marked as installed in registry - ; if (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}] DisplayName") = "") - ; logError "Fatal: After Installation 32 bit [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}] not found" - ; isFatalError - ; else - ; comment "Successful Installation" - ; endif - - comment "Reboot" - ExitWindows /Reboot - endif - -[Winbatch_extract] -$InstallExe$ -nos_ne -nos_o"$LogDir$\AdobeAcrobat7 - -;[Winbatch_update] -;$InstallSp3Exe$ /quiet /extract:$LogDir$\msoffice2007\Updates - [Winbatch_install] -msiexec /i "%ScriptPath%\files\Adobe Acrobat 7.0 Standard\AcroStan.msi" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=2 REBOOT=ReallySuppress USERNAME="%HostID%" COMPANYNAME="%HostID%" ISX_SERIALNUMBER="$LicenseKey$" INSTALLDIR="$InstallDir$" - -[Winbatch_remove] -delete -sf "$LogDir$\AdobeAcrobat7\" - +msiexec /i "$Install80Msi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ISX_SERIALNUMBER="$Licensekey$" USERNAME="%PCName%" COMPANYNAME="%IPName%" INSTALLDIR="$InstallDir$" PATCH="$Install810Msp$;$Install811Msp$;$Install812Msp$;$Install813Msp$;$Install814Msp$;$Install815Msp$;$Install816Msp$;$Install817Msp$;$Install820Msp$;$Install821Msp$;$Install822Msp$;$Install823Msp$;$Install823Msp$;$Install825Msp$;$Install826Msp$;$Install830Msp$;$Install831Msp$" TRANSFORMS="$Install80Path$\$LanguageId$.mst" ALLUSERS=1 REBOOT=ReallySuppress EULA_ACCEPT=YES [Files_install] +; copy the ini file to the InstallDir +copy "$IniCfgFile$" "$InstallDir$" + ; Example of recursively copying some files into the installation directory: ; ; copy -s "%ScriptPath%\files\*.*" "$InstallDir$" diff --git a/CLIENT_DATA/uninstall32.ins b/CLIENT_DATA/uninstall32.ins index 2d182fc..4ff244f 100644 --- a/CLIENT_DATA/uninstall32.ins +++ b/CLIENT_DATA/uninstall32.ins @@ -1,18 +1,23 @@ ; Copyright (c) uib gmbh (www.uib.de) ; This sourcecode is owned by uib gmbh ; and published under the Terms of the General Public License. -; credits: http://www.opsi.org/credits/ +; credits: http://www.opsi.org/en/credits/ [Actions] -requiredWinstVersion >= "4.10.8.6" +requiredWinstVersion >= "4.11.2.6" -DefVar $MsiId$ +DefVar $MsiIdOld$ +DefVar $IniFile$ +DefVar $IniCfgFile$ DefVar $LogDir$ DefVar $ExitCode$ DefVar $ProductId$ DefVar $InstallDir$ DefVar $LicenseRequired$ DefVar $LicensePool$ +DefVar $OLD_VERSION$ +DefVar $OLD_CREATOR_TAG$ +DefVar $OLD_RELEASE$ Set $LogDir$ = "%SystemDrive%\tmp" @@ -29,15 +34,15 @@ Set $LogDir$ = "%SystemDrive%\tmp" ; ---------------------------------------------------------------- ; - Please edit the following values - ; ---------------------------------------------------------------- -Set $ProductId$ = "adobe.acrobat7" -Set $InstallDir$ = "%ProgramFiles32Dir%\Adobe\Acrobat 7.0" +Set $InstallDir$ = "%ProgramFiles32Dir%\Adobe\Acrobat 8.0" Set $LicenseRequired$ = "true" Set $LicensePool$ = "p_" + $ProductId$ ; ---------------------------------------------------------------- +Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini" comment "Show product picture" -ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$ +ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $NAME$ Message "Uninstalling " + $ProductId$ + " ..." @@ -52,23 +57,16 @@ if $LicenseRequired$ = "true" endif [Sub_free_license] -if opsiLicenseManagementEnabled - comment "License management is enabled and will be used" - - comment "Trying to free license used for the product" - DefVar $result$ - Set $result$ = FreeLicense($LicensePool$) - ; If there is an assignment of a license pool to the product, it is possible to use - ; Set $result$ = FreeLicense("", $ProductId$) - ; - ; If there is an assignment of a license pool to a windows software id, it is possible to use - ; DefVar $WindowsSoftwareId$ - ; $WindowsSoftwareId$ = "..." - ; set $result$ = FreeLicense("", "", $WindowsSoftwareId$) -else - LogError "Error: licensing required, but license management not enabled" - isFatalError -endif - +comment "License management is enabled and will be used" +comment "Trying to free license used for the product" +DefVar $result$ +Set $result$ = FreeLicense($LicensePool$) +; If there is an assignment of a license pool to the product, it is possible to use +; Set $result$ = FreeLicense("", $ProductId$) +; +; If there is an assignment of a license pool to a windows software id, it is possible to use +; DefVar $WindowsSoftwareId$ +; $WindowsSoftwareId$ = "..." +; set $result$ = FreeLicense("", "", $WindowsSoftwareId$) diff --git a/OPSI/changelog.txt b/OPSI/changelog.txt index e69de29..bc69317 100644 --- a/OPSI/changelog.txt +++ b/OPSI/changelog.txt @@ -0,0 +1,2 @@ +Don't add cahngelog entries here! +It get autogenerated by the opsi-builder.sh \ No newline at end of file diff --git a/OPSI/control b/OPSI/control index fcee4ea..09da3a0 100644 --- a/OPSI/control +++ b/OPSI/control @@ -1,17 +1,17 @@ [Package] -version: RELEASE +version: 2 depends: incremental: False [Product] type: localboot -id: adobe.acrobat7 -name: Adobe Acrobat 7 -description: Unter Adobe Acrobat wird eine Gruppe von Programmen zusammengefasst, die zum Erstellen, Verwalten, Kommentieren und Verteilen von PDF-Dateien verwendet werden. -advice: ADVICE -version: VERSION -priority: PRIORITY -licenseRequired: False +id: opsi-template +name: opsi template product +description: A template for opsi products +advice: +version: 4.0.2 +priority: 0 +licenseRequired: True productClasses: setupScript: setup32.ins uninstallScript: uninstall32.ins @@ -19,14 +19,12 @@ updateScript: alwaysScript: onceScript: customScript: -userLoginScript: +userLoginScript: + +[ProductDependency] +action: setup +requiredProduct: sereby.aio +requiredStatus: installed +requirementType: before -[ProductProperty] -type: unicode -name: install_architecture -multivalue: False -editable: False -description: which architecture (32/64 bit) has to be installed -values: ["32 only", "64 only", "both", "system specific"] -default: ["system specific"] diff --git a/PDF-Icon.jpg.sha1sum b/PDF-Icon.jpg.sha1sum new file mode 100644 index 0000000..8870c27 --- /dev/null +++ b/PDF-Icon.jpg.sha1sum @@ -0,0 +1 @@ +f1368d858b2ba39f72ce0c003ee76bcb53eb2f7c /home/mario/.opsi-dist-cache/adobe.acrobatpro7-7.1//PDF-Icon.jpg diff --git a/adobe_pdf_logo.jpg.sha1sum b/adobe_pdf_logo.jpg.sha1sum deleted file mode 100644 index 2ab9630..0000000 --- a/adobe_pdf_logo.jpg.sha1sum +++ /dev/null @@ -1 +0,0 @@ -54dec610f9fc4de5d7b3aea4b374a03806a78637 /home/mario/.opsi-dist-cache/adobe.acrobat-7-7.0//adobe_pdf_logo.jpg diff --git a/builder-product.cfg b/builder-product.cfg index 19a85c4..f1a17a3 100644 --- a/builder-product.cfg +++ b/builder-product.cfg @@ -2,25 +2,171 @@ # Setup product information ############################ VENDOR="adobe.com" -PN="adobe.acrobat7" -VERSION="7.0" +PN="adobe.acrobatpro8" +NAME="Adobe Acrobat Pro 8" +DESCRIPTION="Programmen zum zsammengefasst, Erstellen, Verwalten, Kommentieren und Verteilen von PDF-Dateien." +VERSION="8.3.1" RELEASE="3" PRIORITY="0" ADVICE="" # TYPE - defines, if the install files are public or restricted. # Valid value: restricted | public -TYPE="public" +TYPE="restricted" - -DL_FILE[0]="adobe_pdf_logo.jpg" -DL_SOURCE[0]="http://techielobang.com/blog/wp-content/uploads/2010/10/adobe_pdf_logo.jpg" +DL_FILE[0]="PDF-Icon.jpg" +DL_SOURCE[0]="http://www.womensgolf.org/wscga/images/PDF-Icon.jpg" -DL_FILE[1]="AcTR7EFG.exe" -DL_SOURCE[1]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/7x/7.0/misc/AcTR7EFG.exe" +DL_FILE[1]="APRO23_Win_ESD1_WWEFG.exe" +DL_SOURCE[1]="http://download.adobe.com/pub/adobe/magic/creativesuite/CS2_EOL/STEP/APRO23_Win_ESD1_WWEFG.exe" DL_ARCH[1]="X86" -DL_WINST_NAME[1]=InstallExe +DL_EXTRACT_FORMAT[1]="7zip" + +DL_FILE[2]="AcrobatUpd810_efgj_incr.msp" +DL_SOURCE[2]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.1/misc/AcrobatUpd810_efgj_incr.msp" +DL_ARCH[2]="X86" +DL_EXTRACT_FORMAT[2]="cp" + +DL_FILE[3]="AcrobatUpd811_all_incr.msp" +DL_SOURCE[3]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.1.1/misc/AcrobatUpd811_all_incr.msp" +DL_ARCH[3]="X86" +DL_EXTRACT_FORMAT[3]="cp" + +DL_FILE[4]="AcrobatUpd812_all_incr.msp" +DL_SOURCE[4]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.1.2/misc/AcrobatUpd812_all_incr.msp" +DL_ARCH[4]="X86" +DL_EXTRACT_FORMAT[4]="cp" + +DL_FILE[5]="AcrobatUpd813_all_incr.msp" +DL_SOURCE[5]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.1.3/misc/AcrobatUpd813_all_incr.msp" +DL_ARCH[5]="X86" +DL_EXTRACT_FORMAT[5]="cp" + +DL_FILE[6]="AcrobatUpd814_all_incr.msp" +DL_SOURCE[6]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.1.4/misc/AcrobatUpd814_all_incr.msp" +DL_ARCH[6]="X86" +DL_EXTRACT_FORMAT[6]="cp" + +DL_FILE[7]="AcrobatUpd815_all_incr.msp" +DL_SOURCE[7]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.1.5/misc/AcrobatUpd815_all_incr.msp" +DL_ARCH[7]="X86" +DL_EXTRACT_FORMAT[7]="cp" + +DL_FILE[8]="AcrobatUpd816_all_incr.msp" +DL_SOURCE[8]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.1.6/misc/AcrobatUpd816_all_incr.msp" +DL_ARCH[8]="X86" +DL_EXTRACT_FORMAT[8]="cp" + +DL_FILE[9]="AcrobatUpd817_all_incr.msp" +DL_SOURCE[9]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.1.7/misc/AcrobatUpd817_all_incr.msp" +DL_ARCH[9]="X86" +DL_EXTRACT_FORMAT[9]="cp" + +DL_FILE[10]="AcrobatUpd820_all_incr.msp" +DL_SOURCE[10]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.2/misc/AcrobatUpd820_all_incr.msp" +DL_ARCH[10]="X86" +DL_EXTRACT_FORMAT[10]="cp" + +DL_FILE[11]="AcrobatUpd821_all_incr.msp" +DL_SOURCE[11]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.2.1/misc/AcrobatUpd821_all_incr.msp" +DL_ARCH[11]="X86" +DL_EXTRACT_FORMAT[11]="cp" + +DL_FILE[12]="AcrobatUpd822_all_incr.msp" +DL_SOURCE[12]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.2.2/misc/AcrobatUpd822_all_incr.msp" +DL_ARCH[12]="X86" +DL_EXTRACT_FORMAT[12]="cp" + +DL_FILE[13]="AcrobatUpd823_all_incr.msp" +DL_SOURCE[13]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.2.3/misc/AcrobatUpd823_all_incr.msp" +DL_ARCH[13]="X86" +DL_EXTRACT_FORMAT[13]="cp" + +DL_FILE[14]="AcrobatUpd824_all_incr.msp" +DL_SOURCE[14]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.2.4/misc/AcrobatUpd824_all_incr.msp" +DL_ARCH[14]="X86" +DL_EXTRACT_FORMAT[14]="cp" + +DL_FILE[15]="AcrobatUpd825_all_incr.msp" +DL_SOURCE[15]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.2.5/misc/AcrobatUpd825_all_incr.msp" +DL_ARCH[15]="X86" +DL_EXTRACT_FORMAT[15]="cp" + +DL_FILE[16]="AcrobatUpd826_all_incr.msp" +DL_SOURCE[16]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.2.6/misc/AcrobatUpd826_all_incr.msp" +DL_ARCH[16]="X86" +DL_EXTRACT_FORMAT[16]="cp" + +DL_FILE[17]="AcrobatUpd830_all_incr.msp" +DL_SOURCE[17]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.3.0/misc/AcrobatUpd830_all_incr.msp" +DL_ARCH[17]="X86" +DL_EXTRACT_FORMAT[17]="cp" + +DL_FILE[18]="AcrobatUpd831_all_incr.msp" +DL_SOURCE[18]="ftp://ftp.adobe.com/pub/adobe/acrobat/win/8.x/8.3.1/misc/AcrobatUpd831_all_incr.msp" +DL_ARCH[18]="X86" +DL_EXTRACT_FORMAT[18]="cp" # File array index for the image showing while installing the program ICON_DL_INDEX=0 +WINST_NAME[0]="Install80Msi" +WINST_VALUE[0]="@DL_EXTRACT_WINST_PATH[1]@\\Adobe Acrobat 8 Professional\\AcroPro.msi" + +WINST_NAME[1]="Install810Msp" +WINST_VALUE[1]="@DL_EXTRACT_WINST_PATH[2]@\\AcrobatUpd810_efgj_incr.msp" + +WINST_NAME[2]="Install811Msp" +WINST_VALUE[2]="@DL_EXTRACT_WINST_PATH[3]@\\AcrobatUpd811_all_incr.msp" + +WINST_NAME[3]="Install812Msp" +WINST_VALUE[3]="@DL_EXTRACT_WINST_PATH[3]@\\AcrobatUpd812_all_incr.msp" + +WINST_NAME[4]="Install813Msp" +WINST_VALUE[4]="@DL_EXTRACT_WINST_PATH[3]@\\AcrobatUpd813_all_incr.msp" + +WINST_NAME[5]="Install814Msp" +WINST_VALUE[5]="@DL_EXTRACT_WINST_PATH[3]@\\AcrobatUpd814_all_incr.msp" + +WINST_NAME[6]="Install815Msp" +WINST_VALUE[6]="@DL_EXTRACT_WINST_PATH[3]@\\AcrobatUpd815_all_incr.msp" + +WINST_NAME[7]="Install816Msp" +WINST_VALUE[7]="@DL_EXTRACT_WINST_PATH[3]@\\AcrobatUpd816_all_incr.msp" + +WINST_NAME[8]="Install817Msp" +WINST_VALUE[8]="@DL_EXTRACT_WINST_PATH[3]@\\AcrobatUpd817_all_incr.msp" + +WINST_NAME[9]="Install820Msp" +WINST_VALUE[9]="@DL_EXTRACT_WINST_PATH[3]@\\AcrobatUpd820_all_incr.msp" + +WINST_NAME[10]="Install821Msp" +WINST_VALUE[10]="@DL_EXTRACT_WINST_PATH[3]@\\AcrobatUpd821_all_incr.msp" + +WINST_NAME[11]="Install822Msp" +WINST_VALUE[11]="@DL_EXTRACT_WINST_PATH[3]@\\AcrobatUpd822_all_incr.msp" + +WINST_NAME[12]="Install823Msp" +WINST_VALUE[12]="@DL_EXTRACT_WINST_PATH[3]@\\AcrobatUpd823_all_incr.msp" + +WINST_NAME[13]="Install824Msp" +WINST_VALUE[13]="@DL_EXTRACT_WINST_PATH[3]@\\AcrobatUpd824_all_incr.msp" + +WINST_NAME[14]="Install825Msp" +WINST_VALUE[14]="@DL_EXTRACT_WINST_PATH[3]@\\AcrobatUpd825_all_incr.msp" + +WINST_NAME[15]="Install826Msp" +WINST_VALUE[15]="@DL_EXTRACT_WINST_PATH[3]@\\AcrobatUpd826_all_incr.msp" + +WINST_NAME[16]="Install830Msp" +WINST_VALUE[16]="@DL_EXTRACT_WINST_PATH[3]@\\AcrobatUpd830_all_incr.msp" + +WINST_NAME[17]="Install831Msp" +WINST_VALUE[17]="@DL_EXTRACT_WINST_PATH[3]@\\AcrobatUpd831_all_incr.msp" + +WINST_NAME[18]="Install80Path" +WINST_VALUE[18]="@DL_EXTRACT_WINST_PATH[1]@\\Adobe Acrobat 8 Professional" + +OPSI_INI_SECTION[0]="X86" +OPSI_INI_OPTION[0]="MsiId" +OPSI_INI_VALUE[0]="{AC76BA86-1033-F400-7760-100000000002}"