From 18352bb4c8458e156d156311cad012f9a1ec3c7b Mon Sep 17 00:00:00 2001 From: dbuechel Date: Fri, 26 Jul 2019 12:58:07 +0200 Subject: [PATCH] SEBWIN-300: Extended setup to use file version as product version and added setup artifact to CI build. --- Setup/Components/Application.xslt | 16 ++++++++++++++++ Setup/Product.wxs | 3 ++- Setup/Setup.wixproj | 6 +++--- appveyor.yml | 9 ++++++--- 4 files changed, 27 insertions(+), 7 deletions(-) create mode 100644 Setup/Components/Application.xslt diff --git a/Setup/Components/Application.xslt b/Setup/Components/Application.xslt new file mode 100644 index 00000000..415e819b --- /dev/null +++ b/Setup/Components/Application.xslt @@ -0,0 +1,16 @@ + + + + + + + + + + + + MainExecutable + + + + \ No newline at end of file diff --git a/Setup/Product.wxs b/Setup/Product.wxs index 75fa99cd..371b871a 100644 --- a/Setup/Product.wxs +++ b/Setup/Product.wxs @@ -1,6 +1,7 @@ - + diff --git a/Setup/Setup.wixproj b/Setup/Setup.wixproj index 3dc273bb..959df31c 100644 --- a/Setup/Setup.wixproj +++ b/Setup/Setup.wixproj @@ -61,6 +61,7 @@ + @@ -70,11 +71,10 @@ - "$(WIX)bin\heat.exe" dir "$(SolutionDir)SafeExamBrowser.Runtime\bin\$(PlatformName)\$(ConfigurationName)" -nologo -gg -g1 -srd -cg ApplicationComponents -dr ApplicationDirectory -sfrag -var var.SafeExamBrowser.Runtime.TargetDir -out $(ProjectDir)Components\Application.wxs + "$(WIX)bin\heat.exe" dir "$(SolutionDir)SafeExamBrowser.Runtime\bin\$(PlatformName)\$(ConfigurationName)" -nologo -ag -g1 -srd -cg ApplicationComponents -dr ApplicationDirectory -sfrag -var var.SafeExamBrowser.Runtime.TargetDir -out $(ProjectDir)Components\Application.wxs -t $(ProjectDir)Components\Application.xslt - cd $(SolutionDir) -git checkout -- Setup/Components/Application.wxs + git -C $(SolutionDir) checkout -- Setup/Components/Application.wxs