InvisibleManVPN / InvisibleMan-XRayClient

A client for xray core
MIT License
247 stars 31 forks source link

Create setup exe of msi package #84

Open lifeindarkside opened 9 months ago

lifeindarkside commented 9 months ago

Please pack all versions into one installation file (not zip). Zip package is a portable version. For example: this is some script to create installation package in InnoSetup.

#define MyAppName "Invisible Man XRay"
#define MyAppVersion "1.4.4"
#define MyAppPublisher "InvisibleManVPN"
#define MyAppURL "https://github.com/InvisibleManVPN/InvisibleMan-XRayClient"
#define MyAppExeName "Invisible Man XRay.exe"

[Setup]
AppId={{50A3EAE9-433E-40AA-9FE5-B410ED230B17}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={userappdata}\{#MyAppName}
DisableProgramGroupPage=yes
PrivilegesRequired=lowest
OutputDir=\out
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: checked

[Files]
Source: "\InvisibleManXRay-x64\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "\InvisibleManXRay-x64\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs

[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
Kennix88 commented 9 months ago

I support it! This will simplify the installation task for customers.

iambabyninja commented 9 months ago

Yes 👍❤️

InvisibleManVPN commented 9 months ago

Hello @lifeindarkside! That's great. I will add it to the features list and try to work on it.