From 42e9087bd77657f4734fd130f182d4573376428a Mon Sep 17 00:00:00 2001 From: Tristan Labelle Date: Fri, 13 Oct 2023 15:11:00 -0400 Subject: [PATCH 1/2] Install the VC++ redistributable --- platforms/Windows/bundle/installer.wixproj | 2 ++ platforms/Windows/bundle/installer.wxs | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/platforms/Windows/bundle/installer.wixproj b/platforms/Windows/bundle/installer.wixproj index 0e8d95cb..63ac34ef 100644 --- a/platforms/Windows/bundle/installer.wixproj +++ b/platforms/Windows/bundle/installer.wixproj @@ -4,6 +4,8 @@ $(BundleCompressionLevel) $(DefineConstants); + VCREDIST_INSTALLER=$(VCREDIST_INSTALLER); + VCREDIST_VERSION=$(VCREDIST_VERSION); INCLUDE_X86_SDK=$(INCLUDE_X86_SDK); INCLUDE_ARM64_SDK=$(INCLUDE_ARM64_SDK); diff --git a/platforms/Windows/bundle/installer.wxs b/platforms/Windows/bundle/installer.wxs index 95f0a17a..e49d3cd9 100644 --- a/platforms/Windows/bundle/installer.wxs +++ b/platforms/Windows/bundle/installer.wxs @@ -59,6 +59,25 @@ --> + + + + + + + Date: Fri, 13 Oct 2023 17:05:29 -0400 Subject: [PATCH 2/2] Updated to and sourcing the download from aka.ms --- platforms/Windows/bundle/installer.wixproj | 6 ++++-- platforms/Windows/bundle/installer.wxs | 19 +++++-------------- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/platforms/Windows/bundle/installer.wixproj b/platforms/Windows/bundle/installer.wixproj index 63ac34ef..c5a70d9d 100644 --- a/platforms/Windows/bundle/installer.wixproj +++ b/platforms/Windows/bundle/installer.wixproj @@ -2,10 +2,12 @@ Bundle $(BundleCompressionLevel) + $(VSVersion.Split('.')[0]) + https://aka.ms/vs/$(VSMajorVersion)/release/vc_redist.$(ProductArchitecture).exe $(DefineConstants); - VCREDIST_INSTALLER=$(VCREDIST_INSTALLER); - VCREDIST_VERSION=$(VCREDIST_VERSION); + VCRedistInstaller=$(VCRedistInstaller); + VCRedistDownloadUrl=$(VCRedistDownloadUrl); INCLUDE_X86_SDK=$(INCLUDE_X86_SDK); INCLUDE_ARM64_SDK=$(INCLUDE_ARM64_SDK); diff --git a/platforms/Windows/bundle/installer.wxs b/platforms/Windows/bundle/installer.wxs index e49d3cd9..a3ce5e4f 100644 --- a/platforms/Windows/bundle/installer.wxs +++ b/platforms/Windows/bundle/installer.wxs @@ -59,23 +59,14 @@ --> - - + - - - + DownloadUrl="$(VCRedistDownloadUrl)"> +