Difference between revisions of "Ghostscript"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 1: Line 1:
This is a silent installer and uninstaller for AFPL Ghostscript.
+
This is a silent installer and uninstaller for AFPL Ghostscript and the accompanying AFPL Ghostscript Fonts.
  
 
  <package id="gs" name="Ghostscript" revision="1" reboot="false" priority="0" >
 
  <package id="gs" name="Ghostscript" revision="1" reboot="false" priority="0" >
  <check type="uninstall" condition="exists" path="AFPL Ghostscript 8.11" />
+
  <check type="uninstall" condition="exists" path="AFPL Ghostscript 8.54" />
 
  <check type="uninstall" condition="exists" path="AFPL Ghostscript Fonts" />
 
  <check type="uninstall" condition="exists" path="AFPL Ghostscript Fonts" />
  <install cmd='%WINDIR%\system32\cmd /c start /wait /d \\server\share\ghostscript\gs \\server\share\ghostscript\gs\setupgs.exe "%ProgramFiles%\gs"' />
+
  <install cmd='%WINDIR%\system32\cmd /c start /wait /d %PACKAGES%\ghostscript\gs %PACKAGES%\ghostscript\gs\setupgs.exe "%ProgramFiles%\gs"' />
  <remove cmd='%ProgramFiles%\uninstgs.exe "%ProgramFiles%\gs8.11\uninstal.txt"' />
+
  <remove cmd='%ProgramFiles%\uninstgs.exe "%ProgramFiles%\gs\gs8.54\uninstal.txt"' />
  <remove cmd='%ProgramFiles%\uninstgs.exe "%ProgramFiles%\fonts\uninstal.txt"' />
+
  <remove cmd='%ProgramFiles%\uninstgs.exe "%ProgramFiles%\gs\fonts\uninstal.txt"' />
 
  <upgrade cmd="" />
 
  <upgrade cmd="" />
 
  </package>
 
  </package>
  
If you've gsview installed, use the uninstaller from gsview with an additional "-q":
+
If gsview is installed, use the uninstaller from gsview with an additional "-q":
 
  <remove cmd='%ProgramFiles%\ghostgum\gsview\uninstgs.exe "%ProgramFiles%\fonts\uninstal.txt" -q' />
 
  <remove cmd='%ProgramFiles%\ghostgum\gsview\uninstgs.exe "%ProgramFiles%\fonts\uninstal.txt" -q' />
  
 
[[category:Silent Installers|Ghostscript]]
 
[[category:Silent Installers|Ghostscript]]

Revision as of 14:59, 2 September 2006

This is a silent installer and uninstaller for AFPL Ghostscript and the accompanying AFPL Ghostscript Fonts.

<package id="gs" name="Ghostscript" revision="1" reboot="false" priority="0" >
<check type="uninstall" condition="exists" path="AFPL Ghostscript 8.54" />
<check type="uninstall" condition="exists" path="AFPL Ghostscript Fonts" />
<install cmd='%WINDIR%\system32\cmd /c start /wait /d %PACKAGES%\ghostscript\gs %PACKAGES%\ghostscript\gs\setupgs.exe "%ProgramFiles%\gs"' />
<remove cmd='%ProgramFiles%\uninstgs.exe "%ProgramFiles%\gs\gs8.54\uninstal.txt"' />
<remove cmd='%ProgramFiles%\uninstgs.exe "%ProgramFiles%\gs\fonts\uninstal.txt"' />
<upgrade cmd="" />
</package>

If gsview is installed, use the uninstaller from gsview with an additional "-q":

<remove cmd='%ProgramFiles%\ghostgum\gsview\uninstgs.exe "%ProgramFiles%\fonts\uninstal.txt" -q' />