Dynamic Folder Path - Advanced Installer Community
Priya
Posts: 3
Joined: Mon Mar 24, 2014 8:22 am

Dynamic Folder Path

Hi,
How Can I find the dynamic path of a folder in all drives while searching with one of it's file's name using Advanced Installer?
Does any script is needed for this? I searched for the scripts also, but the exact script was not found.
Please help me I get stopped here for many days.

Thanks in advance,
Priya
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Dynamic Folder Path

Hi Priya and welcome to Advanced Installer forums.

In order to achieve what you want, you can go in the Search page and create a "File Search" as explained in the Launch Condition tutorial. The path to that file will be stored in the search property.

If you want to have the path to its parent folder, not to the file, you can create a simple custom action that removes the name of the file from the resulted path.

Just let us know if you have another question.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Priya
Posts: 3
Joined: Mon Mar 24, 2014 8:22 am

Re: Dynamic Folder Path

Hi,

Thank you for your quick response.
But, I tried already in that way. It works fine for static paths. I want the same to find the dynamic path of that folder.
Please guide me to achieve that.


Thanks
Priya
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Dynamic Folder Path

Hello Priya,

I'm afraid I don't fully understand what is your scenario. Can you give us more details about what "dynamic path of a folder" is in your scenario (maybe exemplify)?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”