Open-eCard-App.iss 2.35 KB
Newer Older
1
2
3
4
5
#define appName "${app.name}"
#define appVersion "${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
#define publisher "${app.vendor}"
#define appURL "${app.url}"
#define appExeName "open-ecard.exe"
Mike Prechtl's avatar
Mike Prechtl committed
6
#define appIdentifier "${app.identifier}"
7
8
9
10
11
12
13
14
15
16

[Setup]
AppId={{CB11CB66-71B5-42C1-8076-15F1FEDCC22A}}
AppName={#appName}
AppVersion={#appVersion}
AppPublisher={#publisher}
AppPublisherURL={#appURL}
AppSupportURL={#appURL}
AppUpdatesURL={#appURL}
DefaultDirName={autopf}\{#appName}
17
18
19
20
21
22
23
DisableStartupPrompt=Yes
DisableDirPage=No
DisableProgramGroupPage=Yes
DisableReadyPage=No
DisableFinishedPage=No
DisableWelcomePage=No
DefaultGroupName={#appName}{#appVersion}
24
25
26
LicenseFile=${project.basedir}\src\main\resources\windows\license.txt
PrivilegesRequiredOverridesAllowed=dialog
OutputDir=${project.basedir}\target\jpackager-out
Mike Prechtl's avatar
Mike Prechtl committed
27
OutputBaseFilename={#appIdentifier}-{#appVersion}
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
SetupIconFile=${project.basedir}\src\main\resources\windows\Open-eCard-App.ico
Compression=lzma
SolidCompression=yes
WizardStyle=modern
WizardSmallImageFile=${project.basedir}\src\main\resources\windows\Open-eCard-App-setup-icon.bmp

UninstallDisplayIcon=${project.basedir}\src\main\resources\windows\Open-eCard-App.ico
UninstallDisplayName={#appName}
WizardImageStretch=No

ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64

LanguageDetectionMethod=uilanguage
ShowLanguageDialog=no

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "german"; MessagesFile: "compiler:Languages\German.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "${project.basedir}\target\jpackager-build\images\win-msi.image\open-ecard\open-ecard.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "${project.basedir}\target\jpackager-build\images\win-msi.image\open-ecard\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{autoprograms}\{#appName}"; Filename: "{app}\{#appExeName}"
Name: "{autodesktop}\{#appName}"; Filename: "{app}\{#appExeName}"; Tasks: desktopicon

[Run]
Filename: "{app}\{#appExeName}"; Description: "{cm:LaunchProgram,{#StringChange(appName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent