diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2021-05-12 08:42:18 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2021-05-12 08:42:18 +0100 |
commit | 18cb16e64d20398068f24a204675a008c5c91b57 (patch) | |
tree | 5acc4debd7b798618bd68579d4edd6a45c31eac4 | |
parent | 065b4f4d33d7986107c2c66797c05865297027dc (diff) | |
download | ghostpdl-pdfi_alpha1.tar.gz |
Windows installer: forcibly remove directoriespdfi_alpha1
This forcibly removes the "bin" and install directories, even if they are not
empty - we don't normally want to do that, but for an alpha release, I think
it's fine.
-rw-r--r-- | psi/nsisinst.nsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/psi/nsisinst.nsi b/psi/nsisinst.nsi index a51c97030..323b0f217 100644 --- a/psi/nsisinst.nsi +++ b/psi/nsisinst.nsi @@ -307,8 +307,8 @@ Delete "$INSTDIR\bin\gsdll${WINTYPE}.dll" Delete "$INSTDIR\bin\gsdll${WINTYPE}.lib" Delete "$INSTDIR\bin\gswin${WINTYPE}.exe" Delete "$INSTDIR\bin\gswin${WINTYPE}c.exe" -RMDir "$INSTDIR\bin" -RMDir "$INSTDIR" +RMDir /r "$INSTDIR\bin" +RMDir /r "$INSTDIR" !if "${WINTYPE}" == "64" RMDir "$PROGRAMFILES64\gs" !else |