[wix-users] Need an option to perform Filesearch in System32 folder from 32 bit installer running on a 64 bit machine.
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
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:
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.
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.
Need an option to perform Filesearch in System32 folder from 32 bit installer running on a 64 bit machine.
wix version: Wix Toolset v188.8.131.523
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users