1
votes

I have an MSI packages that executes a number of deferred custom actions during product install. If one of custom actions fails, installation ends with standard "Installation was cancelled..." window. This "cancelled" text is very confusing to end user, and i want to modify it in case my custom action fails an i know what is a problem.

I have tried to queue custom action after ExecuteAction but was faced with a problem: this action is executed only on installation success, but not on instllation failure! After that i have tried to queue my custom action to be executed at installation failure by assigning it a sequence number of -3. It is executed - but in server context, so it can't change text that is displayed in client context!

Is it any way to change this text? I need a custom action that is executed in client context (immediate mode) after installation fails.

2

2 Answers

1
votes

Did you try to use Error Table? (add your own error description into this table and return its code)

1
votes

Take a look at src\ext\UIExtension\wixlib\WixUI_en-us.wxl in WIX source.
Find String ID of your text and add (for example into Product.wxs):

<String Id="STRING_ID_HERE">New text</String>