Delete KDM creator link when uninstalling on Windows. Also write Debug uninstaller...
authorCarl Hetherington <cth@carlh.net>
Fri, 27 Nov 2015 16:56:57 +0000 (16:56 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 27 Nov 2015 16:56:57 +0000 (16:56 +0000)
platform/windows/wscript

index c11eeb07c11b5bcf7a11d175c599d325eca5a55f..d3b16435f1ec2273c6c4f075a41c477134b0d084 100644 (file)
@@ -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"