dev
iss 45 lines 1.72 KB
Raw
1 #define MyAppName "Cake Wallet"
2 #define MyAppVersion "6.4.1"
3 #define MyAppPublisher "Cake Labs LLC"
4 #define MyAppURL "https://cakewallet.com/"
5 #define MyAppExeName "CakeWallet.exe"
6
7 [Setup]
8 AppId=com.cakewallet.cakewallet
9 AppName={#MyAppName}
10 AppVersion={#MyAppVersion}
11 ;AppVerName={#MyAppName} {#MyAppVersion}
12 AppPublisher={#MyAppPublisher}
13 AppPublisherURL={#MyAppURL}
14 AppSupportURL={#MyAppURL}
15 AppUpdatesURL={#MyAppURL}
16 DefaultDirName={autopf}\CakeWallet
17 DisableProgramGroupPage=yes
18 LicenseFile=..\..\LICENSE.md
19 ; Uncomment the following line to run in non administrative install mode (install for current user only.)
20 ; PrivilegesRequired=lowest
21 OutputDir=..\..\
22 OutputBaseFilename=cakewallet_setup
23 SetupIconFile=..\..\windows\runner\resources\app_icon.ico
24 Compression=lzma
25 SolidCompression=yes
26 WizardStyle=modern
27
28 [Languages]
29 Name: "english"; MessagesFile: "compiler:Default.isl"
30
31 [Tasks]
32 Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
33
34 [Files]
35 Source: "..\..\build\windows\x64\runner\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
36 Source: "vc_redist.x64.exe"; DestDir: "{tmp}"; Flags: deleteafterinstall
37 ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
38
39 [Icons]
40 Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
41 Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
42
43 [Run]
44 Filename: "{tmp}\vc_redist.x64.exe"; Parameters: "/install /quiet /norestart"; StatusMsg: "Installing VC++ Redistributable..."; Flags: waituntilterminated
45 Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent