diff --git a/.gitignore b/.gitignore index 21079ac3e154a23a3d223c050e17527cf5966f75..d63c568117443d634f055b1ebb3c33a23102799d 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,5 @@ __pycache__/ *.7z *.rar build/ -dist/ \ No newline at end of file +dist/ +Output/ \ No newline at end of file diff --git a/fossils.iss b/fossils.iss new file mode 100644 index 0000000000000000000000000000000000000000..fcc9cc4c68d66b7549e93a64defd4f60f276c4b0 --- /dev/null +++ b/fossils.iss @@ -0,0 +1,48 @@ +; Script generated by the Inno Setup Script Wizard. +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! + +#define MyAppName "Fossils" +#define MyAppVersion "1.0" +#define MyAppPublisher "University of Liège" +#define MyAppURL "https://gitlab.uliege.be/rboman/fossils" +#define MyAppExeName "fossils.exe" + +[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={{F8231335-E478-41DD-80F0-187E89813CEA} +AppName={#MyAppName} +AppVersion={#MyAppVersion} +;AppVerName={#MyAppName} {#MyAppVersion} +AppPublisher={#MyAppPublisher} +AppPublisherURL={#MyAppURL} +AppSupportURL={#MyAppURL} +AppUpdatesURL={#MyAppURL} +DefaultDirName={autopf}\{#MyAppName} +DisableProgramGroupPage=yes +; Remove the following line to run in administrative install mode (install for all users.) +PrivilegesRequired=lowest +PrivilegesRequiredOverridesAllowed=dialog +OutputBaseFilename=fossilsetup +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: "D:\dev\fossils\dist\fossils\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion +Source: "D:\dev\fossils\dist\fossils\*"; DestDir: "{app}"; 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 +