Hello,
I have defined a custom action to be executed *BEFORE* the LaunchConditions 
action in the following way:
<InstallUISequence>
<Custom Action="FixNetFramework45" Before="LaunchConditions" />
</InstallUISequence>
<InstallExecuteSequence>
<Custom Action="FixNetFramework45" Before="LaunchConditions" />
</InstallExecuteSequence>

I use WiX 3.9 and want to validate that I have .NET 4.5.2 installed. For this I 
like to compare numerical values to allow any 4.5.2 or greater:
<Condition Message="This application requires .NET Framework 4.5.2. Please 
install the .NET Framework then run this installer again.">
<![CDATA[Installed OR (NETFRAMEWORK45 >= $(var.NetFx452MinRelease))]]>
</Condition>

I see that when I run my setup with UI then everything works as expected. 
However, when I launch it in silent mode: msiexec.exe /i mysetup.msi /qn
the setup fails due .NET 4.5.2 validation condition and my custom action isn't 
launched.

Please, advise how do I enforce custom action to be launched before 
LaunchConditions in silent setup.

Thank you,
Leonid, Yankulin
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to