Dear Advanced Installer team,
When I write a C++ Custom Action dll, how can or should I detect whether the custom action is called as immediate custom action or as deferred custom action.
The reason is that if it is called as immediate custom action in the UI Sequence, I can access the MSI properties by calling MsiGetPropertyW with the specific property name as it is used on the dialog.
On the other hand, when the custom action is called as deferred custom action, then I have to read the "CustomActionData" property and parse the value and extract my data.
Or do you recommend to use two separate Custom Actions, like
DoSomething_Immediate and DoSomething_Deferred
best regards,
Stefan