Difference between revisions of "InfraRecorder"
From WPKG | Open Source Software Deployment and Distribution
(→Package for version 0.53 64Bit) |
|||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
Silent installer for InfraRecorder. | Silent installer for InfraRecorder. | ||
− | [http://infrarecorder.sourceforge.net/ InfraRecorder] is a free GPL'd | + | [http://infrarecorder.sourceforge.net/ InfraRecorder] is a free GPL'd CD burner for Windows. |
+ | |||
+ | == Package for version 0.53 32Bit == | ||
<source lang="xml"> | <source lang="xml"> | ||
− | + | <package id="infrarecorder" name="InfraRecorder" revision="053" reboot="false" priority="1"> | |
− | + | <variable name="version" value="053" /> | |
− | <package | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <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> | ||
+ | </source> | ||
+ | |||
+ | == Package for version 0.53 64Bit== | ||
+ | <source lang="xml"> | ||
+ | <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> | </package> | ||
− | |||
</source> | </source> | ||
[[category:Silent Installers]] | [[category:Silent Installers]] |
Latest revision as of 15:38, 22 June 2013
Silent installer for InfraRecorder.
InfraRecorder is a free GPL'd CD burner for Windows.
Package for version 0.53 32Bit
<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
<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>