"Cannot update" and Custom Search Order - Advanced Installer Community

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!

guypb
Posts: 28
Joined: Thu Dec 18, 2008 5:16 pm

"Cannot update" and Custom Search Order

I have 2 problems:

1) I am installing some files into the System32 directory, and appreciate that some files may already be installed and be protected. How do I get Advanced Installer to recognise this and therefore not flag up "The Windows Installer Service cannot update the system file...." - it doesn't look good to flag up what are not critical alarms.

2) I have a custom search for the location of Excel.EXE - at present the search is set for All Drives, recognising that Excel could be instaleld on C:, with my program being installed on another partition like F: - HOWEVER - the search order for ALL DRIVES always starts in C: and stops as soon as it locates the file. How can I get the search to still do ALL DRIVES - but start with the local drive (F: rather than C:)
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: "Cannot update" and Custom Search Order

Hi,
I am installing some files into the System32 directory, and appreciate that some files may already be installed and be protected. How do I get Advanced Installer to recognise this and therefore not flag up "The Windows Installer Service cannot update the system file...."
Unfortunately Windows Installer doesn't offer direct support for this. However, you can try using searches to detect the files you don't want to overwrite. The properties of these searches can then be used to condition the components of the files in the Organization page.
How can I get the search to still do ALL DRIVES - but start with the local drive (F: rather than C:)
I'm afraid that this is not supported by Windows Installer. A solution would be to use a custom action to perform the search.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”