Remove Windows registry keys on uninstall.

This commit is contained in:
Bastian Kleineidam 2010-09-02 21:38:45 +02:00
parent 8a074aeea9
commit 97a10a16a6
2 changed files with 5 additions and 1 deletions

View file

@ -40,6 +40,7 @@ Features:
- ftp: Detect and support UTF-8 filename encoding capability of FTP
servers.
- checking: added new warning to check if content size is zero
- install: remove Windows registry keys on uninstall
5.2 "11:14" (released 7.3.2010)

View file

@ -445,12 +445,15 @@ class InnoScript:
for path in files:
print >> ofi, r'Source: "%s"; DestDir: "{app}\%s"; Flags: ignoreversion' % (path, os.path.dirname(path))
print >> ofi
# Set icon filename
print >> ofi, r"[Icons]"
for path in self.windows_exe_files:
print >> ofi, r'Name: "{group}\%s"; Filename: "{app}\%s"' % \
(self.name, path)
# Uninstall registry keys
print >> ofi, 'Name: "{group}\Uninstall %s"; Filename: "{uninstallexe}"' % self.name
print >> ofi, r"[Registry]"
print >> ofi, r'Root: HKCU; Subkey: "Software\bfk\LinkChecker"; Flags: uninsdeletekey'
def compile(self):
import ctypes