Debian Codegraph @

misc/dist/windows/godot.iss

raw
1 #define MyAppName "Godot Engine"
2 #define MyAppVersion "4.6.3"
3 #define MyAppPublisher "Godot Engine contributors"
4 #define MyAppURL "https://godotengine.org/"
5 #define MyAppExeName "godot.exe"
6
7 [Setup]
8 AppId={{60D07AAA-400E-40F5-B073-A796C34D9D78}
9 AppName={#MyAppName}
10 AppVersion={#MyAppVersion}
11 ; Don't add "version {version}" to the installed app name in the Add/Remove Programs
12 ; dialog as it's redundant with the Version field in that same dialog.
13 AppVerName={#MyAppName}
14 AppPublisher={#MyAppPublisher}
15 AppPublisherURL={#MyAppURL}
16 AppSupportURL={#MyAppURL}
17 AppUpdatesURL={#MyAppURL}
18 AppComments=Godot Engine editor
19 ChangesEnvironment=yes
20 DefaultDirName={localappdata}\Godot
21 DefaultGroupName=Godot Engine
22 AllowNoIcons=yes
23 UninstallDisplayIcon={app}\{#MyAppExeName}
24 #ifdef App32Bit
25 OutputBaseFilename=godot-setup-x86
26 #else
27 OutputBaseFilename=godot-setup-x86_64
28 ArchitecturesAllowed=x64
29 ArchitecturesInstallIn64BitMode=x64
30 #endif
31 Compression=lzma
32 SolidCompression=yes
33 PrivilegesRequired=lowest
34
35 [Languages]
36 Name: "english"; MessagesFile: "compiler:Default.isl"
37
38 [Tasks]
39 Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
40 Name: "modifypath"; Description: "Add Godot to PATH environment variable"
41
42 [Files]
43 Source: "{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
44
45 [Icons]
46 Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
47 Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
48
49 [Run]
50 Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
51
52 [Code]
53 const
54 ModPathName = 'modifypath';
55 ModPathType = 'user';
56
57 function ModPathDir(): TArrayOfString;
58 begin
59 setArrayLength(Result, 1)
60 Result[0] := ExpandConstant('{app}');
61 end;
62
63 #include "modpath.pas"