Difference between revisions of "Wimp"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Created page with "This is a silent installer and uninstaller for [http://wimp.no Wimp] (AdobeAIR required), a Norwegian music streaming service. The most recent version can be found on the [http:/...")
(No difference)

Revision as of 11:38, 5 April 2011

This is a silent installer and uninstaller for Wimp (AdobeAIR required), a Norwegian music streaming service. The most recent version can be found on the installation page.

This package definition is tailored for installing Wimp-1.5.33.air on 64-bit Windows, so if you're on a mixed platform you need to include logic for the 32-bit folder strudture. If you're running 32-bit only, just remove the (x86) part of %PROGRAMFILES(x86)%.

Since the silent install doesn't provide an icon for Wimp, I put a shortcut in %software%\wimp\ and made the installer copy it to %PUBLIC%\Desktop.

<package id="wimp"
   name="Wimp"
   revision="1.5.33"
   priority="0">
   <check type="uninstall" condition="exists" path="Wimp 1.5.33" />

   <install cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -silent -eulaAccepted %SOFTWARE%\wimp\Wimp-1.5.33.air'>
     <exit code="any" />
   </install>
   <install cmd='%COMSPEC% /c copy /b /v %SOFTWARE%\wimp\Wimp.lnk "%Public%\Desktop\"' />

   <upgrade cmd='msiexec.exe /qn /norestart /x {3DEC209E-37D3-866E-7B3F-3B2E876D1B4A}' />
   <upgrade cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -silent -eulaAccepted %SOFTWARE%\wimp\Wimp-1.5.33.air'>
     <exit code="any" />
   </upgrade>

   <remove cmd='msiexec.exe /qn /norestart /x {3DEC209E-37D3-866E-7B3F-3B2E876D1B4A}' />
   <remove cmd='%COMSPEC% /c del /f /q "%Public%\Desktop\Wimp.lnk"' />

</package>