Difference between revisions of "Ghostscript"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(GPL Ghostscript: Revised for update to 8.63, corrected spelling mistake (uninstal.txt))
(introduction and links)
Line 1: Line 1:
 +
''AFPL Ghostscript'' and ''ESP Ghostscript'' have been discontinued.
 +
 +
Its features have been integrated into ''GPL Ghostscript''.
 +
 +
Ghostscript is a command-line-tool, if you need a graphical interface install [[GSView]].
 +
 +
Links:
 +
* [http://pages.cs.wisc.edu/~ghost/ Homepage]
 +
* [http://sourceforge.net/projects/ghostscript/ GPL Ghostscript on SourceForge]
 +
* [http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs900/gs900w32.exe Setup]
 +
* [http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs900/gs900w64.zip 64bit files]
 +
 
== AFPL Ghostscript ==
 
== AFPL Ghostscript ==
 
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.
 
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.

Revision as of 16:10, 22 November 2010

AFPL Ghostscript and ESP Ghostscript have been discontinued.

Its features have been integrated into GPL Ghostscript.

Ghostscript is a command-line-tool, if you need a graphical interface install GSView.

Links:

AFPL Ghostscript

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.

<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='%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>

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' />


GPL Ghostscript

This is the silent installer for GPL Ghostscript.

<package id="gplghostscript" name="GPL GhostScript 8.63" revision="863" reboot="false" priority="0">
 <check type="logical" condition="and">
  <check type="uninstall" condition="exists" path="GPL Ghostscript 8.63" />
  <check type="uninstall" condition="exists" path="GPL Ghostscript Fonts" />
 </check>
 <install cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\gs8.63\ %SOFTWARE%\gs8.63\setupgs.exe "%ProgramFiles%\gs"' />
 <remove cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\gs8.63 %SOFTWARE%\gs8.63\uninstgs.exe "%ProgramFiles%\gs\gs8.63\uninstall.txt"' />
 <remove cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\gs8.63 %SOFTWARE%\gs8.63\uninstgs.exe "%ProgramFiles%\gs\fonts\uninstall.txt"' />
</package>

The uninstall for GPL ghostscript is not silent. It prompts the user to confirm the uninstall.

Example Autoit script for "silent" uninstall:

$Program1 = '\\path\to\gs861w32\uninstgs.exe "%ProgramFiles%\gs\gs8.61\uninstal.txt"'
$Program2 = '\\path\to\gs861w32\uninstgs.exe "%ProgramFiles%\gs\fonts\uninstal.txt"'

Run(@ComSpec & " /c " & $Program1, "", @SW_HIDE);
	
; The window is invisible during boot!
WinWait("GPL Ghostscript 8.61", "", "30")
ControlSend("GPL Ghostscript 8.61", "", "", "u"); We remove the software
WinWait("GPL Ghostscript 8.61", "Uninstall successful", "30")
ControlSend("GPL Ghostscript 8.61", "", "", "{SPACE}"); We remove the software
	
Run(@ComSpec & " /c " & $Program2, "", @SW_HIDE);
; The window is invisible during boot!
WinWait("GPL Ghostscript Fonts", "", "30")
ControlSend("GPL Ghostscript Fonts", "", "", "u"); We remove the software
WinWait("GPL Ghostscript Fonts", "Uninstall successful", "30")
ControlSend("GPL Ghostscript Fonts", "", "", "{SPACE}"); We remove the software