Fix inno setup installer.

This commit is contained in:
Bastian Kleineidam 2013-02-28 21:45:24 +01:00
parent 731fd4e0cf
commit 9dd9267e49
1 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ class InnoScript:
print("SetupIconFile=%s" % self.icon, file=fd) print("SetupIconFile=%s" % self.icon, file=fd)
print(file=fd) print(file=fd)
print("[Tasks]", file=fd) print("[Tasks]", file=fd)
print("Name: modifypath; Description: Add application directory to %PATH%; Flags: checked", file=fd) print("Name: modifypath; Description: Add application directory to %PATH%;", file=fd)
print(file=fd) print(file=fd)
# List of source files # List of source files
files = self.windows_exe_files + \ files = self.windows_exe_files + \
@ -196,7 +196,7 @@ class InnoScript:
(self.name, path), file=fd) (self.name, path), file=fd)
for path in self.console_exe_files: for path in self.console_exe_files:
name = os.path.basename(path).capitalize() name = os.path.basename(path).capitalize()
print(r'Name: "{group}\%s help"; Filename: "cmd.exe"; Parameters "/C %s --help";' % (name, path), file=fd) print(r'Name: "{group}\%s help"; Filename: "cmd.exe"; Parameters: "/K %s --help";' % (name, path), file=fd)
print(r'Name: "{group}\Uninstall %s"; Filename: "{uninstallexe}"' % self.name, file=fd) print(r'Name: "{group}\Uninstall %s"; Filename: "{uninstallexe}"' % self.name, file=fd)
print(file=fd) print(file=fd)
# Uninstall optional log files # Uninstall optional log files