May 17, 2016 at 2:42 AM
Edited May 17, 2016 at 2:43 AM
With Wix# 126.96.36.199 and the following line in my project setup:
project.SetNetFxPrerequisite("NETFRAMEWORK45 >= '#378389'", "Please install .NET 4.5 first.");
I expected to get a "Please install .NET 4.5 first." message box prior to even running the UI (ManagedUI).
Instead, the installer goes through the whole UI, prompts for elevated privs, and then quickly fails with the following messages in the log:
ActionData: Property: NETFRAMEWORK45, Signature: NetFramework45
Info: Action ended 22:29:57: AppSearch. Return value 1.
ActionStart: Action 22:29:57: LaunchConditions. Evaluating launch conditions
Info: Action start 22:29:57: LaunchConditions.
Error: Please install .NET 4.5 first.
Is this by design?
Why is my error message coming out in the log and not as a popup message?
Why isn't the check happening before running the UI (and letting the user make many setup decisions which have no hope of installing)?
Tnx in advance :-)