Wix Installer - How to customize FatalError dialog based on server actions

Posted by Paul on Stack Overflow See other posts from Stack Overflow or by Paul
Published on 2011-03-07T21:32:22Z Indexed on 2011/03/08 8:10 UTC
Read the original article Hit count: 221

Filed under:
|

I need to display different messages in the FatalError dialog depending on what caused the installation to fail. My first attempt was to make the FatalError description text point to a property, and then set this property's value when an error appeared. The problem is that this dialog runs in the InstallUISequence table and the problematic actions in the InstallExecuteSequence table, and apparently the values that are set during InstallExecuteSequence are not copied back to the UI, and thus I'm losing them when the dialog is created.
Any ideas on how to solve this? Thanks!

© Stack Overflow or respective owner

Related posts about wix

Related posts about msi