I have a complex custom action (c++ within an attached DLL) that must run "Deferred with no impersonation" after InstallFiles. As I encounter errors, how do I report them back to the user? Normally, when I can runs these custom actions "Immediate execution", I set a property with the error message and I subsequentially use an "Error Message" built in custom action to present it. This is not working because not only I cannot set any property from within the deferred custom action, the "Error Message" is only executed immediatelly (not deferred).
While at it, what is the proper error code I should return so the installer rolls back and stops the installation?
Thanks!
FOLLOW US
Get the latest news in Application Packaging