-
Notifications
You must be signed in to change notification settings - Fork 2
/
installer.iss
50 lines (44 loc) · 2.2 KB
/
installer.iss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define NAME "CSAuto"
#define EXE_NAME "CSAuto.exe"
#define InstallPath "{userappdata}"
#define AppWebsite "https://csauto.vercel.app/"
#define APP_VERSION GetStringFileInfo("src\CSAuto\bin\release\CSAuto.exe",PRODUCT_VERSION)
[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={{F5E4D811-7A92-47F9-BEEC-B6751463D69B}
AppName={#NAME}
AppVersion={#APP_VERSION}
AppPublisherURL={#AppWebsite}
AppSupportURL={#AppWebsite}
AppUpdatesURL={#AppWebsite}
AppPublisher=Murky
Compression=lzma
LicenseFile=LICENSE
DisableProgramGroupPage=yes
DefaultDirName={#InstallPath}\{#NAME}
OutputBaseFilename={#NAME}_Installer
PrivilegesRequired=lowest
SolidCompression=yes
SetupIconFile=src\CSAuto\Icons\main.ico
WizardSmallImageFile=Docs\assets\smallimage.bmp
UninstallDisplayIcon={app}\{#EXE_NAME}
UninstallDisplayName={#NAME} {#APP_VERSION}
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags:
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags:
[Files]
Source: "src\CSAuto\bin\Release\*.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "src\CSAuto\bin\Release\resource\*.pac"; DestDir: "{app}\resource"; Flags: ignoreversion
Source: "src\CSAuto\bin\Release\bin\*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{autoprograms}\{#NAME}"; Filename: "{app}\{#EXE_NAME}"
Name: "{autodesktop}\{#NAME}"; Filename: "{app}\{#EXE_NAME}"; Comment: "Counter-Strike 2 companion that automates in game tasks, such as, accepting match, buying items and many more!"; Tasks: desktopicon
[Run]
Filename: "{app}\{#EXE_NAME}"; Description: "{cm:LaunchProgram,{#StringChange(NAME, '&', '&&')}}"; Flags: nowait postinstall skipifsilent