Difference between revisions of "GTK2 runtime"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 1: Line 1:
 
This is a silent installer and uninstaller for GTK2 runtime. This assumes you're using the zip file package without having first unzipped it.
 
This is a silent installer and uninstaller for GTK2 runtime. This assumes you're using the zip file package without having first unzipped it.
  
  <package id="gtk2-268" name="GTK2 runtime" revision="1" reboot="false" priority="3" >
+
  <package id="gtk" name="GTK2 runtime" revision="1" reboot="false" priority="3" >
  <check type="uninstall" condition="exists" path="GTK+ 2.6.8-1 runtime environment" />
+
  <check type="uninstall" condition="exists" path="GTK+ 2.8.18-1 runtime environment" />
<!-- Unzip the file -->
+
  <install cmd='"%PROGRAMFILES%\gtk+-2.8.18-setup-1.exe" /SP- /VERYSILENT /NORESTART' >
  <install cmd='"%ProgramFiles%\7-Zip\7z" x -y -o"%TEMP%" \\server\share\gtk\2\gtk+-2.6.8-setup-1.zip' />
+
<install cmd='"%TEMP%\gtk+-2.6.8-setup-1.exe" /SP- /VERYSILENT /NORESTART' >
+
 
  <exit code="0" />
 
  <exit code="0" />
 
  </install>
 
  </install>
<!-- Tidy up afterwards -->
 
<install cmd='cmd /c del "%TEMP%\gtk+-2.6.8-setup-1.exe"' />
 
 
  <remove cmd='"%CommonProgramFiles%"\GTK\2.0\unins000.exe" /SILENT' />
 
  <remove cmd='"%CommonProgramFiles%"\GTK\2.0\unins000.exe" /SILENT' />
 
  <upgrade cmd="" />
 
  <upgrade cmd="" />

Revision as of 16:40, 2 September 2006

This is a silent installer and uninstaller for GTK2 runtime. This assumes you're using the zip file package without having first unzipped it.

<package id="gtk" name="GTK2 runtime" revision="1" reboot="false" priority="3" >
<check type="uninstall" condition="exists" path="GTK+ 2.8.18-1 runtime environment" />
<install cmd='"%PROGRAMFILES%\gtk+-2.8.18-setup-1.exe" /SP- /VERYSILENT /NORESTART' >
<exit code="0" />
</install>
<remove cmd='"%CommonProgramFiles%"\GTK\2.0\unins000.exe" /SILENT' />
<upgrade cmd="" />
</package>