Difference between revisions of "InfraRecorder"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(updated to 0.51, added 64bit package)
Line 1: Line 1:
 
Silent installer for InfraRecorder.
 
Silent installer for InfraRecorder.
  
[http://infrarecorder.sourceforge.net/ InfraRecorder] is a free GPL'd cd burner for Windows.
+
[http://infrarecorder.sourceforge.net/ InfraRecorder] is a free GPL'd CD burner for Windows.
  
<source lang="xml">
+
== Package for version 0.51 32Bit ==
<?xml version="1.0" encoding="UTF-8"?>
+
<packages>
+
<package
+
    id="infrarecorder"
+
    name="InfraRecorder"
+
    revision="0.50"
+
    reboot="false"
+
    priority="10">
+
  
 +
<source lang="xml">
 +
<package id="infrarecorder" name="InfraRecorder" revision="051" reboot="false" priority="1">
 
     <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.50.0.0" />
+
     <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\InfraRecorder\InfraRecorder.exe" value="0.51.0.0" />
  
     <install cmd='"%SOFTWARE%\infrarecorder\ir050.exe" /S' />
+
     <install cmd='"%SOFTWARE%\infrarecorder\ir051.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%\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='"%SOFTWARE%\infrarecorder\ir051.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%\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' />
 
     <remove cmd='"%ProgramFiles%\InfraRecorder\Uninstall.exe" /S' />
     <!-- The uninstaller doesn't remove the shortcuts... -->
+
     <!-- The uninstaller doesn't remove the shortcuts. replace "Start Menu\Programs" by the language specific string -->
     <remove cmd='cmd /c rmdir /q /s "%AllUsersProfile%\Start Menu\Programs\InfraRecorder"' />
+
     <remove cmd='%COMSPEC% /c rmdir /q /s "%AllUsersProfile%\Start Menu\Programs\InfraRecorder"' />
 +
</package>
 +
</source>
 +
 
 +
== Package for version 0.51 64Bit==
 +
<source lang="xml">
 +
<package id='infrarecorder-x64' name='InfraRecorder x64' revision='051' reboot='false' priority='1'>
 +
    <check type='uninstall' condition='exists' path='InfraRecorder 0.51 (x64 edition)' />
 +
    <check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\InfraRecorder\InfraRecorder.exe' value='0.51.0.0' />
 +
 
 +
    <install cmd='msiexec.exe /i "%SOFTWARE%\infrarecorder\ir051_x64.msi" /passive /norestart' timeout='300'>
 +
        <exit code='0' />
 +
        <exit code='3010' reboot='postponed' />
 +
    </install>
 +
 
 +
    <upgrade cmd='msiexec.exe /i "%SOFTWARE%\infrarecorder\ir051_x64.msi" /passive /norestart' timeout='300'>
 +
        <exit code='0' />
 +
        <exit code='3010' reboot='postponed' />
 +
    </upgrade>
 +
 
 +
    <remove cmd='msiexec.exe /x{2C22EA92-CB30-4932-0051-000001000000} /passive /norestart' timeout='300'>
 +
        <exit code='0' />
 +
        <exit code='1605' />
 +
        <exit code='3010' reboot='postponed' />
 +
    </remove>
 
</package>
 
</package>
</packages>
 
 
</source>
 
</source>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Revision as of 11:11, 16 August 2010

Silent installer for InfraRecorder.

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

Package for version 0.51 32Bit

<package id="infrarecorder" name="InfraRecorder" revision="051" reboot="false" priority="1">
    <check type="uninstall" condition="exists" path="InfraRecorder" />
    <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\InfraRecorder\InfraRecorder.exe" value="0.51.0.0" />

    <install cmd='"%SOFTWARE%\infrarecorder\ir051.exe" /S' />
    <install cmd='cmd /c del /q /s "%AllUsersProfile%\Desktop\InfraRecorder.lnk"'><exit code="1" /></install>

    <upgrade cmd='"%SOFTWARE%\infrarecorder\ir051.exe" /S' />
    <upgrade cmd='cmd /c del /q /s "%AllUsersProfile%\Desktop\InfraRecorder.lnk"'><exit code="1" /></upgrade>

    <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.51 64Bit

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

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

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

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