I'm having some problems to understand a couple of things regarding custom actions...
I have noted that creating an "Attached Custom Action" (if using a dll) requires the use of a Msi dll, that is a dll with functions defined with the form "UINT Func_Name(MSIHANDLE parameter)". According to this:
- Is it possible to call functions from a "standard" dll, having it also also attached to the installation? ("Calling functions from a standard dll" needs a path on the target computer, as far as I see, and I don't want to deploy a "help-dll")
- How can I create a rollback action (or rollback information) for a custom action I have ran as Immediate?
- One can read property values (using MsiGetProperty) from a Custom Action if this is executed as "Immediate". Lets say that this action needs to read a property... how should do the rollback action if it needs to read the property too, in order to roll back the change?
- For what can I use the field "Action Data" in "Custom Action Properties", when using an Standard Custom Action (those who only receive the MSIHANDLE paramter)? This field is active but, if I don't understand wrong, a function of this kind shouldn't have more parameters, but the MSIHANDLE?
Thanks in advance for your help,
Keneth
FOLLOW US
Get the latest news in Application Packaging