Skip to content

Commit

Permalink
Update to Inno Setup Complier file. Now using v6.x of Inno.
Browse files Browse the repository at this point in the history
Added a global define into the file for the version number, much easier to update on new version releases now. This define DOES require version 6.x+ of Inno Setup Installer.

Also changed the installer style to use a more modern look. Yes! I know! It goes against everything that Palaeoware stands for :P
  • Loading branch information
alanspencer committed Jun 17, 2020
1 parent cfb4b3f commit f75be6e
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions inno/SPIERSinstaller.iss
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define AppVersion "3.1.1"

[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={{5697A906-8437-4059-B440-37D00BAA0C0F}
AppId={{D38E919F-9009-4B10-9424-460EF255A6EC}
AppName=SPIERS
AppVersion=3.1.0
;AppVerName=SPIERS 3.1.0
AppVersion={#AppVersion}
;AppVerName={#AppVersion}
AppPublisher=SPIERS Software by Palaeoware
AppPublisherURL=https://spiers-software.org/
AppSupportURL=https://spiers-software.org/
AppUpdatesURL=https://spiers-software.org/
DefaultDirName={pf}\Palaeoware\SPIERS\v3.1.0
DefaultDirName={commonpf}\Palaeoware\SPIERS\v{#AppVersion}
DefaultGroupName=Palaeoware\SPIERS
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64
LicenseFile=.\bin\LICENSE.md
OutputDir=.\build
OutputBaseFilename=SPIERSinstaller_v3.1.0_win_x64
OutputBaseFilename=SPIERSinstaller_v{#AppVersion}_win_x64
Compression=lzma
SolidCompression=yes
ChangesAssociations=yes
Expand All @@ -28,6 +30,7 @@ AppContact=palaeoware@gmail.com
AppComments=SPIERS (Serial Palaeontological Image Editing and Rendering System) is a package of three programs for the reconstruction and analysis of tomographic (serial image) datasets, such as those obtained from serial-grinding of specimens, or from CT scanning. More details are available in the documentation for each program.
BackColor=$3e3e3e
BackColor2=$3e3e3e
WizardStyle=modern

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Expand All @@ -37,10 +40,10 @@ Source: ".\bin\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createa
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\SPIERSalign (v3.1.0)"; Filename: "{app}\SPIERSalign64.exe";
Name: "{group}\SPIERSedit (v3.1.0)"; Filename: "{app}\SPIERSedit64.exe";
Name: "{group}\SPIERSview (v3.1.0)"; Filename: "{app}\SPIERSview64.exe";
Name: "{group}\Uninstall SPIERS (v3.1.0)"; Filename: "{uninstallexe}"
Name: "{group}\SPIERSalign (v{#AppVersion})"; Filename: "{app}\SPIERSalign64.exe";
Name: "{group}\SPIERSedit (v{#AppVersion})"; Filename: "{app}\SPIERSedit64.exe";
Name: "{group}\SPIERSview (v{#AppVersion})"; Filename: "{app}\SPIERSview64.exe";
Name: "{group}\Uninstall SPIERS (v{#AppVersion})"; Filename: "{uninstallexe}"

[Registry]
Root: HKCR; Subkey: ".spv"; ValueType: string; ValueName: ""; ValueData: "SPIERSviewfile"; Flags: uninsdeletevalue
Expand Down

0 comments on commit f75be6e

Please sign in to comment.