Uria
Posts: 21
Joined: Tue Mar 03, 2009 8:47 am

Sending data to a .Net Installer Class Action

Hi,

I want to add a .Net Installer Class Action to the execute sequence and would like this .Net class to know which features were selected by the user.
What approach should I take?
I tried a few options but couldn't make it work.
Can you give a complete example?

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Sending data to a .Net Installer Class Action

Hi,

You can try passing the ADDLOCAL property as a parameter to the custom action. Inside the custom action you can parse the parameter and retrieve the identifiers of the features marked for installation. For example, the parameter can be:

Code: Select all

Name:   features
Value:  [ADDLOCAL]
Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Uria
Posts: 21
Joined: Tue Mar 03, 2009 8:47 am

Re: Sending data to a .Net Installer Class Action

This works for me, thanks!

Return to “Common Problems”