Tracy Pearson wrote on 2010-09-03: 
> Stephen Russell wrote on 2010-09-03:
>> On Fri, Sep 3, 2010 at 12:38 PM, Tracy Pearson <[email protected]>
>> wrote:
>>> I am attempting to get a files version to know which corresponding
>>> file needs to be installed.
>>> This code works on XP, Vista, and 7, and fails on 2008 Server.
>>> 
>> -------------------
>> Try the white paper here.
>> 
>> <http://www.microsoft.com/whdc/driver/install/32-64bit_install.mspx>
>> 
>> 
>> 
>> 
>> 
> 
> Stephen,
> 
> What's failing is the request to verify a file exists in the
> System32\Drivers folder.
> 
> Here's the background of why I am using this functionality. The driver
> I'm looking for is already installed. The file version of the driver
> installed decides what files I need to install that work with that
> driver. The API's are different between driver versions.
> 
> Tracy Pearson
> PowerChurch Software
> 


Further checking, the 2008 server is a 64bit box. Windows 7 is also a 64bit
so I'm not understanding why they behave differently. The following was
added and it behaves correctly now.

   [Setup]   
   ArchitecturesInstallIn64BitMode = x64


Tracy Pearson
PowerChurch Software




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/000d01cb4ba4$222e4ad0$668ae0...@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to