Added basic installer

This commit is contained in:
Tibe Habils
2023-03-26 14:22:42 +00:00
committed by Dries Van Schuylenbergh
parent f69e2385fc
commit d3af75f676
3 changed files with 57 additions and 0 deletions

Binary file not shown.

6
Installer/README.txt Normal file
View File

@@ -0,0 +1,6 @@
How to use the installer script:
- Download Inno setup compiler
- Open WeSignInstaller.iss in the Inno Setup Compiler
- Change the '#define MyAppDirectory = ""' to the appropriate path
- Press the play button to compile the script

View File

@@ -0,0 +1,51 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "WeSign"
#define MyAppVersion "0.3"
#define MyAppPublisher "WeSign, Inc."
#define MyAppExeName "unity-application.exe"
#define MyAppDirectory ""
[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={{D87BE378-88A5-47FE-BDEB-E592EEBA5BC1}
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
OutputBaseFilename=WeSignInstaller
Compression=lzma
SolidCompression=yes
WizardStyle=modern
[Languages]
Name: "dutch"; MessagesFile: "compiler:Languages\Dutch.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Dirs]
Name: "{app}\unity-application_Data"
[Files]
Source: "{#MyAppDirectory}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#MyAppDirectory}\UnityPlayer.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#MyAppDirectory}\unity-application_Data\*"; DestDir: "{app}\unity-application_Data"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#MyAppDirectory}\MonoBleedingEdge\*"; DestDir: "{app}\MonoBleedingEdge"; 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