Removed option to launch Luminotes from installer, since it gets launched as the wrong user. Instead, going back to option to view the README file.
This commit is contained in:
parent
ebee4e5135
commit
840eabbe5a
8
setup.py
8
setup.py
|
@ -100,7 +100,9 @@ class InnoScript:
|
||||||
|
|
||||||
print >> ofi, r"[Files]"
|
print >> ofi, r"[Files]"
|
||||||
for path in self.windows_exe_files + self.lib_files:
|
for path in self.windows_exe_files + self.lib_files:
|
||||||
if path.endswith( "luminotes.exe" ):
|
if path.endswith( "README.txt" ):
|
||||||
|
extra = " isreadme"
|
||||||
|
elif path.endswith( "luminotes.exe" ):
|
||||||
extra = "; BeforeInstall: stop_exe()"
|
extra = "; BeforeInstall: stop_exe()"
|
||||||
elif path.endswith( "luminotes.db" ):
|
elif path.endswith( "luminotes.db" ):
|
||||||
extra = " onlyifdoesntexist"
|
extra = " onlyifdoesntexist"
|
||||||
|
@ -115,10 +117,6 @@ class InnoScript:
|
||||||
(self.name, path)
|
(self.name, path)
|
||||||
print >> ofi
|
print >> ofi
|
||||||
|
|
||||||
print >> ofi, r"[Run]"
|
|
||||||
print >> ofi, r'Filename: "{app}\luminotes.exe"; Description: "Run Luminotes now"; Flags: nowait postinstall skipifsilent'
|
|
||||||
print >> ofi
|
|
||||||
|
|
||||||
print >> ofi, r"[UninstallDelete]"
|
print >> ofi, r"[UninstallDelete]"
|
||||||
print >> ofi, r'Type: files; Name: "{app}\luminotes.log"'
|
print >> ofi, r'Type: files; Name: "{app}\luminotes.log"'
|
||||||
print >> ofi, r'Type: files; Name: "{app}\luminotes_error.log"'
|
print >> ofi, r'Type: files; Name: "{app}\luminotes_error.log"'
|
||||||
|
|
Reference in New Issue
Block a user