From 52f2e746e2e1347df3191e82263357c36b69c177 Mon Sep 17 00:00:00 2001 From: DigiJ Date: Tue, 3 Mar 2026 06:09:26 -0800 Subject: [PATCH] =?UTF-8?q?Update=20installer.iss=20=E2=80=94=20fix=20icon?= =?UTF-8?q?=20paths=20for=20PyInstaller=20dist=20layout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- installer.iss | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/installer.iss b/installer.iss index b782a81..f98f1f5 100644 --- a/installer.iss +++ b/installer.iss @@ -1,12 +1,12 @@ ; ============================================================================ -; AUTARCH Inno Setup Installer Script +; AUTARCH Inno Setup Installer Script — v2.2 ; ============================================================================ ; ; Prerequisites: -; 1. Build PyInstaller first: pyinstaller autarch_public.spec -; 2. Install Inno Setup: https://jrsoftware.org/isdl.php -; 3. Compile this script: Open in Inno Setup Compiler -> Build -> Compile -; Or from CLI: iscc installer.iss +; 1. Build PyInstaller first: python -m PyInstaller autarch_public.spec -y +; 2. Install Inno Setup 6: https://jrsoftware.org/isdl.php +; 3. Compile this script: Open in Inno Setup Compiler -> Build -> Compile +; Or from CLI: iscc installer.iss ; ; Output: Output\AUTARCH_Setup.exe ; ============================================================================ @@ -46,17 +46,18 @@ Name: "startupicon"; Description: "Launch Web Dashboard on Windows startup"; Gro ; Everything from PyInstaller output (compressed with lzma2) ; NOTE: GGUF model excluded — download separately from release page Source: "dist\autarch\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs; Excludes: "_internal\models\Hal_v2.gguf" -; DNS server binary (bundled via PyInstaller data, but also ensure standalone copy) + +; DNS server binary — standalone copy alongside the bundled one in _internal Source: "services\dns-server\autarch-dns.exe"; DestDir: "{app}\services\dns-server"; Flags: ignoreversion skipifsourcedoesntexist [Icons] ; Start Menu -Name: "{group}\AUTARCH Web Dashboard"; Filename: "{app}\autarch_web.exe"; IconFilename: "{app}\autarch.ico"; Comment: "Launch AUTARCH Web Dashboard with system tray" -Name: "{group}\AUTARCH CLI"; Filename: "{app}\autarch.exe"; IconFilename: "{app}\autarch.ico"; Comment: "AUTARCH command-line interface" +Name: "{group}\AUTARCH Web Dashboard"; Filename: "{app}\autarch_web.exe"; IconFilename: "{app}\_internal\autarch.ico"; Comment: "Launch AUTARCH Web Dashboard with system tray" +Name: "{group}\AUTARCH CLI"; Filename: "{app}\autarch.exe"; IconFilename: "{app}\_internal\autarch.ico"; Comment: "AUTARCH command-line interface" Name: "{group}\Uninstall AUTARCH"; Filename: "{uninstallexe}" ; Desktop (optional) -Name: "{commondesktop}\AUTARCH Web"; Filename: "{app}\autarch_web.exe"; IconFilename: "{app}\autarch.ico"; Tasks: desktopicon; Comment: "Launch AUTARCH Web Dashboard" +Name: "{commondesktop}\AUTARCH Web"; Filename: "{app}\autarch_web.exe"; IconFilename: "{app}\_internal\autarch.ico"; Tasks: desktopicon; Comment: "Launch AUTARCH Web Dashboard" ; Windows Startup (optional) Name: "{userstartup}\AUTARCH Web"; Filename: "{app}\autarch_web.exe"; Tasks: startupicon @@ -77,10 +78,10 @@ Type: filesandordirs; Name: "{app}\data" Type: filesandordirs; Name: "{app}\results" Type: filesandordirs; Name: "{app}\dossiers" Type: filesandordirs; Name: "{app}\backups" +Type: filesandordirs; Name: "{app}\services" Type: files; Name: "{app}\autarch_settings.conf" [Code] -// Show installed size in wizard function InitializeSetup(): Boolean; begin Result := True;