From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

This is a silent installer and uninstaller for PeaZip. Remember to replace the the version number (4.9.2) with whatever version you are deploying as well as the paths to the installer. If you prefer the native 64 bit version, replace "WINDOWS" string with "WIN64" in installer name (note: only for 64 bit systems).

Please note that PeaZip installers for Windows are released in partnership with OpenCandy, offering optional sponsored software installation. If you don't want any sponsored offer you must download the "plain" version from [1]

    name='PeaZip 4.9.2'
    reboot='false' >
    <variable name="version" value="4.9.2" />
    <check type='uninstall' condition='exists' path='PeaZip %version%' />
    <install cmd='"%SOFTWARE%\PeaZip\peazip-%version%.WINDOWS.exe" /SP- /VERYSILENT' >
        <exit code='0' />
    <upgrade cmd='"%SOFTWARE%\PeaZip\peazip-%version%.WINDOWS.exe" /SP- /VERYSILENT' >
        <exit code='0' />
    <remove cmd='"%PROGRAMFILES%\PeaZip\unins000.exe" /VERYSILENT' >
        <exit code='0' />