diff --git a/setup.py b/setup.py index b69eaba..eeed2c1 100755 --- a/setup.py +++ b/setup.py @@ -100,7 +100,9 @@ class InnoScript: print >> ofi, r"[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()" elif path.endswith( "luminotes.db" ): extra = " onlyifdoesntexist" @@ -115,10 +117,6 @@ class InnoScript: (self.name, path) 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'Type: files; Name: "{app}\luminotes.log"' print >> ofi, r'Type: files; Name: "{app}\luminotes_error.log"'