Debian Codegraph @

scripts/rclone-browser-win-installer.iss

raw
1
2 #define MyAppName "Rclone Browser"
3 #define MyAppPublisher "kapitainsky"
4 #define MyAppURL "https://github.com/kapitainsky/RcloneBrowser"
5 #define MyAppExeName "RcloneBrowser.exe"
6
7 [Setup]
8 ; We will use two different IDs - for 64bit and 32bit
9 ;64bit: AppId={{0AF9BF43-8D44-4AFF-AE60-6CECF1BF0D31}
10 ;32bit: AppId={{5644ED3A-6028-47C0-9796-29548EF7CEA3}
11 AppId={#MyAppId}
12 AppName={#MyAppName}
13 AppVersion={#MyAppVersion}
14 ;AppVerName={#MyAppName} {#MyAppVersion}
15 AppPublisher={#MyAppPublisher}
16 AppPublisherURL={#MyAppURL}
17 AppSupportURL={#MyAppURL}
18 AppUpdatesURL={#MyAppURL}
19 DefaultDirName={autopf}\{#MyAppName}
20 DefaultGroupName={#MyAppName}
21 AllowNoIcons=yes
22 ; The [Icons] "quicklaunchicon" entry uses {userappdata} but its [Tasks] entry has a proper IsAdminInstallMode Check.
23 UsedUserAreasWarning=no
24 LicenseFile=..\release\{#MyAppDir}\License.txt
25 ; Uncomment the following line to run in non administrative install mode (install for current user only.)
26 ;PrivilegesRequired=lowest
27 PrivilegesRequiredOverridesAllowed=dialog
28 SetupIconFile=..\src\icon.ico
29 UninstallDisplayIcon={app}\{#MyAppExeName}
30 Compression=lzma
31 SolidCompression=yes
32 WizardStyle=modern
33
34 #if MyAppArch=="x64"
35 ; "ArchitecturesAllowed=x64" specifies that Setup cannot run on
36 ; anything but x64.
37 ArchitecturesAllowed=x64
38 ; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
39 ; done in "64-bit mode" on x64, meaning it should use the native
40 ; 64-bit Program Files directory and the 64-bit view of the registry.
41 ArchitecturesInstallIn64BitMode=x64
42 #endif
43
44 [Languages]
45 Name: "english"; MessagesFile: "compiler:Default.isl"
46
47 [Tasks]
48 Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
49 Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 6.1; Check: not IsAdminInstallMode
50
51 [Files]
52 Source: "..\release\{#MyAppDir}\RcloneBrowser.exe"; DestDir: "{app}"; Flags: ignoreversion
53 Source: "..\release\{#MyAppDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
54
55 [Icons]
56 Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
57 Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}"
58 Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
59 Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
60 Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon
61
62 [Run]
63 Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
64