[wix-users] Call Exit Dialog after a custom dialog

Ven H venh.123 at gmail.com
Wed May 23 09:13:09 PDT 2018

I have an MSI with a Custom Action that is called in InstallUISequence
before LaunchConditions. I am checking for some logic and setting a
property accordingly. Based on the value of this property, I am displaying
a message box using a custom dialog. As soon as this dialog is displayed, I
want the execution to end with an Exit Dialog, something like an upgrade
scenario which pops up a message in case a lower version is tried to be
installed. But in my case, message box shows up and on clicking OK, instead
of showing Exit dialog, it proceeds with the next execution window (Welcome
dialog). I am returning ActionResult.Success from the custom action,
otherwise, it doesn't even show my custom dialog. I am not using the
MessageBox.Show method to show the message because, I am not able to get my
custom text localized in my custom action. Can anyone please help?

More information about the wix-users mailing list