Sequence InstallUISequence in Win XP

Oct 25, 2016 at 10:44 PM
Hello,
i have problem with using Sequence.InstallUISequence parameter in ManagedAction method. When the parameter is not used, installer starts ok. When use it, thus immediately ending with error and install process finished.

I use this code:
new ManagedAction (CustomActions.InstallNETAction, Return.check, When.Before, Step.LaunchConditions, WixSharp.Condition.NOT_Installed, Sequence.InstallUISequence))
On Win10 works fine but problem is on Windows XP without any .Net FW.

Can you help me?

Thanks.
Coordinator
Oct 26, 2016 at 2:52 AM
Hi Vojtech,

Managed actions do require presence of .NET and indeed it can be a problem on legacy systems like WinXP.

There are a few thing that you can do to address that. You can either:
  • Set up LaunchCondition so if .NET is not present your setup asks user to install it and exits. See LaunchConditions sample that does exactly that.
  • Bundle your setup into a boots trapper that installs .NET first. See WixBootstrapper sample for that.
Cheers,
Oleg