Fix inno setup installer.
This commit is contained in:
parent
254af3c351
commit
44679d8a7f
1 changed files with 2 additions and 2 deletions
4
setup.py
4
setup.py
|
@ -275,7 +275,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 + \
|
||||||
|
@ -293,7 +293,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
|
||||||
|
|
Loading…
Reference in a new issue