-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathSetup.iss
More file actions
80 lines (72 loc) · 2.67 KB
/
Copy pathSetup.iss
File metadata and controls
80 lines (72 loc) · 2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
; Non-commercial use only
#ifndef MyAppName
#define MyAppName "SecRandom"
#endif
#ifndef MyAppVersion
#define MyAppVersion "APP_VERSION"
#endif
#define MyAppPublisher "SECTL Studio"
#define MyAppExeName "SecRandom.Desktop.exe"
#define MyAppURL "https://secrandom.sectl.cn/"
#ifndef MyAppOutDir
#define MyAppOutDir "APP_OUTDIR"
#endif
[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{841EEEA5-9A56-4DF5-9E75-27EEA063EF1F}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppSupportURL={#MyAppURL}
#ifdef UiAccessBuild
DefaultDirName={autopf}\SECTL\SecRandom
#else
DefaultDirName={localappdata}\SECTL\SecRandom
#endif
UninstallDisplayIcon={app}\{#MyAppExeName}
#ifdef BuildArchX86
ArchitecturesAllowed=x86compatible
#else
#ifdef BuildArchArm64
ArchitecturesAllowed=arm64
ArchitecturesInstallIn64BitMode=arm64
#else
ArchitecturesAllowed=x64compatible
ArchitecturesInstallIn64BitMode=x64compatible
#endif
#endif
DisableProgramGroupPage=yes
; LicenseFile=E:\Projects\Avalonia\SecRandom\LICENSE
#ifdef UiAccessBuild
; UIAccess is granted only to signed binaries installed under Program Files.
PrivilegesRequired=admin
PrivilegesRequiredOverridesAllowed=none
#else
PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=dialog
#endif
OutputDir=artifacts\release\setup
OutputBaseFilename=SecRandom-Setup
SetupIconFile=SecRandom\Assets\AppLogo.ico
SolidCompression=yes
WizardStyle=modern dynamic windows11
LanguageDetectionMethod=none
[Languages]
Name: "chinesesimplified"; MessagesFile: "compiler:Languages\ChineseSimplified.isl"
Name: "japanese"; MessagesFile: "compiler:Languages\Japanese.isl"
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "{#MyAppOutDir}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#MyAppOutDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent