[wix-users] NETFRAMEWORK45 not being set?
bob at firegiant.com
Mon Jul 30 09:07:48 PDT 2018
Check a verbose log around the AppSearch action. You should also consider using WIX_IS_NETFRAMEWORK_452_OR_LATER_INSTALLED instead.
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Slide via wix-users
Sent: Monday, 30 July, 2018 11:59
To: wix-users at lists.wixtoolset.org
Cc: Slide <slide.o.mix at gmail.com>
Subject: [wix-users] NETFRAMEWORK45 not being set?
I am new to working with Wix in many ways and I am trying to update an installer for IronPython to check for .NET Framework 4.5.2. We are already using the WixNetFxExtension to do some ngen on our assemblies and that is working. What I am having an issue with is that NETFRAMEWORK45 is not being set, so in my launch condition check for .NET Framework 4.5.2, it always fails, even if it is installed. I have the following
<PropertyRef Id="NETFRAMEWORK45" />
Then later in my launch conditions, I have the following:
<Condition Message="[ProductName] requires .NET Framework 4.5.2 or later."><![CDATA[Installed OR (NETFRAMEWORK45 AND
If I do something like
NETFRAMEWORK45 is empty
I have been searching for how to fix this and haven't found anything that works. I have attached the install log (run with /l*v).
I am using Wix 126.96.36.1998.
The full code for the installer can be seen at https://github.com/slide/ironpython2/tree/installer_fixes/Package/msi
Thanks very much for any help!
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users