Difference between revisions of "LMMS"
From WPKG | Open Source Software Deployment and Distribution
(Created page with "[http://lmms.sourceforge.net LMMS] (Linux MultiMedia Studio) is a software to produce music (like FL Studio). Installer use NSIS. For 32 bits computers (a 64 bits version exist)...") |
(add 64 bits support) |
||
Line 1: | Line 1: | ||
[http://lmms.sourceforge.net LMMS] (Linux MultiMedia Studio) is a software to produce music (like FL Studio). Installer use NSIS. | [http://lmms.sourceforge.net LMMS] (Linux MultiMedia Studio) is a software to produce music (like FL Studio). Installer use NSIS. | ||
− | |||
<source lang="xml"> | <source lang="xml"> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
Line 15: | Line 14: | ||
<variable name="VERSION" value="0.4.13" /> | <variable name="VERSION" value="0.4.13" /> | ||
− | <variable name="PKG_DESTINATION" value="%ProgramFiles%\LMMS" | + | <variable name="PKG_DESTINATION" value="%ProgramFiles%\LMMS" architecture="x86"/> |
+ | <variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\" architecture="x64"/> | ||
+ | <variable name="ARCH" value="win32" architecture="x86"/> | ||
+ | <variable name="ARCH" value="win64" architecture="x64"/> | ||
<variable name="PKG_INSTALL_SWITCH" value="/S"/> | <variable name="PKG_INSTALL_SWITCH" value="/S"/> | ||
<variable name="PKG_REMOVE_SWITCH" value="/S _?=%PKG_DESTINATION%"/> | <variable name="PKG_REMOVE_SWITCH" value="/S _?=%PKG_DESTINATION%"/> | ||
Line 21: | Line 23: | ||
<check type="uninstall" condition="exists" path="LMMS %VERSION%" /> | <check type="uninstall" condition="exists" path="LMMS %VERSION%" /> | ||
− | <install cmd='"%SOFTWARE%\lmms-%VERSION%- | + | <install cmd='"%SOFTWARE%\lmms-%VERSION%-%ARCH%.exe" %PKG_INSTALL_SWITCH%' /> |
<upgrade include="install" /> | <upgrade include="install" /> | ||
<remove cmd='"%PKG_DESTINATION%\Uninstall.exe" %PKG_REMOVE_SWITCH%' /> | <remove cmd='"%PKG_DESTINATION%\Uninstall.exe" %PKG_REMOVE_SWITCH%' /> | ||
− | <remove cmd='%ComSpec% /C if exist "%PKG_DESTINATION%" rmdir "%PKG_DESTINATION%"' /> | + | <remove cmd='%ComSpec% /C if exist "%PKG_DESTINATION%" rmdir /S /Q "%PKG_DESTINATION%"' /> |
</package> | </package> | ||
</packages:packages> | </packages:packages> | ||
</source> | </source> | ||
+ | |||
[[Category:Silent Installers]] | [[Category:Silent Installers]] |
Latest revision as of 14:28, 20 December 2012
LMMS (Linux MultiMedia Studio) is a software to produce music (like FL Studio). Installer use NSIS.
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages
xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.wpkg.org/packages ../../xsd/packages.xsd" >
<package id="lmms"
name="Linux MultiMedia Studio"
revision="%VERSION%"
reboot="false"
priority="20">
<variable name="VERSION" value="0.4.13" />
<variable name="PKG_DESTINATION" value="%ProgramFiles%\LMMS" architecture="x86"/>
<variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\" architecture="x64"/>
<variable name="ARCH" value="win32" architecture="x86"/>
<variable name="ARCH" value="win64" architecture="x64"/>
<variable name="PKG_INSTALL_SWITCH" value="/S"/>
<variable name="PKG_REMOVE_SWITCH" value="/S _?=%PKG_DESTINATION%"/>
<check type="uninstall" condition="exists" path="LMMS %VERSION%" />
<install cmd='"%SOFTWARE%\lmms-%VERSION%-%ARCH%.exe" %PKG_INSTALL_SWITCH%' />
<upgrade include="install" />
<remove cmd='"%PKG_DESTINATION%\Uninstall.exe" %PKG_REMOVE_SWITCH%' />
<remove cmd='%ComSpec% /C if exist "%PKG_DESTINATION%" rmdir /S /Q "%PKG_DESTINATION%"' />
</package>
</packages:packages>