Feat: full installation wizard/execuctable builder batch file created (to match series3-watcher.

fix: timezone issue. now sends utc.
This commit is contained in:
serversdwn
2026-03-20 17:34:51 -04:00
parent de6fd1e437
commit 81fca88475
7 changed files with 1424 additions and 331 deletions

41
installer.iss Normal file
View 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