Hello,
If you are using an .EXE custom action then you cannot set a installer property through an .EXE custom action. However, you can check inside your custom action the result and display an appropriate message. This way you don't have to use our predefined
Display message box custom action.
However, we recommend you to use a DLL custom action as you can set a property based on your custom action success or failure. For example, you can create your custom action as
a custom action written in C# or
a custom action written in C++.
Then you can go in the
“Custom Actions” page and add a predefined
Launch attached file custom action. This type of custom action can execute an application (EXE or DLL) or run a script (VBScript or Java script). Also, the source file will be embedded in the MSI file but will not be deployed at install time with the other application files.
In order to display the related message, you can use our predefined
Display message box custom action and condition its execution based on the property's value.
Please let us know if that helped, otherwise give us more details about your specific scenario.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging