mirror of
https://github.com/Linloir/Simple-TCP-Client.git
synced 2025-12-17 00:38:11 +08:00
Add Inno Setup
This commit is contained in:
parent
273f93d3a1
commit
36769204a9
61
inno_setup.iss
Normal file
61
inno_setup.iss
Normal file
@ -0,0 +1,61 @@
|
||||
; Script generated by the Inno Setup Script Wizard.
|
||||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||
|
||||
#define MyAppName "LChatClient"
|
||||
#define MyAppVersion "1.0"
|
||||
#define MyAppPublisher "Linloir"
|
||||
#define MyAppExeName "LChatClient.exe"
|
||||
#define MyAppComp "com.linloir"
|
||||
|
||||
[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={{45C34500-34D4-4E59-A222-5BD12A410F98}
|
||||
AppName={#MyAppName}
|
||||
AppVersion={#MyAppVersion}
|
||||
;AppVerName={#MyAppName} {#MyAppVersion}
|
||||
AppPublisher={#MyAppPublisher}
|
||||
DefaultDirName={autopf}\{#MyAppName}
|
||||
DisableProgramGroupPage=yes
|
||||
; Uncomment the following line to run in non administrative install mode (install for current user only.)
|
||||
;PrivilegesRequired=lowest
|
||||
PrivilegesRequiredOverridesAllowed=dialog
|
||||
OutputDir=C:\Users\Linloir\Desktop\lchatclientcompiler
|
||||
OutputBaseFilename=mysetup
|
||||
Compression=lzma
|
||||
SolidCompression=yes
|
||||
WizardStyle=modern
|
||||
|
||||
[Languages]
|
||||
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||
|
||||
[Tasks]
|
||||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||
|
||||
[Files]
|
||||
Source: "E:\Repositories\CollegeProjects\tcp_client\build\windows\runner\Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "E:\Repositories\CollegeProjects\tcp_client\build\windows\runner\Release\data\*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
Source: "E:\Repositories\CollegeProjects\tcp_client\build\windows\runner\Release\flutter_windows.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "E:\Repositories\CollegeProjects\tcp_client\build\windows\runner\Release\window_manager_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "E:\Repositories\CollegeProjects\tcp_client\build\windows\runner\Release\screen_retriever_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "E:\Repositories\CollegeProjects\tcp_client\build\windows\runner\Release\LChatClient.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||
|
||||
[Dirs]
|
||||
Name: "{userappdata}\{#MyAppComp}\{#MyAppName}"; Flags: uninsalwaysuninstall
|
||||
Name: "{userdocs}\{#MyAppName}"; Flags: uninsalwaysuninstall
|
||||
|
||||
[Icons]
|
||||
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
||||
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
||||
|
||||
[UninstallDelete]
|
||||
Type: filesandordirs; Name: "{userdocs}\{#MyAppName}\*"
|
||||
Type: filesandordirs; Name: "{userdocs}\{#MyAppName}"
|
||||
Type: filesandordirs; Name: "{userappdata}\{#MyAppComp}\{#MyAppName}\*"
|
||||
Type: filesandordirs; Name: "{userappdata}\{#MyAppComp}\{#MyAppName}"
|
||||
Type: dirifempty; Name: "{userappdata}\{#MyAppComp}"
|
||||
|
||||
[Run]
|
||||
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
|
||||
|
||||
@ -94,8 +94,8 @@ BEGIN
|
||||
VALUE "FileVersion", VERSION_AS_STRING "\0"
|
||||
VALUE "InternalName", "LChatClient" "\0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2022 com.linloir. All rights reserved." "\0"
|
||||
VALUE "OriginalFilename", "LCatClient.exe" "\0"
|
||||
VALUE "ProductName", "LCatClient" "\0"
|
||||
VALUE "OriginalFilename", "LChatClient.exe" "\0"
|
||||
VALUE "ProductName", "LChatClient" "\0"
|
||||
VALUE "ProductVersion", VERSION_AS_STRING "\0"
|
||||
END
|
||||
END
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user