- 添加 Inno Setup 安装脚本,配置版本 2.13.4.0 的安装程序 - 包含许可证文件 LICENCE.txt,定义软件使用条款和限制 - 添加编译好的安装程序可执行文件 - 包含 README.md 文件,提供安装后的用户说明
53 lines
2.0 KiB
Plaintext
53 lines
2.0 KiB
Plaintext
; Script generated by the Inno Setup Script Wizard.
|
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
|
; Non-commercial use only
|
|
|
|
#define MyAppName "Plain Craft Launcher 2 (CE)"
|
|
#define MyAppVersion "2.13.4.0"
|
|
#define MyAppPublisher "PCL-Community"
|
|
#define MyAppURL "https://github.com/PCL-Community/PCL2-CE"
|
|
#define MyAppExeName "Plain Craft Launcher 2.exe"
|
|
|
|
[Setup]
|
|
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
|
|
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
|
AppId={{F52ABAEA-1A8E-4E83-A38D-C92F9404EE4A}
|
|
AppName={#MyAppName}
|
|
AppVersion={#MyAppVersion}
|
|
AppVerName={#MyAppName} {#MyAppVersion}
|
|
AppPublisher={#MyAppPublisher}
|
|
AppPublisherURL={#MyAppURL}
|
|
AppSupportURL={#MyAppURL}
|
|
AppUpdatesURL={#MyAppURL}
|
|
DefaultDirName={autopf}\Plain Craft Launcher 2
|
|
UninstallDisplayIcon={app}\{#MyAppExeName}
|
|
ArchitecturesAllowed=x64compatible
|
|
ArchitecturesInstallIn64BitMode=x64compatible
|
|
DefaultGroupName=Plain Craft Launcher 2
|
|
AllowNoIcons=yes
|
|
LicenseFile=./LICENCE.txt
|
|
InfoAfterFile=./README.md
|
|
PrivilegesRequiredOverridesAllowed=dialog
|
|
OutputDir=./
|
|
OutputBaseFilename=Plain-Craft-Launcher-2-Setup_v2.13.4.0
|
|
SolidCompression=yes
|
|
WizardStyle=modern windows11
|
|
|
|
[Languages]
|
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
|
|
|
[Tasks]
|
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
|
|
|
[Files]
|
|
Source: "..\Plain Craft Launcher 2\bin\Release\net8.0-windows\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
|
Source: "..\Plain Craft Launcher 2\bin\Release\net8.0-windows\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
|
|
|
[Icons]
|
|
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
|
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
|
|
|
[Run]
|
|
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
|
|
|