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!

chrisyroid
Posts: 1
Joined: Fri Apr 04, 2014 9:54 pm

Folder search defined by a property

I'm having trouble searching for a directory defined by a property.

The program I'm working with can be installed anywhere and creates a registry value based on it's location so I want the installer to look for where it's located using the registry.
I've been trying to find it by first creating a new search term from the registry. That seems to be working.
Then I create a new search and look for a folder referencing the previous property. I get "1: C:\" as my search result.
I've included an example as an attachment.
Attachments
test_search_1.aip
(10.99 KiB) Downloaded 218 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Folder search defined by a property

Hi and welcome to Advanced Installer forums.

Please keep in mind that the searches created in the Search page are executed randomly by Windows Installer, so I'm afraid that you cannot create one search dependent on another. You can take a look on the Search order: Searches creation order is not maintened thread which debates a similar problem.

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

Return to “Building Installers”