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

Hemalatha.Nallusamy at microchip.com Hemalatha.Nallusamy at microchip.com
Mon Nov 14 02:56:40 PST 2016


Hi,

I tried using from the Burn-Built-in variable WindowsFolder. But still it routes to SysWOW64 instead of system32. I think the redirecting to SysWOW64 happens after the complete path construction.
So this doesn't work.

Can you provide us some helpful link to write managed code and use it in Bundle similar to CustomAction in Product of wix?

Thanks & Regards,
Hema.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Phill Hogland
Sent: Wednesday, November 09, 2016 8:56 PM
To: wix-users at lists.wixtoolset.org
Subject: Re: [wix-users] Need an option to perform Filesearch in System32 folder from 32 bit installer running on a 64 bit machine.

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/

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



More information about the wix-users mailing list