I'm installing a print processor.  On an x86 OS the DLL is supposed to
be copied to \Windows\System32\spool\prtprocs\W32X86.  But on an x64 OS
the DLL is supposed to be copied to
\Windows\System32\spool\prtprocs\x64.

I set a property to the proper location:
    <Property Id="PlatformFolder"
        Value="$(env.SystemRoot)\System32\spool\prtprocs\x64" />

In ComponentGroup/Component I have:
    <CopyFile Id="PrintProcessor"
        DestinationDirectory="PlatformFolder" />

But WiX always redirects the location.
    MSI (c) (20:F0) [13:25:26:302]: WIN64DUALFOLDERS:
'C:\Windows\SysWOW64\' will substitute 20 characters in
'C:\Windows\System32\spool\prtprocs\x64\' folder path. (mask argument =
0, the folder pair's iSwapAttrib member = 1).
    MSI (c) (20:F0) [13:25:26:302]: PROPERTY CHANGE: Modifying
PlatformFolder property. Its current value is
'C:\Windows\System32\spool\prtprocs\x64'. Its new value:
'C:\Windows\SysWOW64\spool\prtprocs\x64\'.

How can I avoid WiX's folder redirection?

Dave

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to