Yeah, that was the problem. ARGH. Man, I mean. MAN! Sigh.

Neil

From: Christopher Painter [mailto:[EMAIL PROTECTED]
Sent: Friday, May 23, 2008 11:03 AM
To: Neil Enns; wix-users@lists.sourceforge.net
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

Reply via email to