Skip to content

Commit 782f436

Browse files
committed
Add the Inno Setup script
1 parent 6be4269 commit 782f436

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

installer.iss

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
; Script generated by the Inno Setup Script Wizard.
2+
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3+
4+
#define AppName "Gemini Desktop"
5+
#define AppVersion "0.1.0"
6+
#define AppPublisher "Piebald LLC"
7+
#define AppURL "https://github.com/Piebald-AI/gemini-desktop"
8+
#define AppExeName "gemini-desktop.exe"
9+
10+
[Setup]
11+
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
12+
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
13+
AppId={{AF52457A-2975-4BF9-A5CB-006E440F67FC}
14+
AppName={#AppName}
15+
AppVersion={#AppVersion}
16+
;AppVerName={#AppName} {#AppVersion}
17+
AppPublisher={#AppPublisher}
18+
AppPublisherURL={#AppURL}
19+
AppSupportURL={#AppURL}
20+
AppUpdatesURL={#AppURL}
21+
DefaultDirName={autopf}\{#AppName}
22+
UninstallDisplayIcon={app}\{#AppExeName}
23+
; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run
24+
; on anything but x64 and Windows 11 on Arm.
25+
ArchitecturesAllowed=x64compatible
26+
; "ArchitecturesInstallIn64BitMode=x64compatible" requests that the
27+
; install be done in "64-bit mode" on x64 or Windows 11 on Arm,
28+
; meaning it should use the native 64-bit Program Files directory and
29+
; the 64-bit view of the registry.
30+
ArchitecturesInstallIn64BitMode=x64compatible
31+
DisableProgramGroupPage=yes
32+
; Remove the following line to run in administrative install mode (install for all users).
33+
PrivilegesRequired=lowest
34+
PrivilegesRequiredOverridesAllowed=commandline
35+
OutputDir=target\release
36+
OutputBaseFilename=GeminiDesktopSetup
37+
SetupIconFile=crates\tauri-app\icons\icon.ico
38+
SolidCompression=yes
39+
WizardStyle=modern
40+
41+
[Languages]
42+
Name: "english"; MessagesFile: "compiler:Default.isl"
43+
44+
[Tasks]
45+
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
46+
47+
[Files]
48+
Source: "target\release\{#AppExeName}"; DestDir: "{app}"; Flags: ignoreversion
49+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
50+
51+
[Icons]
52+
Name: "{autoprograms}\{#AppName}"; Filename: "{app}\{#AppExeName}"
53+
Name: "{autodesktop}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Tasks: desktopicon
54+
55+
[Run]
56+
Filename: "{app}\{#AppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(AppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent

0 commit comments

Comments
 (0)