We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

elou
Posts: 96
Joined: Tue Apr 14, 2015 9:12 am

Searching file after Path Resolution

Hello,
when upgrading my application, I need to locate in file in a directory which has been previously installed.
The 'Search' Action take place before the 'Path Resolution' so that my file will not be found.
How can I search for a file after the 'path resolution' has occured?
Regards, Éric.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Searching file after Path Resolution

Hello Éric,

As you have mentioned, the searches are done during the "Searches" action group.

If you want to perform a search after the "Paths Resolution" action group, you can do so through a custom action (e.g. c# dll, PowerShell script, etc.).

If you need the result of the search, you can save it in a property (as a search does from the "Searches" page). Please have a look over our "How to set an installer property using custom actions" article which I think you may find useful.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”