Difference between revisions of "Ghostscript"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 4: Line 4:
 
  <check type="uninstall" condition="exists" path="AFPL Ghostscript 8.54" />
 
  <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 %PACKAGES%\ghostscript\gs %PACKAGES%\ghostscript\gs\setupgs.exe "%ProgramFiles%\gs"' />
+
  <install cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\ghostscript\gs %SOFTWARE%\ghostscript\gs\setupgs.exe "%ProgramFiles%\gs"' />
 
  <remove cmd='%ProgramFiles%\uninstgs.exe "%ProgramFiles%\gs\gs8.54\uninstal.txt"' />
 
  <remove cmd='%ProgramFiles%\uninstgs.exe "%ProgramFiles%\gs\gs8.54\uninstal.txt"' />
 
  <remove cmd='%ProgramFiles%\uninstgs.exe "%ProgramFiles%\gs\fonts\uninstal.txt"' />
 
  <remove cmd='%ProgramFiles%\uninstgs.exe "%ProgramFiles%\gs\fonts\uninstal.txt"' />
<upgrade cmd="" />
 
 
  </package>
 
  </package>
  

Revision as of 19:42, 2 October 2006

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

<package id="ghostscript" name="AFPL 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 %SOFTWARE%\ghostscript\gs %SOFTWARE%\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"' />
</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' />