This adds the openLP version number into the windows uninstaller registry keys. Inno setup does all the heavy lifting, all we had to do was tell the inno iss script the openLP version number.

bzr-revno: 23
Fixes: https://launchpad.net/bugs/1488081
This commit is contained in:
urs.rau@gmail.com 2015-08-28 20:28:25 +02:00 committed by Raoul Snyman
commit 6c3619f246
1 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,7 @@
#define AppName "OpenLP" #define AppName "OpenLP"
#define AppVerName "OpenLP %(display_version)s" #define AppVerName "OpenLP %(display_version)s"
#define AppVersion "%(display_version)s"
#define AppPublisher "OpenLP Developers" #define AppPublisher "OpenLP Developers"
#define AppURL "http://openlp.org/" #define AppURL "http://openlp.org/"
#define AppExeName "OpenLP.exe" #define AppExeName "OpenLP.exe"
@ -18,7 +19,8 @@
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppID={{AA7699FA-B2D2-43F4-8A70-D497D03C9485} AppID={{AA7699FA-B2D2-43F4-8A70-D497D03C9485}
AppName={#AppName} AppName={#AppName}
AppVerName={#AppVerName} AppVerName={cm:NameAndVersion,{#AppName},{#AppVersion}}
AppVersion={#AppVersion}
AppPublisher={#AppPublisher} AppPublisher={#AppPublisher}
AppPublisherURL={#AppURL} AppPublisherURL={#AppURL}
AppSupportURL={#AppURL} AppSupportURL={#AppURL}
@ -32,6 +34,7 @@ OutputBaseFilename=OpenLP-{#RealVersion}-setup
Compression=lzma/Max Compression=lzma/Max
SolidCompression=true SolidCompression=true
SetupIconFile=OpenLP.ico SetupIconFile=OpenLP.ico
VersionInfoVersion={#AppVersion}
WizardImageFile=WizImageBig.bmp WizardImageFile=WizImageBig.bmp
WizardSmallImageFile=WizImageSmall.bmp WizardSmallImageFile=WizImageSmall.bmp
ChangesAssociations=true ChangesAssociations=true