Changes

Jump to: navigation, search

SumatraPDF

392 bytes added, 14:55, 16 May 2020
Version 3.1.2
Sumatra PDF home: http://blog.kowalczyk.info/software/sumatrapdf/
== Version 3.1.2 ==  - Add x64 installation
- From version 3.2 /opt and /register are deprecated.
<source lang="xml">
<package
id="sumatrapdf" name="Sumatra PDF Reader" revision="%versionPKG_VERSION%" priority reboot="1false" reboot priority="false0"> <variable name="versionPKG_VERSION" value="3.1.2" />  <check typevariable name="uninstallPKG_SOURCE" condition="exists" path value="%SOFTWARE%\SumatraPDF" />  <!-- /register to link the PDF extension with SumatraPDF --> <install cmdvariable name="PKG_NAME" value='"%SOFTWARE%\sumatrapdf\SumatraPDF-%VERSIONPKG_VERSION%-install.exe" /s /register' architecture="x86" /> <install cmdvariable name="PKG_NAME" value='"%SOFTWARE%\sumatrapdf\SumatraPDF-%VERSIONPKG_VERSION%-64-install.exe" /s /register' architecture="x64" /> <variable name="PKG_INSTALL_SWITCH" value="/s /with-filter /with-preview" /> <upgrade includevariable name="installPKG_REMOVE_SWITCH" value="/S" />  <remove cmdvariable name="PKG_DESTINATION" value='"%PROGRAMFILES%\SumatraPDF\uninstall.exe" /S' />
<check type="uninstall" condition="versiongreaterorequal" path="SumatraPDF" value="%PKG_VERSION%" />
<install cmd='"%PKG_SOURCE%\%PKG_NAME%" %PKG_INSTALL_SWITCH%' />
<upgrade include="install" />
<remove cmd='"%PKG_DESTINATION%\Uninstall.exe" %PKG_REMOVE_SWITCH%'>
<exit code="any"/>
</remove>
<remove cmd='ping -n 3 127.0.0.1'>
<exit code="any"/>
</remove>
</package>
</source>
74
edits

Navigation menu