Skip to content

Commit

Permalink
Fix innosetup script to work with version string
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold872 committed Oct 6, 2024
1 parent 7ca4e87 commit 6e099c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions installer_setup_script.iss
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
#define MyAppPublisher "Gold87"
#define MyAppURL "https://github.com/gold872/elastic-dashboard/"
#define MyAppExeName "elastic_dashboard.exe"
#define ApplicationVersion GetStringFileInfo('build\windows\x64\runner\Release\elastic_dashboard.exe', 'ProductVersion')
#define AppVersionName GetStringFileInfo('build\windows\x64\runner\Release\elastic_dashboard.exe', 'ProductVersion')
#define ApplicationVersion GetVersionNumbersString('build\windows\x64\runner\Release\elastic_dashboard.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={{2746922E-A2AC-4987-AF02-714F429C7C77}
AppName={#MyAppName}
AppVersion={#ApplicationVersion}
AppVerName={#MyAppName} {#ApplicationVersion}
AppVerName={#MyAppName} {#AppVersionName}
VersionInfoVersion={#ApplicationVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
Expand Down

0 comments on commit 6e099c8

Please sign in to comment.