Changes

Jump to: navigation, search

PDF X-Change Viewer

2,298 bytes added, 10:06, 14 January 2011
no edit summary
See the help file topic "Silent installation" for more information about various switches.
 
This is an amended version of the original package further below which uses both the 32bit and 64bit installers and exit codes appropriately to bypass the incompatabilities of each with the other OS. The install checks are also accurate as well. I have used this so I can use one package on 32bit XP and 64bit Windows 7.
 
<source lang="xml">
<package id="pdfxchange"
name="PDF Xchange Viewer"
revision="2.5.191"
reboot="false"
priority="20" >
<check type="uninstall" condition="exists" path="PDF-XChange Viewer" />
<check type="logical" condition="or">
<check type="registry" condition="equals" path="HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{2AE7F8F4-BFD5-4811-9B4D-15CDC6B7F424}\DisplayVersion" value="2.5.191.0" />
<check type="registry" condition="equals" path="HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{59BDB81E-9BB8-476E-A0A4-EE053A7FCBCB}\DisplayVersion" value="2.5.191.0" />
</check>
<install cmd='msiexec.exe /i %SOFTWARE%\pdfxchangeviewer\PXCViewer_x86.2.5.191.msi ADDLOCAL="F_Viewer,F_Help_Viewer,F_ShellExt" VIEWER_IN_BROWSERS="0" SET_VIEWER_AS_DEFAULT="0" /qn ' >
<exit code='1633'/>
<exit code='1603'/>
</install>
<install cmd='msiexec.exe /i %SOFTWARE%\pdfxchangeviewer\PXCViewer_x64.2.5.191.msi ADDLOCAL="F_Viewer,F_Help_Viewer,F_ShellExt" VIEWER_IN_BROWSERS="0" SET_VIEWER_AS_DEFAULT="0" /qn ' >
<exit code='1633'/>
</install>
<upgrade cmd='msiexec.exe /i %SOFTWARE%\pdfxchangeviewer\PXCViewer_x86.2.5.191.msi ADDLOCAL="F_Viewer,F_Help_Viewer,F_ShellExt" VIEWER_IN_BROWSERS="0" SET_VIEWER_AS_DEFAULT="0" /qn ' >
<exit code='1633'/>
<exit code='1603'/>
</upgrade>
<upgrade cmd='msiexec.exe /i %SOFTWARE%\pdfxchangeviewer\PXCViewer_x64.2.5.191.msi ADDLOCAL="F_Viewer,F_Help_Viewer,F_ShellExt" VIEWER_IN_BROWSERS="0" SET_VIEWER_AS_DEFAULT="0" /qn ' >
<exit code='1633'/>
</upgrade>
<remove cmd='msiexec.exe /x{2AE7F8F4-BFD5-4811-9B4D-15CDC6B7F424} /qn ' >
<exit code='1605'/>
</remove>
<remove cmd='msiexec.exe /x{59BDB81E-9BB8-476E-A0A4-EE053A7FCBCB} /qn ' >
<exit code='1605'/>
</remove>
</package>
</source>
 
<source lang="xml">
76
edits

Navigation menu