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!

MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

File Search not working

Hi,

I have created an installer where I have added a file search and an XML search.

The file search is set to a depth of 7 with a path of [WindowsVolume]

When I put (the attached) "ManagerSettings.xml" file in the root of c:\ ( where windows is installed )
the installer finds it and picks up the contents.

However, when I move the file to the "C:\Program Files\Cetrus\Cetrus Manager Service\Settings" directory - the file is not found.

I have attached an example ManagerSettings.xml file and the entire aip project for your inspection.

Thanks
Mike
Attachments
DBAccessTest.zip
(12.52 KiB) Downloaded 256 times
ManagerSettings.xml
(390 Bytes) Downloaded 268 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: File Search not working

Hi Mike,

We tested the project you send us and the search works as expected. Can you test it on more machines and also send us a verbose log of the installation, so we can investigate it?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: File Search not working

I don't get it... when I posted this... it didn't work... today I came in and tested and it works ??
( NO CHANGES were made to the project... I simply ran it )

How do you guys detect the presence of files... maybe my file system cache is was corrupt or something?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: File Search not working

Hi Mike,


I'm not sure what could have caused the search to fail when you first tested it. The file searches performed during the installation are handled by Windows Installer as described in the "Searching for Existing Applications, Files, Registry Entries or .ini File Entries" article.

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

Return to “Building Installers”