mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 12:26:59 +01:00
64 lines
1.9 KiB
Plaintext
64 lines
1.9 KiB
Plaintext
#define MyAppName "Pandemonium Engine"
|
|
#define MyAppVersion "3.5"
|
|
#define MyAppPublisher "Pandemonium Engine contributors"
|
|
#define MyAppURL "https://pandemoniumengine.org/"
|
|
#define MyAppExeName "pandemonium.exe"
|
|
|
|
[Setup]
|
|
AppId={{60D07AAA-400E-40F5-B073-A796C34D9D78}
|
|
AppName={#MyAppName}
|
|
AppVersion={#MyAppVersion}
|
|
; Don't add "version {version}" to the installed app name in the Add/Remove Programs
|
|
; dialog as it's redundant with the Version field in that same dialog.
|
|
AppVerName={#MyAppName}
|
|
AppPublisher={#MyAppPublisher}
|
|
AppPublisherURL={#MyAppURL}
|
|
AppSupportURL={#MyAppURL}
|
|
AppUpdatesURL={#MyAppURL}
|
|
AppComments=Pandemonium Engine editor
|
|
ChangesEnvironment=yes
|
|
DefaultDirName={localappdata}\Pandemonium
|
|
DefaultGroupName=Pandemonium Engine
|
|
AllowNoIcons=yes
|
|
UninstallDisplayIcon={app}\{#MyAppExeName}
|
|
#ifdef App32Bit
|
|
OutputBaseFilename=pandemonium-setup-x86
|
|
#else
|
|
OutputBaseFilename=pandemonium-setup-x86_64
|
|
ArchitecturesAllowed=x64
|
|
ArchitecturesInstallIn64BitMode=x64
|
|
#endif
|
|
Compression=lzma
|
|
SolidCompression=yes
|
|
PrivilegesRequired=lowest
|
|
|
|
[Languages]
|
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
|
|
|
[Tasks]
|
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
|
Name: "modifypath"; Description: "Add Pandemonium to PATH environment variable"
|
|
|
|
[Files]
|
|
Source: "{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
|
|
|
[Icons]
|
|
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
|
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
|
|
|
[Run]
|
|
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
|
|
|
|
[Code]
|
|
const
|
|
ModPathName = 'modifypath';
|
|
ModPathType = 'user';
|
|
|
|
function ModPathDir(): TArrayOfString;
|
|
begin
|
|
setArrayLength(Result, 1)
|
|
Result[0] := ExpandConstant('{app}');
|
|
end;
|
|
|
|
#include "modpath.pas"
|