Changes

Avidemux

2,121 bytes added, 02:25, 16 March 2009
Avidemux Video editor
Avidemux is a GPL Video editor for Linux, Windows and OSX.

The Avidemux website is at [http://www.avidemux.org].

==WPKG Package==

<source lang="xml">
<package id="avidemux" name="Avidemux" revision="1" reboot="false" priority="3">
<check type="uninstall" condition="exists" path="Avidemux 2.4" />
<install cmd='"%SOFTWARE%\video_tools\avidemux_2.4.4_win32.exe" /S' />
<upgrade cmd='"%PROGRAMFILES%\avidemux 2.4\uninstall.exe" /S' />
<upgrade cmd='"%SOFTWARE%\video_tools\avidemux_2.4.4_win32.exe" /S' />
<remove cmd='"%PROGRAMFILES%\avidemux 2.4\uninstall.exe" /S' />
</package>
</source>

==Installer Command-line Switches==
/S - silent install
/D=<directory> - install into a different directory

==Repackaging==
Unfortunately the installer creates all shortcuts in the current user's profile, rather than for all users.
Furthermore, when run in silent mode it creates shortcuts for the GTK version, and for avsproxy, even though neither of these 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...

<source lang="xml">
<package id="avidemux_qt" name="Avidemux" revision="3" reboot="false" priority="3">
<check type="uninstall" condition="exists" path="Avidemux 2.4.4" />
<install cmd='msiexec /qn /i "%SOFTWARE%\video_tools\avidemux244.msi"' />
<upgrade cmd='msiexec /qn /i "%SOFTWARE%\video_tools\avidemux244.msi"' />
<remove cmd='msiexec /qn /x "%SOFTWARE%\video_tools\avidemux244.msi"' />
</package>
</source>

[[Category: Silent Installers]]
117
edits