2023-09-29 16:08:42 +08:00
|
|
|
; Script generated by the Inno Setup Script Wizard.
|
|
|
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
|
|
|
|
|
|
|
#define MyAppName "example"
|
|
|
|
#define MyAppVersion "${GIT_SEMVER}"
|
|
|
|
#define MyAppPublisher "ZhuZiChu"
|
|
|
|
#define MyAppURL "https://zhuzichu520.github.io/"
|
|
|
|
#define MyAppExeName "example.exe"
|
2023-09-29 17:22:22 +08:00
|
|
|
#define MyAppFileDir "dist"
|
2023-09-29 16:08:42 +08:00
|
|
|
|
|
|
|
[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={{A053D1AE-AEA9-4105-A79B-B5F5BEDC9208}
|
|
|
|
AppName={#MyAppName}
|
|
|
|
AppVersion={#MyAppVersion}
|
|
|
|
;AppVerName={#MyAppName} {#MyAppVersion}
|
|
|
|
AppPublisher={#MyAppPublisher}
|
|
|
|
AppPublisherURL={#MyAppURL}
|
|
|
|
AppSupportURL={#MyAppURL}
|
|
|
|
AppUpdatesURL={#MyAppURL}
|
|
|
|
DefaultDirName={autopf}\{#MyAppName}
|
|
|
|
DisableProgramGroupPage=yes
|
|
|
|
; Uncomment the following line to run in non administrative install mode (install for current user only.)
|
|
|
|
;PrivilegesRequired=lowest
|
|
|
|
OutputDir=.\
|
|
|
|
OutputBaseFilename=installer
|
2023-09-29 20:40:27 +08:00
|
|
|
Compression=lzma
|
|
|
|
SolidCompression=yes
|
2023-09-29 16:08:42 +08:00
|
|
|
WizardStyle=modern
|
2023-10-02 22:17:02 +08:00
|
|
|
UninstallDisplayIcon={app}\{#MyAppExeName}
|
2023-10-02 21:32:10 +08:00
|
|
|
SetupIconFile=.\..\favicon.ico
|
2023-12-18 23:56:28 +08:00
|
|
|
MinVersion = 6.0
|
2023-09-29 16:08:42 +08:00
|
|
|
|
|
|
|
[Languages]
|
|
|
|
Name: "chinesesimplified"; MessagesFile: "compiler:Languages\ChineseSimplified.isl"
|
|
|
|
|
|
|
|
[Tasks]
|
|
|
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: checkablealone
|
|
|
|
|
|
|
|
[Files]
|
|
|
|
Source: ".\..\{#MyAppFileDir}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
|
|
|
Source: ".\..\{#MyAppFileDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
|
|
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
|
|
|
|
|
|
|
[Icons]
|
|
|
|
Name: "{autoprograms}\{#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
|
|
|
|
|