Dynamic version replacement on build

This commit is contained in:
Martin 2014-06-06 23:06:59 +02:00
parent 61f782a3cf
commit 5601658728
3 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:util='http://schemas.microsoft.com/wix/UtilExtension' xmlns:firewall='http://schemas.microsoft.com/wix/FirewallExtension'>
<?include $(sys.CURRENTDIR)\urbackup.wxi?>
<Product Id='$(var.ProductID)' Name='UrBackup Client' Language='1033'
Version='$version_full$.0' Manufacturer='Martin Raiber' UpgradeCode='87d7bb18-2091-4876-a8de-0c47f7d2e052'>
Version='$version_full_numeric$' Manufacturer='Martin Raiber' UpgradeCode='87d7bb18-2091-4876-a8de-0c47f7d2e052'>
<Package Description='Client for UrBackup Server'
Comments='Client for UrBackup Server. Allows file and image backups'
Manufacturer='Martin Raiber' InstallerVersion='300' Compressed='yes' Platform='$(var.Platform)'/>

View File

@ -1,4 +1,4 @@
!define MUI_BRANDINGTEXT "UrBackup Client $client_short$"
!define MUI_BRANDINGTEXT "UrBackup Client $version_short$"
!include "${NSISDIR}\Contrib\Modern UI\System.nsh"
!include WinVer.nsh
!include "x64.nsh"
@ -7,8 +7,8 @@
SetCompressor /FINAL /SOLID lzma
CRCCheck On
Name "UrBackup Client $client_short$"
OutFile "UrBackup Client NoTray $client_short$.exe"
Name "UrBackup Client $version_short$"
OutFile "UrBackup Client NoTray $version_short$.exe"
InstallDir "$PROGRAMFILES\UrBackup"
RequestExecutionLevel highest

View File

@ -7,7 +7,7 @@
SetCompressor /FINAL lzma
CRCCheck off
Name "UrBackup Client $client_short$"
Name "UrBackup Client $version_short$"
OutFile "UrBackupUpdate.exe"
InstallDir "$PROGRAMFILES\UrBackup"
RequestExecutionLevel highest