mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-22 23:24:44 +00:00
Remove Windows registry keys on uninstall.
This commit is contained in:
parent
8a074aeea9
commit
97a10a16a6
2 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
5
setup.py
5
setup.py
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue