Can file identifier properties be assigned BEFORE a search? - Advanced Installer Community
ttheimer
Posts: 7
Joined: Sun Jan 04, 2009 4:34 pm

Can file identifier properties be assigned BEFORE a search?

When defining a folder location for a [Custom Behavior] Search I followed these steps
- type a left square bracket ('[') in the path field then select the Folder option from the popup menu
- select a folder
Because the selected folder has an identifier, the identifier is placed in the path field (e.g., '[RefFiles]').

But the search is never successful. When I review the install log I can see that the value is assigned to the folder identifier AFTER the search is performed.

I want to search for a file in the folder identified by the user in the Folder Dialog. Is there any way I can instantiate this folder identifier property BEFORE the search is performed?

Thanks.

Tom
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Can file identifier properties be assigned BEFORE a search?

Hi Tom,
I want to search for a file in the folder identified by the user in the Folder Dialog.
Unfortunately, we don't have any predefined support for this functionality in Advanced Installer. However you can implement it yourself from within your own custom action.

The searches defined in the Search Page are performed at a certain point during the install sequence( AppSearch standard action ). For more information please follow this link.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”