InfraRecorder

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

Silent installer for InfraRecorder.

InfraRecorder is a free GPL'd CD burner for Windows.

Package for version 0.53 32Bit[edit]

<package id="infrarecorder" name="InfraRecorder" revision="053" reboot="false" priority="1">
    <variable name="version" value="053" />

    <check type="uninstall" condition="exists" path="InfraRecorder" />
    <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\InfraRecorder\InfraRecorder.exe" value="0.53.0.0" />

    <install cmd='"%SOFTWARE%\infrarecorder\ir%version%.exe" /S' />
    <install cmd='%COMSPEC% /c if exist "AllUserProfile%\Desktop\InfraRecorder.lnk" del /q "%AllUserProfile%\Desktop\InfraRecorder.lnk"' >
      <exit code="any" />
    </install>

    <upgrade include="install" />

    <remove cmd='"%ProgramFiles%\InfraRecorder\Uninstall.exe" /S' />
    <!-- The uninstaller doesn't remove the shortcuts. replace "Start Menu\Programs" by the language specific string -->
    <remove cmd='%COMSPEC% /c rmdir /q /s "%AllUsersProfile%\Start Menu\Programs\InfraRecorder"' />
</package>

Package for version 0.53 64Bit[edit]

<package id='infrarecorder-x64' name='InfraRecorder x64' revision='053' reboot='false' priority='1'>
    <check type='uninstall' condition='exists' path='InfraRecorder 0.53 (x64 edition)' />
    <check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\InfraRecorder\InfraRecorder.exe' value='0.53.0.0' />

    <install cmd='msiexec.exe /i "%SOFTWARE%\infrarecorder\ir053_x64.msi" /passive /norestart' timeout='300'>
        <exit code='0' />
        <exit code='3010' reboot='postponed' />
    </install>

    <upgrade cmd='msiexec.exe /i "%SOFTWARE%\infrarecorder\ir053_x64.msi" /passive /norestart' timeout='300'>
        <exit code='0' />
        <exit code='3010' reboot='postponed' />
    </upgrade>

    <remove cmd='msiexec.exe /x{2C22EA92-CB30-4932-0053-000001000000} /passive /norestart' timeout='300'>
        <exit code='0' />
        <exit code='1605' />
        <exit code='3010' reboot='postponed' />
    </remove>
</package>