From 80eb61b7bf0586513ae0fa517d3cc612064c9d64 Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Tue, 20 Apr 2021 22:37:10 +0200 Subject: [PATCH] (#842) added a check for NET Framework 4.8 in the installer. --- .../ChocolateyGui.Install.wixproj | 1 + Source/ChocolateyGui.Install/NetFx48.wxs | 24 +++++++++++++++++++ Source/ChocolateyGui.Install/Product.wxs | 6 ++--- 3 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 Source/ChocolateyGui.Install/NetFx48.wxs diff --git a/Source/ChocolateyGui.Install/ChocolateyGui.Install.wixproj b/Source/ChocolateyGui.Install/ChocolateyGui.Install.wixproj index b639ec9a9..0b92c75cd 100644 --- a/Source/ChocolateyGui.Install/ChocolateyGui.Install.wixproj +++ b/Source/ChocolateyGui.Install/ChocolateyGui.Install.wixproj @@ -39,6 +39,7 @@ $(DefineConstants);GuiProjectFolder=$(_GuiProjectFolder);GuiTargetDir=$(_GuiTargetDir);GuiCliProjectFolder=$(_GuiCliProjectFolder);GuiCliTargetDir=$(_GuiCliTargetDir) + diff --git a/Source/ChocolateyGui.Install/NetFx48.wxs b/Source/ChocolateyGui.Install/NetFx48.wxs new file mode 100644 index 000000000..c8dedb640 --- /dev/null +++ b/Source/ChocolateyGui.Install/NetFx48.wxs @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + WIXNETFX4RELEASEINSTALLED >= "#$(var.NetFx48MinRelease)" + + + diff --git a/Source/ChocolateyGui.Install/Product.wxs b/Source/ChocolateyGui.Install/Product.wxs index ca58aab01..19dfb511c 100644 --- a/Source/ChocolateyGui.Install/Product.wxs +++ b/Source/ChocolateyGui.Install/Product.wxs @@ -11,12 +11,12 @@ - + - - + +