|
3 | 3 | ; Non-commercial use only |
4 | 4 |
|
5 | 5 | #define MyAppName "App Launcher" |
6 | | -#define MyAppVersion "3.9" |
| 6 | +#define MyAppVersion "3.9.1" |
7 | 7 | #define MyAppPublisher "SpaceCoderPro" |
8 | | -#define MyAppURL "https://github.com/SpaceCoderPro/App-Launcher/" |
| 8 | +#define MyAppURL "https://github.com" |
9 | 9 | #define MyAppExeName "App Launcher.exe" |
10 | 10 |
|
11 | 11 | [Setup] |
12 | 12 | ; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. |
13 | 13 | ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) |
| 14 | +; KEEP THIS SAME AppId so Windows knows it is an update, not a completely new software install! |
14 | 15 | AppId={{E80F1109-2917-4995-8E03-DD16705372F6} |
15 | 16 | AppName={#MyAppName} |
16 | 17 | AppVersion={#MyAppVersion} |
@@ -21,18 +22,10 @@ AppSupportURL={#MyAppURL} |
21 | 22 | AppUpdatesURL={#MyAppURL} |
22 | 23 | DefaultDirName={userappdata}\{#MyAppName} |
23 | 24 | UninstallDisplayIcon={app}\{#MyAppExeName} |
24 | | -; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run |
25 | | -; on anything but x64 and Windows 11 on Arm. |
26 | 25 | ArchitecturesAllowed=x64compatible |
27 | | -; "ArchitecturesInstallIn64BitMode=x64compatible" requests that the |
28 | | -; install be done in "64-bit mode" on x64 or Windows 11 on Arm, |
29 | | -; meaning it should use the native 64-bit Program Files directory and |
30 | | -; the 64-bit view of the registry. |
31 | 26 | ArchitecturesInstallIn64BitMode=x64compatible |
32 | 27 | DisableProgramGroupPage=yes |
33 | | -; Uncomment the following line to run in non administrative install mode (install for current user only). |
34 | 28 | PrivilegesRequired=lowest |
35 | | -;PrivilegesRequiredOverridesAllowed=dialog |
36 | 29 | OutputBaseFilename=App Launcher Setup |
37 | 30 | SolidCompression=yes |
38 | 31 | WizardStyle=modern windows11 |
@@ -43,15 +36,18 @@ Name: "english"; MessagesFile: "compiler:Default.isl" |
43 | 36 | [Tasks] |
44 | 37 | Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked |
45 | 38 |
|
| 39 | +[InstallDelete] |
| 40 | +; UPDATE: Clean out the old PyInstaller '_internal' folder before copying new files. |
| 41 | +; This prevents orphaned/stale Python libraries from breaking the updated app. |
| 42 | +Type: filesandordirs; Name: "{app}\_internal" |
| 43 | + |
46 | 44 | [Files] |
47 | 45 | Source: "D:\App Launcher\dist\App Launcher\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion |
48 | 46 | Source: "D:\App Launcher\dist\App Launcher\_internal\*"; DestDir: "{app}\_internal"; Flags: ignoreversion recursesubdirs createallsubdirs |
49 | | -; NOTE: Don't use "Flags: ignoreversion" on any shared system files |
50 | 47 |
|
51 | 48 | [Icons] |
52 | 49 | Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" |
53 | 50 | Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon |
54 | 51 |
|
55 | 52 | [Run] |
56 | 53 | Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent |
57 | | - |