Avidemux

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

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.

Contents

[edit] 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.

[edit] 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>

[edit] Installer Command-line Switches

/S - silent install
/D=<directory> - install into the specified directory

[edit] 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:

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>
Retrieved from "http://wpkg.org/Avidemux"
Personal tools
Namespaces
Variants
Actions
Navigation
ideas?
Toolbox