Ya... that's a fun one. There's even a couple old articles on Installsite
that get it wrong in a sense. The workaround ( x.x.x.x-1 ) is correct but the
reasoning focus on MinVersion being Inclusive vs Exclusive instead of
Languages. I don't know the whole history but I suspect this is one of those
`works as constructed` deals and the documentation was just updated with a
notation to say it is what it is.
http://www.installsite.org/pages/en/bugs_msi.htm
http://www.installsite.org/pages/en/isnews/200105/SearchIE.htm
Personally I bumped into this one a few years back when I was working at a
company that bootstrapped literally dozens of dependencies in a huge chain that
would span DVD's. We got tired of clone and own AppSearches so we split them
out into hundreds of merge modules called Product->Condition->Find modules.
This gave us a simple way of code reuse ( fragments would be better today) for
detecting installed products, redirecting destination directories and
implementing blocking conditions as needed on a product by product basis.
Kelly Leahy <[EMAIL PROTECTED]> wrote:
Wow... That's got to be the wierdest 'feature' I've ever seen.
Christopher Painter <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 05/23/2008 11:03 AM
To
Neil Enns <[EMAIL PROTECTED]>, "wix-users@lists.sourceforge.net"
<wix-users@lists.sourceforge.net> cc
Subject
Re: [WiX-users] Why isn't my filesearch working?
Ah, the joys of Windows Installer. You are probably bumping into this as found
in the Signature Table help topic.
Note The language specified in the Languages column is used in the comparison
and there is no way to ignore language. If you want a file to meet the
MinVersion field requirement regardless of language, you must enter a value in
the MinVersion field that is one less than the actual value. For example, if
the minimum version for the filter is 2.0.2600.1183, use 2.0.2600.1182 to find
the file without matching the language information.
Neil Enns <[EMAIL PROTECTED]> wrote:
Ok, it must be the Friday before a long weekend and Iâm being silly somehow.
Iâm trying to do a simple filesearch to verify the version number on a file:
<Property Id="NVIDIADRIVERVER">
<DirectorySearch Id="DriverDirectory" Path="[SystemFolder]Drivers">
<FileSearch Name="nvlddmkm.sys" MinVersion="7.15.11.6369"/>
</DirectorySearch>
</Property>
<Condition Message="!(loc.ConditionIncorrectDriverVersion)">
<![CDATA[Installed and not NVIDIADRIVERVER]]>
</Condition>
But this is always failing, and as far as I can tell the NVIDIADRIVERVER
property is never getting set. What am I doing wrong?
Neil
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
**************************************************************************************
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. Unless indicated
to the contrary: it does not constitute professional advice or opinions
upon which reliance may be made by the addressee or any other party,
and it should be considered to be a work in progress. Unless otherwise
noted in this email or its attachments, this communication does not form
a Statement of Actuarial Opinion under American Academy of Actuaries guidelines.
**************************************************************************************
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users