From 7f541dca0b5a0b87a47b6ba93c5867cb5e1b3852 Mon Sep 17 00:00:00 2001 From: Shubham Shinde Date: Fri, 13 Sep 2024 10:59:05 +0530 Subject: [PATCH] (PA-6543) Bump wixtoolset to 3.14.1 in puppet-agent main We use '--ignore-dependencies' flag to install wixtoolset since it depends on DotNet3.5 which breaks when installing: wixtoolset/issues#5523. Seems we don't need it for our use case, we can leave it out. --- configs/platforms/windows-2012r2-x64.rb | 2 +- configs/platforms/windows-2012r2-x86.rb | 2 +- configs/platforms/windowsfips-2012r2-x64.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/platforms/windows-2012r2-x64.rb b/configs/platforms/windows-2012r2-x64.rb index 758119b533..fd554f4f21 100644 --- a/configs/platforms/windows-2012r2-x64.rb +++ b/configs/platforms/windows-2012r2-x64.rb @@ -10,7 +10,7 @@ plat.provision_with "C:/ProgramData/chocolatey/bin/choco.exe upgrade -y chocolatey --no-progress" plat.provision_with "C:/ProgramData/chocolatey/bin/choco.exe sources remove -name chocolatey" - plat.provision_with "C:/ProgramData/chocolatey/bin/choco.exe install -y Wix310 -version 3.10.2 -debug -x86 --no-progress" + plat.provision_with "C:/ProgramData/chocolatey/bin/choco.exe install -y wixtoolset -version 3.14.1 -debug -x86 --no-progress --ignore-dependencies" plat.install_build_dependencies_with "C:/ProgramData/chocolatey/bin/choco.exe install -y --no-progress" diff --git a/configs/platforms/windows-2012r2-x86.rb b/configs/platforms/windows-2012r2-x86.rb index e4f7180edd..866b874066 100644 --- a/configs/platforms/windows-2012r2-x86.rb +++ b/configs/platforms/windows-2012r2-x86.rb @@ -10,7 +10,7 @@ plat.provision_with "C:/ProgramData/chocolatey/bin/choco.exe upgrade -y chocolatey --no-progress" plat.provision_with "C:/ProgramData/chocolatey/bin/choco.exe sources remove -name chocolatey" - plat.provision_with "C:/ProgramData/chocolatey/bin/choco.exe install -y Wix310 -version 3.10.2 -debug -x86 --no-progress" + plat.provision_with "C:/ProgramData/chocolatey/bin/choco.exe install -y wixtoolset -version 3.14.1 -debug -x86 --no-progress --ignore-dependencies" plat.install_build_dependencies_with "C:/ProgramData/chocolatey/bin/choco.exe install -y --no-progress" diff --git a/configs/platforms/windowsfips-2012r2-x64.rb b/configs/platforms/windowsfips-2012r2-x64.rb index 0bb1018ce6..3c6e8f1462 100644 --- a/configs/platforms/windowsfips-2012r2-x64.rb +++ b/configs/platforms/windowsfips-2012r2-x64.rb @@ -14,7 +14,7 @@ #FIXME we need Fips Compliant Wix, currently not in choco repositories #plat.provision_with "C:/ProgramData/chocolatey/bin/choco.exe install -y Wix310 -version 3.10.2 -debug -x86 --no-progress" - plat.provision_with "curl -L -o /tmp/wix314-binaries.zip https://artifactory.delivery.puppetlabs.net/artifactory/generic/buildsources/windows/wix3/wix3.14.0.6526-binaries.zip && \"C:/Program Files/7-Zip/7z.exe\" x -y -o\"C:/Program Files (x86)/WiX Toolset v3.14/bin\" C:/cygwin64/tmp/wix314-binaries.zip && rm /tmp/wix314-binaries.zip && SETX WIX \"C:\\Program Files (x86)\\WiX Toolset v3.14\" /M" + plat.provision_with "curl -L -o /tmp/wix314-binaries.zip https://artifactory.delivery.puppetlabs.net/artifactory/generic__buildsources/buildsources/wix314-binaries.zip && \"C:/Program Files/7-Zip/7z.exe\" x -y -o\"C:/Program Files (x86)/WiX Toolset v3.14/bin\" C:/cygwin64/tmp/wix314-binaries.zip && rm /tmp/wix314-binaries.zip && SETX WIX \"C:\\Program Files (x86)\\WiX Toolset v3.14\" /M" plat.install_build_dependencies_with "C:/ProgramData/chocolatey/bin/choco.exe install -y --no-progress"