comparison deploy/win64/generate-wxs.ps1 @ 2549:8ac67c315afa

The installer file doesn't permit -pre in version string
author Chris Cannam
date Mon, 18 May 2020 15:29:46 +0100
parents 692cd6d3144d
children
comparison
equal deleted inserted replaced
2548:6f7065085911 2549:8ac67c315afa
11 exit 1 11 exit 1
12 } 12 }
13 13
14 $redist_ver = $redists[-1] 14 $redist_ver = $redists[-1]
15 15
16 $version = (Get-Content version.h) -replace '#define SV_VERSION ','' -replace '"','' 16 $version = (Get-Content version.h) -replace '#define SV_VERSION ','' -replace '"','' -replace '-pre.*',''
17 $wxs = "deploy\win64\sonic-visualiser.wxs" 17 $wxs = "deploy\win64\sonic-visualiser.wxs"
18 18
19 $in = "$wxs.in" 19 $in = "$wxs.in"
20 20
21 $redist_dir="$redist_parent_dir\$redist_ver\x64\Microsoft.VC142.CRT" 21 $redist_dir="$redist_parent_dir\$redist_ver\x64\Microsoft.VC142.CRT"