Changes

Ghostscript

87 bytes added, 21:19, 13 February 2008
m
no edit summary
This is a silent installer and uninstaller for AFPL Ghostscript and the accompanying AFPL Ghostscript Fonts. Note that the uninstall proces is not silent, the user is prompted to verify removing the software. The installation files can be obtained by unzipping the .exe installer.
<source lang="xml"><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" />
<remove cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\ghostscript\gs %SOFTWARE%\ghostscript\gs\uninstgs.exe "%ProgramFiles%\gs\gs8.54\uninstal.txt"' />
<remove cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\ghostscript\gs %SOFTWARE%\ghostscript\gs\uninstgs.exe "%ProgramFiles%\gs\fonts\uninstal.txt"' />
</package></source>
If gsview is installed, use the uninstaller from gsview with an additional "-q":
<source lang="xml">
<remove cmd='%ProgramFiles%\ghostgum\gsview\uninstgs.exe "%ProgramFiles%\fonts\uninstal.txt" -q' />
</source>
 
== GPL Ghostscript ==
This is the silent installer for GPL Ghostscript.
<source lang="xml"><package id="gplghostscript" name="GPL GhostScript 8.54" revision="1" reboot="false" priority="0">
<check type="logical" condition="and">
<check type="uninstall" condition="exists" path="GPL Ghostscript 8.54" />
<remove cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\gs8.54 %SOFTWARE%\gs8.54\uninstgs.exe "%ProgramFiles%\gs\gs8.54\uninstal.txt"' />
<remove cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\gs8.54 %SOFTWARE%\gs8.54\uninstgs.exe "%ProgramFiles%\gs\fonts\uninstal.txt"' />
</package></source>
The uninstall for GPL ghostscript is not silent. It prompts the user to confirm the uninstall.
[[category:Silent Installers|Ghostscript]]