summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/windows/wscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/platform/windows/wscript b/platform/windows/wscript
index c1d37a414..3071468b2 100644
--- a/platform/windows/wscript
+++ b/platform/windows/wscript
@@ -503,6 +503,10 @@ RMDir "$INSTDIR"
print('Delete "$SMPROGRAMS\\DCP-o-matic 2 debug\\*.*"', file=f)
print('RmDir "$SMPROGRAMS\\DCP-o-matic 2 debug"', file=f)
+
+ if bits == 64:
+ print("SetRegView 64", file=f)
+
print('DeleteRegKey HKLM "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic 2 debug"', file=f)
print('SectionEnd', file=f)
else:
@@ -513,6 +517,10 @@ RMDir "$INSTDIR"
print('Delete "$SMPROGRAMS\\DCP-o-matic 2\\*.*"', file=f)
print('RmDir "$SMPROGRAMS\\DCP-o-matic 2"', file=f)
+
+ if bits == 64:
+ print("SetRegView 64", file=f)
+
print('DeleteRegKey HKLM "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic 2"', file=f)
print('SectionEnd', file=f)