Difference between revisions of "Wimp"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (updated for Wimp version 1.5.47)
m (clarifications)
 
Line 2: Line 2:
 
The most recent version can be found on the [http://wimp.no/site/web3/view.ftl?page=nedlasting_no_verify installation page].
 
The most recent version can be found on the [http://wimp.no/site/web3/view.ftl?page=nedlasting_no_verify installation page].
  
This package definition is tailored for installing Wimp-1.5.36.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)%.
+
This package definition is tailored for installing Wimp-1.5.47.air on 64-bit Windows 7, so if you're on a mixed platform you need to include logic for the 32-bit folder strudture.
  
 
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.
 
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.
Line 20: Line 20:
  
 
<!--  <upgrade cmd='msiexec.exe /qn /norestart /x {}' /> to uninstall 1.5.47 when 1.5.48 is out -->
 
<!--  <upgrade cmd='msiexec.exe /qn /norestart /x {}' /> to uninstall 1.5.47 when 1.5.48 is out -->
   <upgrade cmd='msiexec.exe /qn /norestart /x {EF34F237-B140-0C0A-DE20-FF3225B95154}' /> <!-- avinstaller 1.5.46 -->
+
   <upgrade cmd='msiexec.exe /qn /norestart /x {EF34F237-B140-0C0A-DE20-FF3225B95154}' /> <!-- uninstall 1.5.46 if it exists -->
 
   <upgrade cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -silent -eulaAccepted %SOFTWARE%\wimp\Wimp-%version%.air'>
 
   <upgrade cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -silent -eulaAccepted %SOFTWARE%\wimp\Wimp-%version%.air'>
 
     <exit code="any" />
 
     <exit code="any" />

Latest revision as of 06:09, 21 February 2012

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.47.air on 64-bit Windows 7, so if you're on a mixed platform you need to include logic for the 32-bit folder strudture.

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="%version%"
   priority="0">
   <variable name="version" value="1.5.47" />
   <check type="uninstall" condition="exists" path="Wimp %version%" />

   <install cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -silent -eulaAccepted %SOFTWARE%\wimp\Wimp-%version%.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 {}' /> to uninstall 1.5.47 when 1.5.48 is out -->
   <upgrade cmd='msiexec.exe /qn /norestart /x {EF34F237-B140-0C0A-DE20-FF3225B95154}' /> <!-- uninstall 1.5.46 if it exists -->
   <upgrade cmd='%SOFTWARE%\adobeair\AdobeAIRInstaller.exe -silent -eulaAccepted %SOFTWARE%\wimp\Wimp-%version%.air'>
     <exit code="any" />
   </upgrade>
   <upgrade cmd='%COMSPEC% /c copy /b /v %SOFTWARE%\wimp\Wimp.lnk "%Public%\Desktop\"' />

   <remove cmd='msiexec.exe /qn /norestart /x {A51B7BE1-EB45-7088-7796-896F28760996}' /> <!-- 1.5.47 -->
   <remove cmd='%COMSPEC% /c del /f /q "%Public%\Desktop\Wimp.lnk"' />
</package>