PDA

View Full Version : How to get System32 on 64-bit Windows?



fanasus
02-28-2008, 02:11 AM
Would you please answer the following problem which is from other website:

In one merge module I have a component for 64bit and a component for 32bit with suitable conditions,
and each installs ok on the correct OS. BUT on 64bit windows the target directory
[WindowsFolder]System32\drivers is changed by text substitution. The log says:

PROPERTY CHANGE: Adding WindowsFolder.F24CDE6F_EC9B_46B0_90B4_4C3A38E8D18E property. Its value is
'D:\WINDOWS\'.
WIN64DUALFOLDERS: 'c:\WINDOWS\SysWOW64\' will substitute 20 characters in 'c:\WINDOWS\system32\'
folder path. (mask argument = 0, the folder pair's iSwapAttrib member = 1).

The 64bit component has msidbComponentAttributes64bit set in its attributes. How can I get the
64bit file into the required system32\drivers directory?

MichaelU
02-28-2008, 11:33 AM
Please see Heath Stewart's recent blog article on the requirement of multiple packages for multiple platforms (32 and 64 bit being separate platforms). The short summary here is that unless your overall package targets x64, it will not use the true 64-bit folders even when the component is marked for it.

fanasus
02-29-2008, 01:20 AM
Thanks, Michael Urman