From 2a02b09b9df160d6c83874d0ac2ae5f16bd50bb5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 27 Nov 2015 16:56:57 +0000 Subject: Delete KDM creator link when uninstalling on Windows. Also write Debug uninstaller to the right place. --- platform/windows/wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/windows/wscript b/platform/windows/wscript index c11eeb07c..d3b16435f 100644 --- a/platform/windows/wscript +++ b/platform/windows/wscript @@ -253,7 +253,7 @@ File "%binaries%/src/tools/dcpomatic2_kdm.exe" if debug: print('CreateShortCut "$DESKTOP\\DCP-o-matic 2 Debug.lnk" "$INSTDIR\\bin\\debug.bat" ""', file=f) print('CreateShortCut "$SMPROGRAMS\\DCP-o-matic 2 Debug\\DCP-o-matic 2 Debug.lnk" "$INSTDIR\\bin\\debug.bat"', file=f) - print('CreateShortCut "$SMPROGRAMS\\DCP-o-matic 2\\Uninstall DCP-o-matic 2 Debug.lnk" "$INSTDIR\\Uninstall.exe"', file=f) + print('CreateShortCut "$SMPROGRAMS\\DCP-o-matic 2 Debug\\Uninstall DCP-o-matic 2 Debug.lnk" "$INSTDIR\\Uninstall.exe"', file=f) print('WriteRegStr HKLM "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic 2 Debug" "DisplayName" "DCP-o-matic 2 Debug (remove only)"', file=f) print('WriteRegStr HKLM "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic 2 Debug" "UninstallString" "$INSTDIR\\Uninstall.exe"', file=f) else: @@ -326,6 +326,7 @@ RMDir "$INSTDIR" Delete "$DESKTOP\\DCP-o-matic 2.lnk" Delete "$DESKTOP\\DCP-o-matic 2 batch converter.lnk" Delete "$DESKTOP\\DCP-o-matic 2 encode server.lnk" +Delete "$DESKTOP\\DCP-o-matic 2 KDM creator.lnk" Delete "$SMPROGRAMS\\DCP-o-matic 2\\*.*" RmDir "$SMPROGRAMS\\DCP-o-matic 2" DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\\DCP-o-matic 2" -- cgit v1.2.3