How do I invoke a custom action?

Got a problem you cannot solve? Try here.
ah34
Posts: 1
Joined: Wed May 10, 2006 10:53 am

How do I invoke a custom action?

Postby ah34 » Fri May 19, 2006 4:44 am

Hi,

I am evalutiong InstallAware and am trying to convert an existing Visual Studio Setup project to InstallAware.

I have made good progress, but have not been able to find out how to add a custom action (my Visual Studio setup project was generated by a Visual Studion Plugin and happens to include a custom action).

How do you add custom actions in InstallAware?

Thanks for your reply.

Alexander

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Fri May 19, 2006 9:52 pm

Custom actions are a very complex and hard way to extend Windows Installer setups. You don't need to take that route with InstallAware - as you have a full scripting environment which does everything you need already.

If you still need to call a custom action DLL, so you are reusing your existing code, you can do so easily. Just use the Call DLL Function command, define your custom action function prototype, and you're good to go.

You may want to add your custom action DLL to the list of Support Files in the Project Manager, and call the DLL using the form $SUPPORTDIR$\\mydll.dll so you are not unnecessarily installing the DLL.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 135 guests