Custom Action can't be passed a property based folder? - Advanced Installer Community
dmeatte
Posts: 4
Joined: Tue Jan 10, 2012 4:38 pm

Custom Action can't be passed a property based folder?

I have a .net custom action that I want to pass a property that is set with a browse button. To get the browse button to work I had to add it to File and Folders as a property based folder, but that seems to break custom actions which will only let me pass it as an installer class parameter if it isn't in Files and Folders. How can I let the user use a a folder picking dialog and get the value passed out to a custom action as well?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Custom Action can't be passed a property based folder?

Hello,

Maybe the following article can help you with this:
http://www.advancedinstaller.com/user-g ... rp-ca.html

See "Get / Set properties from C# custom action" section.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”