[wix-users] NETFRAMEWORK45 not being set?

Slide slide.o.mix at gmail.com
Mon Jul 30 12:59:21 PDT 2018


After reading several more blog posts, I am reworking several things about
my installer. It seems like there are several changes that are needed. This
aspect is working now. On to other issues.

Thanks,

Alex

On Mon, Jul 30, 2018 at 9:24 AM Slide <slide.o.mix at gmail.com> wrote:

> I did a search in the log file (run with /l*v) and I don't see anything
> about AppSearch. I also tried with
> WIX_IS_NETFRAMEWORK_452_OR_LATER_INSTALLED and it shows up as empty as well.
>
> On Mon, Jul 30, 2018 at 9:07 AM Bob Arnson <bob at firegiant.com> wrote:
>
>> Check a verbose log around the AppSearch action. You should also consider
>> using WIX_IS_NETFRAMEWORK_452_OR_LATER_INSTALLED instead.
>>
>> -----Original Message-----
>> 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
>> NETFRAMEWORK45>="#379893")]]></Condition>
>>
>> If I do something like
>>
>> <Condition Message="NETFRAMEWORK45=[NETFRAMEWORK45]">0</Condition>
>>
>> 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 3.11.1.2318.
>>
>> 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 mailing list