diff --git a/Installer/Output/WeSignInstaller.exe b/Installer/Output/WeSignInstaller.exe new file mode 100644 index 0000000..7e45e74 Binary files /dev/null and b/Installer/Output/WeSignInstaller.exe differ diff --git a/Installer/README.txt b/Installer/README.txt new file mode 100644 index 0000000..683e517 --- /dev/null +++ b/Installer/README.txt @@ -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 diff --git a/Installer/WeSignInstaller.iss b/Installer/WeSignInstaller.iss new file mode 100644 index 0000000..419cf38 --- /dev/null +++ b/Installer/WeSignInstaller.iss @@ -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 +