40 lines
1.4 KiB
Plaintext
40 lines
1.4 KiB
Plaintext
#ifndef Version
|
|
#define Version "0.2.0"
|
|
#endif
|
|
[Setup]
|
|
AppId=TTSTD.ADS.{#Edition}
|
|
AppName=ADS {#Edition}
|
|
AppVersion={#Version}
|
|
AppPublisher=TongTong Studio
|
|
DefaultDirName={localappdata}\Programs\TongTongStudio\ADS-{#Edition}
|
|
UsePreviousAppDir=no
|
|
DefaultGroupName=ADS {#Edition}
|
|
PrivilegesRequired=lowest
|
|
ArchitecturesAllowed=x64compatible
|
|
ArchitecturesInstallIn64BitMode=x64compatible
|
|
MinVersion=10.0
|
|
OutputDir={#Output}
|
|
OutputBaseFilename=ADS-{#Edition}-{#Version}-win-x64-Setup
|
|
Compression=lzma2
|
|
SolidCompression=yes
|
|
WizardStyle=modern
|
|
UninstallDisplayIcon={app}\{#Executable}
|
|
CloseApplications=yes
|
|
RestartApplications=no
|
|
SetupLogging=yes
|
|
[Tasks]
|
|
Name: desktopicon; Description: "Create a desktop shortcut"; Flags: unchecked
|
|
[InstallDelete]
|
|
; Root DLLs are release payload only; remove obsolete runtime files before copying.
|
|
Type: files; Name: "{app}\*.dll"
|
|
[Files]
|
|
Source: "{#Source}\*"; DestDir: "{app}"; Excludes: "*.env,*.log,*.pdb,settings.json,agent.json,*.sock"; Flags: ignoreversion recursesubdirs createallsubdirs
|
|
[Icons]
|
|
Name: "{group}\ADS {#Edition}"; Filename: "{app}\{#Executable}"
|
|
Name: "{autodesktop}\ADS {#Edition}"; Filename: "{app}\{#Executable}"; Tasks: desktopicon
|
|
#if Edition == "Avalonia"
|
|
Name: "{group}\ADS Agent Manager"; Filename: "{app}\{#Executable}"; Parameters: "--agent-tray"
|
|
#endif
|
|
[Run]
|
|
Filename: "{app}\{#Executable}"; Description: "Launch ADS {#Edition}"; Flags: nowait postinstall skipifsilent
|