diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-02-21 14:31:13 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-21 05:50:26 -0800 |
commit | 65b6941e7c52eff9c8118998151557b2a468a75e (patch) | |
tree | 687a678b8539749bdfd1abaa5fad42b613f9da7a /packaging/windows | |
parent | 678dafbe67abe211a7934865779ca5df8a6e65b8 (diff) | |
download | subsurface-65b6941e7c52eff9c8118998151557b2a468a75e.tar.gz |
Some small changes to the Windows NSI script
- on uninstall, delete all XSLT files and the "$instdir\xslt" folder itself
- manage a desktop icon (i believe we had that before?)
- ignore SVG files, as we are now embedding them as static resources
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/windows')
-rw-r--r-- | packaging/windows/subsurface.nsi.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packaging/windows/subsurface.nsi.in b/packaging/windows/subsurface.nsi.in index 6a54b9e77..caa120793 100644 --- a/packaging/windows/subsurface.nsi.in +++ b/packaging/windows/subsurface.nsi.in @@ -99,7 +99,6 @@ Section # Files to include in installer File ..\..\subsurface.exe - File ..\..\subsurface-icon.svg File /r ..\..\xslt File dll\iconv.dll File dll\libatk-1.0-0.dll @@ -148,6 +147,7 @@ Section CreateDirectory "$SMPROGRAMS\$StartMenuFolder" CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Subsurface.lnk" "$INSTDIR\subsurface.exe" CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Uninstall Subsurface.lnk" "$INSTDIR\Uninstall.exe" + CreateShortCut "$DESKTOP\Subsurface.lnk" "$INSTDIR\subsurface.exe" "" !insertmacro MUI_STARTMENU_WRITE_END # Create the uninstaller @@ -163,13 +163,13 @@ Section "Uninstall" # Delete installed files Delete "$INSTDIR\*.dll" - Delete "$INSTDIR\*.xslt" + Delete "$INSTDIR\xslt\*.xslt" Delete "$INSTDIR\freetype-config" Delete "$INSTDIR\subsurface.exe" Delete "$INSTDIR\subsurface.ico" - Delete "$INSTDIR\subsurface-icon.svg" Delete "$INSTDIR\Uninstall.exe" RMDir /r "$INSTDIR\share" + RMDir /r "$INSTDIR\xslt" RMDir "$INSTDIR" # Remove shortcuts @@ -177,6 +177,7 @@ Section "Uninstall" Delete "$SMPROGRAMS\$StartMenuFolder\Subsurface.lnk" Delete "$SMPROGRAMS\$StartMenuFolder\Uninstall Subsurface.lnk" RMDir "$SMPROGRAMS\$StartMenuFolder" + Delete "$DESKTOP\Subsurface.lnk" # Remove registry entries DeleteRegKey /ifempty HKCU "Software\Subsurface" |