; Installer for Project Dashboard (Inno Setup 6). Built by build.ps1 -Release: ; ISCC.exe /DAppVer= installer\ProjectDashboard.iss ; -> release\ProjectDashboard-Setup.exe ; ; Wraps the one-file release exe: per-user install (no admin / UAC), Start menu entry, ; optional desktop icon, uninstall entry in Windows "Apps". The app itself unpacks to ; %LOCALAPPDATA%\ProjectDashboard on first start, exactly like the portable exe. #ifndef AppVer #define AppVer "1.0.0" #endif #define AppName "Project Dashboard" #define AppExe "ProjectDashboard.exe" [Setup] AppId={{6F3C2E9A-4B1D-4E7A-9C55-2D8B0F1A7E31} AppName={#AppName} AppVersion={#AppVer} AppVerName={#AppName} {#AppVer} AppPublisher=Michael Media AppPublisherURL=https://sn09.itch.io/project-dashboard AppSupportURL=https://discord.gg/Ej4JPmCZva AppCopyright=© 2026 Michael Media ; per-user: installs to %LOCALAPPDATA%\Programs, no admin rights needed PrivilegesRequired=lowest PrivilegesRequiredOverridesAllowed=dialog DefaultDirName={autopf}\{#AppName} DefaultGroupName={#AppName} DisableProgramGroupPage=yes DisableDirPage=auto OutputDir=..\release OutputBaseFilename=ProjectDashboard-Setup SetupIconFile=..\launcher\app.ico UninstallDisplayIcon={app}\{#AppExe} UninstallDisplayName={#AppName} WizardStyle=modern Compression=lzma2/max SolidCompression=yes ArchitecturesAllowed=x64compatible ArchitecturesInstallIn64BitMode=x64compatible MinVersion=10.0 ; an update replaces the running exe: close it first CloseApplications=force RestartApplications=no [Languages] Name: "english"; MessagesFile: "compiler:Default.isl" Name: "german"; MessagesFile: "compiler:Languages\German.isl" [CustomMessages] english.DeleteData=Also delete your settings and data (project folders list, backup state, window position)?%n%nYour project folders and backups are NOT touched either way. german.DeleteData=Auch deine Einstellungen und Daten löschen (Liste der Projektordner, Backup-Stand, Fensterposition)?%n%nDeine Projektordner und Backups werden in keinem Fall angefasst. [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}" [Files] Source: "..\release\{#AppExe}"; DestDir: "{app}"; Flags: ignoreversion [Icons] Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExe}" Name: "{group}\{cm:UninstallProgram,{#AppName}}"; Filename: "{uninstallexe}" Name: "{autodesktop}\{#AppName}"; Filename: "{app}\{#AppExe}"; Tasks: desktopicon [Run] Filename: "{app}\{#AppExe}"; Description: "{cm:LaunchProgram,{#AppName}}"; Flags: nowait postinstall skipifsilent [UninstallRun] ; the app may run in the tray: stop it (and its server) before removing files Filename: "{sys}\taskkill.exe"; Parameters: "/f /t /im {#AppExe}"; Flags: runhidden; RunOnceId: "StopApp" [UninstallDelete] ; the unpacked app copy is rebuilt on every start anyway Type: filesandordirs; Name: "{localappdata}\ProjectDashboard\app" [Code] procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep); begin if CurUninstallStep = usPostUninstall then begin // "Start with Windows" pointed at the installed exe RegDeleteValue(HKEY_CURRENT_USER, 'Software\Microsoft\Windows\CurrentVersion\Run', 'ProjectDashboard'); if not UninstallSilent then if MsgBox(CustomMessage('DeleteData'), mbConfirmation, MB_YESNO or MB_DEFBUTTON2) = IDYES then DelTree(ExpandConstant('{localappdata}\ProjectDashboard'), True, True, True); end; end;