Hello,
These properties I want to end up in the CustomActionData property, do I pass them as an argument? Is there another option I'm not seeing because I'm using version 7.7? If I do pass them as an argument what type are they and how to you get multiple properties in one argument? (ie [BCCA_NAME]|[CUST_PWD]) ? Can you modify the above "Action Data" field to show me how exactly how to do it?
Using the predefined
"Call a function from a standard dll" custom action you can use the "Edit Function" dialog to specify public properties arguments. These arguments will be passed to the function defined in your standard .DLL. This is how you can get installer information( public properties ) into this type of predefined custom action, forget CustomActionData.
Also,it doesn't matter if the custom action is deferred, the arguments will be passed accordingly. You can read how to use this
predefined custom action in the following article:
http://www.advancedinstaller.com/user-g ... ll-std-dll
Second problem. MSIHANDLE is not passed to my custom action. Is there a global for this handle I can access? Is there any other way to get it?
Can you please specify why do you need to use MSIHANDLE type for a "Call a function from a standard dll" predefined custom action? You can specify the argument's data type( Integer, Boolean, etc ) from "Edit Function Argument Dialog":
http://www.advancedinstaller.com/user-g ... ialog.html
We recommend you first try new functionality onto a test project before implementing it onto your main one. This way you can fully understand how it works thus making sure you avoid any unwanted unexpected behavior.
All the best,
Mihai
FOLLOW US
Get the latest news in Application Packaging