diff --git a/appveyor.yml b/appveyor.yml index 1b671850..01d201fc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 0.0.0.{build} +version: 0.0.{build}.0 clone_depth: 1 diff --git a/scripts/generate-installers.bat b/scripts/generate-installers.bat index 379e364a..f6e931e2 100644 --- a/scripts/generate-installers.bat +++ b/scripts/generate-installers.bat @@ -12,6 +12,11 @@ if /I "%BUILD_CONFIG%"=="debug" ( ) else ( if /I "%BUILD_CONFIG%"=="release" ( set BUILD_CONFIG=release + + if /I "%APPVEYOR%"=="True" ( + echo Stamping with AppVeyor version: %APPVEYOR_BUILD_VERSION% + echo | set /p dummyName="%APPVEYOR_BUILD_VERSION%" > app\version.txt + ) ) else ( if /I "%BUILD_CONFIG%"=="signed-release" ( set BUILD_CONFIG=release diff --git a/wix/Moonlight/Product.wxs b/wix/Moonlight/Product.wxs index f306eeb8..53e92b9f 100644 --- a/wix/Moonlight/Product.wxs +++ b/wix/Moonlight/Product.wxs @@ -1,11 +1,21 @@ + + + + + + + + + + + - + UpgradeCode="$(var.UpgradeCode)"> @@ -62,7 +72,7 @@ WorkingDirectory="INSTALLFOLDER" /> - + @@ -74,7 +84,7 @@ WorkingDirectory="INSTALLFOLDER" /> + + + + + + + + + + + + - - + - +