Difference between revisions of "Avidemux"
From WPKG | Open Source Software Deployment and Distribution
(tidyup) |
|||
Line 1: | Line 1: | ||
− | Avidemux is a | + | Avidemux is a non-linear video editor for Windows, Linux and OS X. |
− | The | + | The Avedemux web site is at http://www.avidemux.org and it is licenced under the GNU GPL. |
==Avidemux 2.5== | ==Avidemux 2.5== | ||
<source lang="xml"> | <source lang="xml"> | ||
− | <package id=" | + | <package id="avidemux" name="Avidemux" revision="2.5.3"> |
<check type="uninstall" condition="versiongreaterorequal" path="Avidemux 2\.5" value="2.5.3.0"/> | <check type="uninstall" condition="versiongreaterorequal" path="Avidemux 2\.5" value="2.5.3.0"/> | ||
− | <install cmd="%SOFTWARE% | + | <install cmd="%SOFTWARE%\avidemux\avidemux_2.5.3_win32.exe /S"/> |
− | <upgrade cmd="%SOFTWARE% | + | <upgrade cmd="%SOFTWARE%\avidemux\avidemux_2.5.3_win32.exe /S"/> |
− | <remove cmd=" | + | <remove cmd='"%ProgramFiles%\Avidemux 2.5\uninstall.exe" /S'/> |
</package> | </package> | ||
</source> | </source> | ||
Line 21: | Line 21: | ||
<package id="avidemux" name="Avidemux" revision="1" reboot="false" priority="3"> | <package id="avidemux" name="Avidemux" revision="1" reboot="false" priority="3"> | ||
<check type="uninstall" condition="exists" path="Avidemux 2.4" /> | <check type="uninstall" condition="exists" path="Avidemux 2.4" /> | ||
− | <install cmd='"%SOFTWARE%\ | + | <install cmd='"%SOFTWARE%\avidemux\avidemux_2.4.4_win32.exe" /S' /> |
<upgrade cmd='"%PROGRAMFILES%\avidemux 2.4\uninstall.exe" /S' /> | <upgrade cmd='"%PROGRAMFILES%\avidemux 2.4\uninstall.exe" /S' /> | ||
− | <upgrade cmd='"%SOFTWARE%\ | + | <upgrade cmd='"%SOFTWARE%\avidemux\avidemux_2.4.4_win32.exe" /S' /> |
<remove cmd='"%PROGRAMFILES%\avidemux 2.4\uninstall.exe" /S' /> | <remove cmd='"%PROGRAMFILES%\avidemux 2.4\uninstall.exe" /S' /> | ||
</package> | </package> | ||
Line 30: | Line 30: | ||
==Installer Command-line Switches== | ==Installer Command-line Switches== | ||
/S - silent install | /S - silent install | ||
− | /D=<directory> - install into | + | /D=<directory> - install into the specified directory |
==Repackaging== | ==Repackaging== | ||
− | Unfortunately the installer creates all shortcuts in the current user's profile, rather than | + | Unfortunately the installer creates all shortcuts in the current user's profile, rather than in All Users. |
− | Furthermore, when run in silent mode it creates shortcuts for the GTK version, and for avsproxy, even though neither | + | Furthermore, when run in silent mode, it creates shortcuts for the GTK version, and for avsproxy, even though neither are installed. |
Repackaging Avidemux is easy enough, since it appears all files are located in the Program directory. | Repackaging Avidemux is easy enough, since it appears all files are located in the Program directory. | ||
Line 50: | Line 50: | ||
<source lang="xml"> | <source lang="xml"> | ||
− | <package id=" | + | <package id="avidemux" name="Avidemux" revision="3" reboot="false" priority="3"> |
<check type="uninstall" condition="exists" path="Avidemux 2.4.4" /> | <check type="uninstall" condition="exists" path="Avidemux 2.4.4" /> | ||
− | <install cmd='msiexec /qn /i "%SOFTWARE%\ | + | <install cmd='msiexec /qn /i "%SOFTWARE%\avidemux\avidemux244.msi"' /> |
− | <upgrade cmd='msiexec /qn /i "%SOFTWARE%\ | + | <upgrade cmd='msiexec /qn /i "%SOFTWARE%\avidemux\avidemux244.msi"' /> |
− | <remove cmd='msiexec /qn /x "%SOFTWARE%\ | + | <remove cmd='msiexec /qn /x "%SOFTWARE%\avidemux\avidemux244.msi"' /> |
</package> | </package> | ||
</source> | </source> | ||
[[Category: Silent Installers]] | [[Category: Silent Installers]] |
Latest revision as of 18:13, 7 August 2010
Avidemux is a non-linear video editor for Windows, Linux and OS X.
The Avedemux web site is at http://www.avidemux.org and it is licenced under the GNU GPL.
Avidemux 2.5
<package id="avidemux" name="Avidemux" revision="2.5.3">
<check type="uninstall" condition="versiongreaterorequal" path="Avidemux 2\.5" value="2.5.3.0"/>
<install cmd="%SOFTWARE%\avidemux\avidemux_2.5.3_win32.exe /S"/>
<upgrade cmd="%SOFTWARE%\avidemux\avidemux_2.5.3_win32.exe /S"/>
<remove cmd='"%ProgramFiles%\Avidemux 2.5\uninstall.exe" /S'/>
</package>
This version installs shortcuts for all users, so there's no longer a need to fix them up unless you want to get rid of the desktop shortcut.
Avidemux 2.4
<package id="avidemux" name="Avidemux" revision="1" reboot="false" priority="3">
<check type="uninstall" condition="exists" path="Avidemux 2.4" />
<install cmd='"%SOFTWARE%\avidemux\avidemux_2.4.4_win32.exe" /S' />
<upgrade cmd='"%PROGRAMFILES%\avidemux 2.4\uninstall.exe" /S' />
<upgrade cmd='"%SOFTWARE%\avidemux\avidemux_2.4.4_win32.exe" /S' />
<remove cmd='"%PROGRAMFILES%\avidemux 2.4\uninstall.exe" /S' />
</package>
Installer Command-line Switches
/S - silent install /D=<directory> - install into the specified directory
Repackaging
Unfortunately the installer creates all shortcuts in the current user's profile, rather than in All Users. Furthermore, when run in silent mode, it creates shortcuts for the GTK version, and for avsproxy, even though neither are installed.
Repackaging Avidemux is easy enough, since it appears all files are located in the Program directory. Here's how I did it:
- Download and install Installer2Go free version.
- Install Avidemux from standard installer.
- Start a new Installer2Go project using Product name "Avidemux 2.4.4"
- Add all files from Avidemux directory, except the uninstaller.
- Create shortcuts as required on the "Shortcuts" tab in i2g.
- On "Setup Settings" tab in i2g make sure shortcuts are to be created for all users.
- On "Create Setup" tab uncheck "Create Self-Extracting Executable...", and give your MSI file a meaningful name.
- Build.
Now you can use something like the following...
<package id="avidemux" name="Avidemux" revision="3" reboot="false" priority="3">
<check type="uninstall" condition="exists" path="Avidemux 2.4.4" />
<install cmd='msiexec /qn /i "%SOFTWARE%\avidemux\avidemux244.msi"' />
<upgrade cmd='msiexec /qn /i "%SOFTWARE%\avidemux\avidemux244.msi"' />
<remove cmd='msiexec /qn /x "%SOFTWARE%\avidemux\avidemux244.msi"' />
</package>