==Foxit Reader==
===Foxit Reader 6.0 Series (German) === ====Requirements ==== * Foxit Reader 6.0.5.0618 MSI (software is in englishI created this a while back, but we will change that)http://cdn04.foxitsoftware.com/pub/foxit/reader/desktop/win/6.x/6.0/enu/EnterpriseFoxitReader605.0618_enu.msi * working robocopy on the client (you can change manually to xcopy or whatever)* lang_de_de.xml from http://languages.foxitsoftware.com/ ====Foxit Reader 6 Base Package ==== * This package installs the base software* Place the msi on your wpkg server* create directory /lang/de_de on the wpkg server and put the lang_de_de.xml in it <source lang="xml"><?xml version="1.0" encoding="UTF-8"?> <packages> <package id="foxitreader" name="Foxit Reader" revision="6" reboot="postponed" priority="6"> <chain package-id="foxitreader_conf" /> <variable name="version" value="6.0.5.0618" /> <check type="uninstall" condition="versiongreaterorequal" path="Foxit Reader" value="%version%" /> <!-- remove old versions --> <install cmd='MsiExec /x {6EF953B4-DB16-4E59-87CF-B61783DE6988} /passive /norestart /qn'> <!-- 3.0.2008.1120 --> <exit code='0' /><exit code='1605' /></install> <install cmd='MsiExec /x {62DC441E-0FD3-4606-9D9B-90FE325B29E5} /passive /norestart /qn'> <exit code='0' /><exit code='1605' /></install> <install cmd='MsiExec /x {A9355F41-AE6C-487C-A6A9-BC348D836F43} /passive /norestart /qn'> <exit code='0' /><exit code='1605' /></install> <install cmd='MsiExec /x {576CDB8F-98CA-4B0A-942C-EE60F6147931} /passive /norestart /qn'> <exit code='0' /><exit code='1605' /></install> <install cmd='MsiExec /x {8CA32D58-3DDB-4BB9-8108-218FF73CFF47} /passive /norestart /qn'> <exit code='0' /><exit code='1605' /></install> <install cmd='MsiExec /x {E52C258D-DCF6-411B-B690-06DAC5009F37} /passive /norestart /qn'> <exit code='0' /><exit code='1605' /></install> <install cmd='MsiExec /x {68205FFB-5918-43D4-B0D4-131DE9282046} /passive /norestart /qn'> <!-- 5.0.2.718 --> <exit code='0' /><exit code='1605' /></install> <install cmd='MsiExec /x {BB5B5E16-45EA-4F4E-9977-10BF95CBEA1C} /passive /norestart /qn'> <!-- 5.1.1.1111 --> <exit code='0' /><exit code='1605' /></install> <install cmd='msiexec /x {9507C52B-E482-4914-85A6-D4786ADD3512} /passive /norestart /qn' > <!-- 5.1.4.104 --> <exit code='0' /><exit code='1605' /></install> <install cmd='msiexec /x {9507C52B-E482-4914-85A6-D4786ADD3512} /passive /norestart /qn' > <!-- 5.1.4.104 --> <exit code='0' /><exit code='1605' /></install> <install cmd='msiexec /x {BB5B5E16-45EA-4F4E-9977-10BF95CBEA1C} /passive /norestart /qn' > <!-- 5.3.1.0606 --> <exit code='0' /><exit code='1605' /></install> <install cmd='MsiExec /x {B961CEE2-3519-424E-80C3-D7BB3DA2688F} /passive /norestart /qn' > <!-- 5.4.2.XXX --> <exit code='0' /><exit code='1605' /></install> <install cmd='MsiExec.exe /x {F9F7B3DB-5956-47E8-B902-A1376BFF24EA} /passive /norestart /qn' > <!-- 5.4.2.901 --> <exit code='0' /><exit code='1605' /></install> <install cmd='MsiExec.exe /x {1CDE749F-92B1-43BA-B4EA-B28F53A586B8} /passive /norestart /qn' > <!-- 5.4.5.0114 --> <exit code='0' /><exit code='1605' /></install> <!-- remove old not-enterprise installations (exe) on 32 Bit Clients --> <install cmd='%COMSPEC% /C if exist "%ProgramFiles%\Foxit Software\Foxit Reader\unins000.exe" "%ProgramFiles%\Foxit Software\Foxit Reader\unins000.exe" /silent'></install> <!-- remove old not-enterprise installations (exe) on 64 Bit Clients --> <install cmd='%COMSPEC% /C if exist "%ProgramFiles(x86)%\Foxit Software\Foxit Reader\unins000.exe" "%ProgramFiles(x86)%\Foxit Software\Foxit Reader\unins000.exe" /silent'></install> <!-- remove old not-enterprise 4.X installations--> <install cmd='%COMSPEC% /C if exist "%ProgramFiles%\Foxit Software\Foxit Reader\uninstall.exe" "%ProgramFiles%\Foxit Software\Foxit Reader\uninstall.exe" /u'></install> <!-- silent Installation --> <install cmd='msiexec /i "%SOFTWARE%\foxitreader\EnterpriseFoxitReader605.0618_enu.msi" DESKTOP_SHORTCUT="0" MAKEDEFAULT="0" VIEWINBROWSER="0" /passive /norestart /qn' /> <!-- if directory lang in the foxit reader installation is present, erase it --> <!-- 32 Bit --> <install cmd='%ComSpec% /c if exist "%ProgramFiles%\Foxit Software\Foxit Reader\lang" del /f /q "%ProgramFiles%\Foxit Software\Foxit Reader\lang"' ><exit code="1"/></install> <!-- 64 Bit --> <install cmd='%ComSpec% /c if exist "%ProgramFiles(x86)%\Foxit Software\Foxit Reader\lang" del /f /q "%ProgramFiles(x86)%\Foxit Software\Foxit Reader\lang"' ><exit code="1"/></install> <!-- copy directory "lang" and its contents in the foxit reader directory --> <!-- 32 Bit --> <install cmd='%COMSPEC% /c if exist "%ProgramFiles%\Foxit Software\Foxit Reader" robocopy "%software%\foxitreader\lang\de_de" "%ProgramFiles%\Foxit Software\Foxit Reader\lang\de_de" /NP '> <exit code='0' /> <exit code='1' /> <exit code='2' /> <exit code='3' /> </install> <!-- 64 Bit --> <install cmd='%COMSPEC% /c if exist "%ProgramFiles(x86)%\Foxit Software\Foxit Reader" robocopy "%software%\foxitreader\lang\de_de" "%ProgramFiles(x86)%\Foxit Software\Foxit Reader\lang\de_de" /NP '> <exit code='0' /> <exit code='1' /> <exit code='2' /> <exit code='3' /> </install> <upgrade include="install" /> <remove cmd='MsiExec.exe /x {20F0A5C3-46A5-4BD6-B5B5-5E6C7CBF8D72} /passive /norestart /qn' > <!-- 5.4.2.901 --> <exit code='0' /><exit code='1605' /></remove> </package> </packages> </source> ====Foxit Reader 6 Configuration package (disable autoupdate, set language to german) ==== * this package sets the language to german and disables the autoupdate* we need to change the HKCU registry. Look here for more details how this works: http://wpkg.org/Adding_Registry_Settings* create a foxit_regkeys.reg with the following contents and place it on your wpkg server* Here is a screenshot of the final structure of the package on the wpkg server: http://www.bilderhoster.net/ccbxyrlc.jpg.html Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Foxit Software\Foxit Reader 6.0\plugins\Updater] "UpdateMode"="0" [HKEY_CURRENT_USER\Software\Foxit Software\Foxit Reader 6.0\Preferences\Languages] "langid"="49116d" <source lang="xml"><?xml version="1.0" encoding="UTF-8"?> <packages> <package id="foxitreader_conf" name="Foxit Reader Configuration" revision="1" priority="1" execute="always"> <!-- Foxit Reader Reg File --> <variable name="regkeys" value='regedit /s "%SOFTWARE%\foxitreader\foxit_regkeys.reg"'/> <!-- Foxit Reader Autoupdate deaktivieren, Sprache auf Deutsch --> <install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgFoxitReaderRegkeys" /v "Version" /d "1" /t REG_SZ /f' /> <install cmd='reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\wpkgFoxitReaderRegkeys" /v "StubPath" /d "%regkeys%" /f'/> </package> </packages> </source> doenst work
=== Foxit Reader 5.4 Series (English) ===