diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-27 16:56:57 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-11-27 16:56:57 +0000 |
| commit | 2a02b09b9df160d6c83874d0ac2ae5f16bd50bb5 (patch) | |
| tree | 69ef6a445cae323b2fe7ec31c519fcceb9b91cfe /platform/windows/wscript | |
| parent | 8220019228e378378b772ffe47d2beb53d9a79d9 (diff) | |
Delete KDM creator link when uninstalling on Windows. Also write Debug uninstaller to the right place.
Diffstat (limited to 'platform/windows/wscript')
| -rw-r--r-- | platform/windows/wscript | 3 |
1 files changed, 2 insertions, 1 deletions
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" |
