[wix-users] WIX_IS_NETFRAMEWORK_45_OR_LATER_INSTALLED not set when run in silent mode

Sudripta Nandy sudriptan at sarangsoft.co.in
Thu May 25 23:03:56 PDT 2017


Hello All,
    I want to check for .NET Framework 4.5 or higher in my setup program. I used the property reference and condition as follows:

<PropertyRef Id="WIX_IS_NETFRAMEWORK_45_OR_LATER_INSTALLED"/>

<Condition Message="!(loc.AONetVersionMinWarn)">
  <![CDATA[WIX_IS_NETFRAMEWORK_45_OR_LATER_INSTALLED]]>
</Condition>

    When I run the setup normally, this property is set and the condition works perfectly. But, if I run the set in quiet mode with the /quiet option, this property is not set and the condition is hit which results in setup failure. If I run the setup using some unattended mode like from GPO etc., the setup also fails on this condition.

    Am I missing something or doing something wrong? Any ideas regarding how to fix this issue.

Thanking You,
With Regards,
// Sudripta Nandy
S.D.E (Systems Programming),
Visit: http://www.sarangsoft.com/




More information about the wix-users mailing list