From f81509a892e25f912268c7897756f96527fd0756 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 29 Nov 2020 20:24:23 -0600 Subject: [PATCH] Download VCRedist on demand rather than always bundling it in the installer --- wix/MoonlightSetup/Bundle.wxs | 56 ++++++++++++++++++++++++++++++++--- 1 file changed, 52 insertions(+), 4 deletions(-) diff --git a/wix/MoonlightSetup/Bundle.wxs b/wix/MoonlightSetup/Bundle.wxs index a99e840f..4fc7a005 100644 --- a/wix/MoonlightSetup/Bundle.wxs +++ b/wix/MoonlightSetup/Bundle.wxs @@ -1,5 +1,13 @@ + + + + + + + + @@ -54,6 +62,16 @@ Value="DesktopShortcutInstallState" Condition="HasDesktopShortcutInstallStateRegKey" /> + + + + - + InstallCommand="/install /quiet /norestart" + DownloadUrl="https://moonlight-stream.org/downloads/vcredist/$(var.VCREDIST_VER)/vcredist_x86.exe" + InstallCondition="NOT VersionNT64" + DetectCondition="VCREDIST_142_x86 >= v$(var.VCREDIST_VER)"> + + + + + + + + + + + +