Feat: full installation wizard/execuctable builder batch file created (to match series3-watcher.
fix: timezone issue. now sends utc.
This commit is contained in:
41
installer.iss
Normal file
41
installer.iss
Normal file
@@ -0,0 +1,41 @@
|
||||
; Inno Setup script for Thor Watcher
|
||||
; Run through Inno Setup Compiler after building dist\thor-watcher.exe
|
||||
|
||||
[Setup]
|
||||
AppName=Thor Watcher
|
||||
AppVersion=0.2.0
|
||||
AppPublisher=Terra-Mechanics Inc.
|
||||
DefaultDirName={pf}\ThorWatcher
|
||||
DefaultGroupName=Thor Watcher
|
||||
OutputBaseFilename=thor-watcher-setup
|
||||
Compression=lzma
|
||||
SolidCompression=yes
|
||||
; Require admin rights so we can write to Program Files
|
||||
PrivilegesRequired=admin
|
||||
|
||||
[Tasks]
|
||||
Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"; Flags: unchecked
|
||||
|
||||
[Dirs]
|
||||
; Create the agent_logs folder so the watcher can write logs on first run
|
||||
Name: "{app}\agent_logs"
|
||||
|
||||
[Files]
|
||||
; Main executable — built by build.bat / PyInstaller
|
||||
Source: "dist\thor-watcher.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||
|
||||
[Icons]
|
||||
; Start Menu shortcut
|
||||
Name: "{group}\Thor Watcher"; Filename: "{app}\thor-watcher.exe"
|
||||
; Start Menu uninstall shortcut
|
||||
Name: "{group}\Uninstall Thor Watcher"; Filename: "{uninstallexe}"
|
||||
; Desktop shortcut (optional — controlled by [Tasks] above)
|
||||
Name: "{commondesktop}\Thor Watcher"; Filename: "{app}\thor-watcher.exe"; Tasks: desktopicon
|
||||
; Startup folder shortcut so the tray app launches on login
|
||||
Name: "{userstartup}\Thor Watcher"; Filename: "{app}\thor-watcher.exe"
|
||||
|
||||
[Run]
|
||||
; Offer to launch the app after install (unchecked by default)
|
||||
Filename: "{app}\thor-watcher.exe"; \
|
||||
Description: "Launch Thor Watcher"; \
|
||||
Flags: nowait postinstall skipifsilent unchecked
|
||||
Reference in New Issue
Block a user