oleg-shilo / wixsharp

Framework for building a complete MSI or WiX source code by using script files written with C# syntax.
MIT License
1.12k stars 175 forks source link

Customize the message box thrown by the Wix Sharp installer #1663

Open Aaswin1996 opened 1 month ago

Aaswin1996 commented 1 month ago

On Installation WixSharpInstaller throws this error message box : Screenshot 2024-10-22 213115

Is there a way to customize this basically we do not want the end user to see such detailed error messages .These can be logged and we can show the user a general message

@oleg-shilo

oleg-shilo commented 1 month ago

The message you captured in th post above is not triggered/controlled by WixSharp but either by WiX or even more likely by MSI. Don't forget WixSharp is only a compiler of msi file. But the setup behaviour is completely controlled by the Windows MSI service and your setup database (msi file).

The only custom UI behaviour WixSharp can introduce is the custom UI defined as WixSharp dialogs (ManagedUI) but I have checked there is no any message box with the retry button.