Difference between revisions of "InfraRecorder"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 14: Line 14:
  
 
     <check type="uninstall" condition="exists" path="InfraRecorder" />
 
     <check type="uninstall" condition="exists" path="InfraRecorder" />
     <check type="file" condition="versionequalto" path="%PROGRAMFILES%\InfraRecorder\InfraRecorder.exe" value="0.5.0.0" />
+
     <check type="file" condition="versionequalto" path="%PROGRAMFILES%\InfraRecorder\InfraRecorder.exe" value="0.50.0.0" />
  
 
     <install cmd='"%SOFTWARE%\infrarecorder\ir050.exe" /S' />
 
     <install cmd='"%SOFTWARE%\infrarecorder\ir050.exe" /S' />

Revision as of 17:29, 24 September 2009

Silent installer for InfraRecorder.

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

<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
    id="infrarecorder"
    name="InfraRecorder"
    revision="0.50"
    reboot="false"
    priority="10">

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

    <install cmd='"%SOFTWARE%\infrarecorder\ir050.exe" /S' />
    <install cmd='cmd /c del /q /s "%AllUsersProfile%\Desktop\InfraRecorder.lnk"'><exit code="1" /></install>
    <install cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\InfraRecorder\InfraRecorder Help.lnk"'><exit code="1" /></install>
    <install cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\InfraRecorder\Uninstall.lnk"'><exit code="1" /></install>

    <upgrade cmd='"%SOFTWARE%\infrarecorder\ir050.exe" /S' />
    <upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Desktop\InfraRecorder.lnk"'><exit code="1" /></upgrade>
    <upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\InfraRecorder\InfraRecorder Help.lnk"'><exit code="1" /></upgrade>
    <upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Start Menu\Programs\InfraRecorder\Uninstall.lnk"'><exit code="1" /></upgrade>

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