|
1 | | -#define MyAppName "JamulusPlus" |
2 | | -#define MyAppVersion "0.1.0" |
3 | | -#define MyAppPublisher "AndyMcProducer" |
4 | | -#define MyAppURL "https://github.com/AndyMcProducer/jamulus" |
5 | | -#define MyAppCopyright "Copyright (C) 2026 AndyMcProducer" |
6 | | -#define MyVst3Dir "{commoncf64}\VST3" |
7 | | -#define MyStandaloneDir "{autopf64}\JamulusPlus" |
| 1 | +#ifndef MyAppName |
| 2 | + #define MyAppName "JamulusPlus" |
| 3 | +#endif |
| 4 | +#ifndef MyAppVersion |
| 5 | + #define MyAppVersion "0.1.0" |
| 6 | +#endif |
| 7 | +#ifndef MyAppDisplayVersion |
| 8 | + #define MyAppDisplayVersion MyAppVersion |
| 9 | +#endif |
| 10 | +#ifndef MyVersionInfoVersion |
| 11 | + #define MyVersionInfoVersion MyAppVersion |
| 12 | +#endif |
| 13 | +#ifndef MyAppPublisher |
| 14 | + #define MyAppPublisher "AndyMcProducer" |
| 15 | +#endif |
| 16 | +#ifndef MyAppURL |
| 17 | + #define MyAppURL "https://github.com/AndyMcProducer/jamulus" |
| 18 | +#endif |
| 19 | +#ifndef MyAppCopyright |
| 20 | + #define MyAppCopyright "Copyright (C) 2026 AndyMcProducer" |
| 21 | +#endif |
| 22 | +#ifndef MyVst3Dir |
| 23 | + #define MyVst3Dir "{commoncf64}\VST3" |
| 24 | +#endif |
| 25 | +#ifndef MyStandaloneDir |
| 26 | + #define MyStandaloneDir "{autopf64}\JamulusPlus" |
| 27 | +#endif |
| 28 | +#ifndef MyVst3SourceDir |
| 29 | + #define MyVst3SourceDir "..\dist\JamulusPlus.vst3" |
| 30 | +#endif |
| 31 | +#ifndef MyStandaloneSourceDir |
| 32 | + #define MyStandaloneSourceDir "..\dist\JamulusPlus-Standalone" |
| 33 | +#endif |
| 34 | +#ifndef MyOutputDir |
| 35 | + #define MyOutputDir "installer_output" |
| 36 | +#endif |
| 37 | +#ifndef MyOutputBaseFilename |
| 38 | + #define MyOutputBaseFilename "JamulusPlus_Setup_{#MyAppVersion}" |
| 39 | +#endif |
8 | 40 |
|
9 | 41 | [Setup] |
10 | 42 | AppId={{0E0E7283-1D30-4D38-8EEA-6C69490B5B81} |
11 | 43 | AppName={#MyAppName} |
12 | | -AppVersion={#MyAppVersion} |
13 | | -AppVerName={#MyAppName} {#MyAppVersion} |
| 44 | +AppVersion={#MyAppDisplayVersion} |
| 45 | +AppVerName={#MyAppName} {#MyAppDisplayVersion} |
14 | 46 | AppPublisher={#MyAppPublisher} |
15 | 47 | AppPublisherURL={#MyAppURL} |
16 | 48 | AppSupportURL={#MyAppURL} |
17 | 49 | AppUpdatesURL={#MyAppURL} |
18 | 50 | AppCopyright={#MyAppCopyright} |
19 | | -VersionInfoVersion={#MyAppVersion} |
| 51 | +VersionInfoVersion={#MyVersionInfoVersion} |
20 | 52 | VersionInfoCompany={#MyAppPublisher} |
21 | 53 | VersionInfoDescription={#MyAppName} Installer |
22 | 54 | VersionInfoCopyright={#MyAppCopyright} |
23 | 55 | VersionInfoProductName={#MyAppName} |
24 | | -VersionInfoProductVersion={#MyAppVersion} |
| 56 | +VersionInfoProductVersion={#MyVersionInfoVersion} |
25 | 57 | DefaultDirName={#MyStandaloneDir} |
26 | 58 | DefaultGroupName={#MyAppName} |
27 | 59 | PrivilegesRequired=admin |
28 | 60 | PrivilegesRequiredOverridesAllowed=dialog |
29 | 61 | ArchitecturesAllowed=x64compatible |
30 | 62 | ArchitecturesInstallIn64BitMode=x64compatible |
31 | | -OutputDir=installer_output |
32 | | -OutputBaseFilename=JamulusPlus_Setup_{#MyAppVersion} |
| 63 | +OutputDir={#MyOutputDir} |
| 64 | +OutputBaseFilename={#MyOutputBaseFilename} |
33 | 65 | SetupIconFile=compiler:SetupClassicIcon.ico |
34 | 66 | UninstallDisplayIcon={app}\JamulusPlus.exe |
35 | 67 | Compression=lzma2/max |
@@ -67,8 +99,8 @@ Name: "standalone"; Description: "JamulusPlus standalone app"; Types: full stand |
67 | 99 | Name: "desktopicon"; Description: "Create a desktop shortcut for the standalone app"; Components: standalone |
68 | 100 |
|
69 | 101 | [Files] |
70 | | -Source: "..\dist\JamulusPlus.vst3\*"; DestDir: "{#MyVst3Dir}\JamulusPlus.vst3"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: plugin |
71 | | -Source: "..\dist\JamulusPlus-Standalone\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: standalone |
| 102 | +Source: "{#MyVst3SourceDir}\*"; DestDir: "{#MyVst3Dir}\JamulusPlus.vst3"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: plugin |
| 103 | +Source: "{#MyStandaloneSourceDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: standalone |
72 | 104 |
|
73 | 105 | [Icons] |
74 | 106 | Name: "{group}\JamulusPlus"; Filename: "{app}\JamulusPlus.exe"; Components: standalone |
|
0 commit comments