Difference between revisions of "Gallery Remote"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(update for version 1.5 + some nasty hacks to get uninstall working. Add dependencies.)
Line 2: Line 2:
  
 
<source lang="xml">
 
<source lang="xml">
<package id="galleryremote" name="GalleryRemote (Update Gallery websites)" revision="1" priority="0" reboot="false">
+
<package id="galleryremote" name="GalleryRemote (Update Gallery websites)" revision="1" priority="2" reboot="false">
  <check type="uninstall" condition="exists" path="Gallery Remote" />
+
  <depends package-id="java6" />
<install cmd='%SOFTWARE%\galleryremote\galleryremote.1.4.1.win32.NoVM.exe -i SILENT' />
+
  <depends package-id="reg" /> <!-- For Win2k. Without reg.exe Gallery Remote cannot find Imagemagick -->
<remove cmd='"%PROGRAMFILES%\Gallery Remote\UninstallerData\Uninstall gallery_remote.exe"' />
+
  <check type="uninstall" condition="exists" path="Gallery Remote" />
</package>
+
  <install cmd='%SOFTWARE%\gallery\GalleryRemote.1.5.Win32.NoVM.exe -i SILENT' />
 +
  <upgrade cmd='%SOFTWARE%\gallery\GalleryRemote.1.5.Win32.NoVM.exe -i SILENT' />
 +
  <remove cmd='"%PROGRAMFILES%\Gallery Remote\UninstallerData\Uninstall gallery_remote.exe" -i SILENT' >
 +
    <exit code="0" />
 +
    <exit code="-1" /> <!-- Not sure why uninstaller is returning -1, but it appears to have been successful -->
 +
  </remove>
 +
  <remove cmd='ping 127.0.0.1 -n 10>NUL' /> <!-- Post remove check failing without this pause -->
 +
</package>
 
</source>
 
</source>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Revision as of 00:51, 18 July 2008

This is a silent installer and uninstaller for Gallery Remote.

<package id="galleryremote" name="GalleryRemote (Update Gallery websites)" revision="1" priority="2" reboot="false">
   <depends package-id="java6" />
   <depends package-id="reg" /> <!-- For Win2k.  Without reg.exe Gallery Remote cannot find Imagemagick -->
   <check type="uninstall" condition="exists" path="Gallery Remote" />
   <install cmd='%SOFTWARE%\gallery\GalleryRemote.1.5.Win32.NoVM.exe -i SILENT' />
   <upgrade cmd='%SOFTWARE%\gallery\GalleryRemote.1.5.Win32.NoVM.exe -i SILENT' />
   <remove cmd='"%PROGRAMFILES%\Gallery Remote\UninstallerData\Uninstall gallery_remote.exe" -i SILENT' >
    <exit code="0" />
    <exit code="-1" /> <!-- Not sure why uninstaller is returning -1, but it appears to have been successful -->
   </remove>
   <remove cmd='ping 127.0.0.1 -n 10>NUL' /> <!-- Post remove check failing without this pause -->
 </package>