Changes

Jump to: navigation, search

Adobe Reader 8

7,710 bytes removed, 14:45, 7 April 2015
version veraltet und auf neuer Seite zusammengefasst
This is a silent installer for Adobe Reader.<br>For new Version see #REDIRECT [[Adobe_Reader]]  <source lang="xml"><?xml version="1.0" encoding="UTF-8"?><!-- Download from ftp://ftp.adobe.com/pub/adobe/reader/win/8.x/8.2/enu/AdbeRdr820_en_US.msiftp://ftp.adobe.com/pub/adobe/reader/win/8.x/8.2.1/misc/AdbeRdrUpd821_all_incr.mspftp://ftp.adobe.com/pub/adobe/reader/win/8.x/8.2.2/misc/AdbeRdrUpd822_all_incr.mspftp://ftp.adobe.com/pub/adobe/reader/win/8.x/8.2.3/misc/AdbeRdrUpd823_all_incr.msp--> <packages>  <package id="adobereader8" name="Acrobat Reader8" revision="823" reboot="false" priority="10"> <check type="uninstall" condition="exists" path="Adobe Reader 8.2.3" /> <install cmd='cscript.exe %SOFTWARE%\Acrobat\removeOldVersions.vbs' /> <install cmd='msiexec /q /i "%SOFTWARE%\adobereader\AdbeRdr820_en_US.msi" allusers=1' /> <install cmd='msiexec /qn /p "%SOFTWARE%\adobereader\AdbeRdrUpd821_all_incr.msp" REINSTALL=ALL REINSTALLMODE=omus' /> <install cmd='msiexec /qn /p "%SOFTWARE%\adobereader\AdbeRdrUpd822_all_incr.msp" REINSTALL=ALL REINSTALLMODE=omus' /> <install cmd='msiexec /qn /p "%SOFTWARE%\adobereader\AdbeRdrUpd823_all_incr.msp" REINSTALL=ALL REINSTALLMODE=omus' /> <upgrade cmd='msiexec /q /i "%SOFTWARE%\adobereader\AdbeRdr820_en_US.msi" allusers=1' /> <upgrade cmd='msiexec /qn /p "%SOFTWARE%\adobereader\AdbeRdrUpd821_all_incr.msp" REINSTALL=ALL REINSTALLMODE=omus' /> <upgrade cmd='msiexec /qn /p "%SOFTWARE%\adobereader\AdbeRdrUpd822_all_incr.msp" REINSTALL=ALL REINSTALLMODE=omus' /> <upgrade cmd='msiexec /qn /p "%SOFTWARE%\adobereader\AdbeRdrUpd823_all_incr.msp" REINSTALL=ALL REINSTALLMODE=omus' /> <remove cmd='MsiExec.exe /q /x{AC76BA86-7AD7-1033-7B44-A82000000003}' /> </package> </packages> </source> Exit code 3010 means "reboot"; see the corresponding reboot flag. In the 'remove' section, change the third part of the alphanumeric chain (i.e. the '1033' in 'AC76BA86-7AD7-1033-7B44-A70500000002') into the correct locale ID (LCID) / National Language Support (NLS) code, for example:* Chinese (Traditional): 1028* German: 1031* English (US): 1033* French: 1036* Japanese: 1041* Korean: 1042* Dutch: 1043* Polish: 1045* Chinese (Simplified): 2052* Italian: 1040  There is a list of locale IDs at http://www.microsoft.com/globaldev/reference/lcid-all.mspx.  Alternatively, use the following remove command.<source lang="xml"> <remove cmd='msiexec /q /x "%SOFTWARE%\adobereader\AdbeRdr813_en_US.msi" allusers=1' /></source> == Solving "Error 1406" when upgrading from 7.0.9 to 8.0.0 == Upgrading 7.0.9 to 8.0.0 (either by wpkg script or by hand) could trigger "Error 1406" condition, because of wrong permissions and ownership set on a couple of registry keys, probably left there by the 7.0.x to 7.0.9 updater. In order to update successfully we had to first correct ownership and permissions with the following script, executed as install cmd immediately before the "msiexec /i" install cmd in the "Adobe Reader8" stanza. The script, %SOFTWARE%\ResKit\ResetPDFregkey.cmd, contains the following lines: <source lang="dos">subinacl.exe /subkeyreg HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pdf\PersistentHandler /setowner=Administratorssubinacl.exe /subkeyreg HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pdf\PersistentHandler /grant=administrators=fsubinacl.exe /subkeyreg HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pdf\PersistentHandler /grant=system=fsubinacl.exe /subkeyreg HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B801CA65-A1FC-11D0-85AD-444553540000}\PersistentHandler /setowner=Administratorssubinacl.exe /subkeyreg HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B801CA65-A1FC-11D0-85AD-444553540000}\PersistentHandler /grant=administrators=fsubinacl.exe /subkeyreg HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B801CA65-A1FC-11D0-85AD-444553540000}\PersistentHandler /grant=system=f</source> The executable subinacl.exe is part of the Windows Resource Kit, it is used to query and modify security informations on files, registry keys, services. Please do not deploy it without testing. == Alternate version: == <source lang="xml"><package id="acrobat" name="Adobe Reader" revision="8000" priority="3" reboot="false"><!--<download lang="ENU" url='http://ardownload.adobe.com/pub/adobe/reader/win/8.x/8.0/enu/AdbeRdr80_en_US.exe' saveto="%SOFTWARE%\Acrobat\8.0.0\AdbeRdr80_en_US.exe" /> --> <check type="uninstall" condition="exists" path="Adobe Reader 8" /> <install cmd='cscript.exe %SOFTWARE%\Acrobat\removeOldVersions.vbs' /> <install cmd='%SOFTWARE%\Acrobat\8.0.0\AdbeRdr80_en_US.exe /sPB /rs /l /msi"/qb-! /norestart /log c:\acrobat8.log ALLUSERS=2 EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES"' /> <install cmd='cmd /d /c del /q /f "%ALLUSERSPROFILE%\Start Menu\Programs\Startup"\*.lnk' /> <install cmd='regedit /s "%SOFTWARE%\Acrobat\8.0.0\registryMods.reg"' /> <remove cmd="MsiExec.exe /q /x{AC76BA86-7AD7-1036-7B44-A70500000002}" /> <upgrade cmd='%SOFTWARE%\Acrobat\8.0.0\AdbeRdr80_en_US.exe /sPB /rs /l /msi"/qb-! /norestart /log c:\acrobat8.log ALLUSERS=2 EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES"' /> <depends package-id="firefox" /> </package></source> registryMods.reg (Registy settings to disable annoyances {Downtown, Updater, EULA, etc} ): <source lang="reg">Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Adobe\Acrobat Reader\8.0\Downtown]"bDontShowAtLaunch"=dword:1"bGoOnline"=dword:0 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat Reader\8.0\FeatureLockdown]"bUpdater"=dword:00000000"bShowEbookMenu"=dword:00000000"bPurchaseAcro"=dword:00000000"bCreatePDFOnline"=dword:00000000"bBrowserIntegration"=dword:00000000</source> removeOldVersions.vbs (remove acrobat versions 3,4 and 5. These aren't removed by Acrobat 8)<source lang="vb">Set objShell = CreateObject("Wscript.Shell")WinDir = objShell.ExpandEnvironmentStrings("%WinDir%") sCmd1 = "C:\" & WinDir & "\ISUNINST.EXE -y -a" _& " -f""C:\Program Files\Common Files\Adobe\Acrobat 5.0\NT\Uninst.isu"""sCmd2 = "C:\" & WinDir & "\ISUNINST.EXE -y -a" _& " -f""C:\Program Files\Common Files\Adobe\Acrobat 4.0\NT\Uninst.isu"""sCmd3 = "C:\" & WinDir & "\UNINST.EXE -y -a" _& " -f""C:\Acrobat3\Reader\DeIsL1.isu""" If RegKeyExists("HKLM\Software\Adobe\Acrobat Reader\5.0\") ThenobjShell.Run sCmd1End If If RegKeyExists("HKLM\Software\Adobe\Adobe Reader\4.0\") ThenobjShell.Run sCmd2End if If RegKeyExists("HKLM\Software\Adobe\Adobe Reader 3.1\") ThenobjShell.Run sCmd3End If Function RegValueExists(sRegValue) ' Returns True or False based of the existence of a registry value. Dim oShell, RegReadReturn Set oShell = CreateObject("WScript.Shell") RegValueExists = True ' init value On Error Resume Next RegReadReturn = oShell.RegRead(sRegValue) If Err.Number <> 0 Then RegValueExists = False End if On Error Goto 0End Function  Function RegKeyExists(ByVal sRegKey) ' Returns True or False based on the existence of a registry key.  Dim sDescription, oShell Set oShell = CreateObject("WScript.Shell")  RegKeyExists = True sRegKey = Trim (sRegKey) If Not Right(sRegKey, 1) = "\" Then sRegKey = sRegKey & "\" End If  On Error Resume Next oShell.RegRead "HKEYNotAKey\" sDescription = Replace(Err.Description, "HKEYNotAKey\", "")  Err.Clear oShell.RegRead sRegKey RegKeyExists = sDescription <> Replace(Err.Description, sRegKey, "") On Error Goto 0End Function</source>See also [[Adobe_Reader]] [[Category:Silent Installers]][[Category:Adobe software]]
84
edits

Navigation menu