Clarification information about Searches - 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!

rosen.nedialkov
Posts: 19
Joined: Wed Feb 07, 2007 11:43 am
Contact: ICQ

Clarification information about Searches

Hi! I have one question regarding Search Conditions. I need to check if a file exists and if it have the _exact_ version I need.
This file is system driver and has the version for example 2.2.0.2500
If I set min field to this value the condition is false ! The same is with maximum version and with both set. Is this behavior correct ? As far I think mix and max version should include these values ?

Further testing showed me that if I set min to 2.2.0 the statement is TRUE but if max is set is FALSE !

Could you please tell me what I am doing wrong ?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

If you don't specify a language criteria for the file search then the "Min Version" that you specify must be one less than the actual value in order the search to be successful.

You can read more about this here:
http://msdn2.microsoft.com/en-us/library/aa371853.aspx

This is the Widows Installer behavior.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”