[wix-users] Need an option to perform Filesearch in System32 folder from 32 bit installer running on a 64 bit machine.

Phill Hogland phill.hogland at rimage.com
Wed Nov 9 07:25:31 PST 2016


I rarely use util::FileSearch in a bundle but it looks to me like you could use it to search any path (which you could build from the Burn-Built-in variable WindowsFolder)


This link might also be helpful

http://stackoverflow.com/questions/9535601/csidl-systemx86-and-csidl-system-c


In a bundle you can implement code in the mba (or in a bafunctions.dll when using WixStdBA) to do the search using the APIs supported by your chosen programming framework.)


If you are trying to use wix::FileSearch in an MSI then I think you are limited by whether the MSI is a 32 or 64 bit package.  You might find this helpful:

http://alekdavis.blogspot.com/2011/05/build-32-and-64-bit-installers-using.html







________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Hemalatha.Nallusamy at microchip.com <Hemalatha.Nallusamy at microchip.com>
Sent: Wednesday, November 9, 2016 4:37:32 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Need an option to perform Filesearch in System32 folder from 32 bit installer running on a 64 bit machine.

Hi,

Scenario:
We have a 32 bit bootstrapper installer which is capable of installing the required components in both 32 bit machine and 64 bit machine.
We need to invoke an external driver installation if it is not already installed. The only way to identify whether the driver is already installed or not is to check the required files in C:\windows\system32 folder.

But right now both the SystemFolder and System64Folder searches the file only SysWOW64 folder in 64 mit machine.

Requirement:
Need an option to perform Filesearch in System32 folder from 32 bit installer running on a 64 bit machine.

Environment:
wix version: Wix Toolset v3.10.1.2213
Windows: Windows7

Regards,
Hema.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list