I think you have to create 2 setups, one for x64 and and for x86. In your current situation it will copy everything to Program Files (x86) because the msi package is x86, so the msiexec is running in x86 mode and does not know about x64...
Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -----Original Message----- From: Polazhenko Sergey [mailto:s_polazhe...@tut.by] Sent: July 29, 2009 13:11 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] LGHT 0204 In my case I wrote my custom c++ action dll, that detects Wow64 mode with WinApi function "IsWow64Process" and also uses "Wow64DisableWow64FsRedirection" to disable it. Also I saw code like: <!-- Platform specific variables --> <?if $(var.Platform) = x64 ?> <?define Win64 = "yes" ?> <?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?> <?else ?> <?define Win64 = "no" ?> <?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?> <?endif ?> But I'm not sure, that it works pretty enough. _________________________ WBR, Polazhenko Sergey > -----Original Message----- > From: Eswari [mailto:sravi...@yahoo.com] > Sent: Wednesday, July 29, 2009 1:08 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] LGHT 0204 > > Hi, > > I resolved that.. I commented the below line for that.. Honestly i do > not know what difference does it make.. Can any one tell me? > <!--<DirectoryRef Id="dirED144AF07EBA0C13922116F7871E5218">--> > > I have one more question.. I have to copy two dlls..One 32 bit in > profram files and 64 in programfiles x86.. This is my code but it is > copying 32 bit into programfiles x86 and does not copying 64 bit dll.. > > I have the following code > <Directory Id='TARGETDIR' Name='SourceDir'> > > <Directory Id='ProgramFilesFolder' Name='PFiles'> > <Directory Id='Acme' Name='Acme'> > <componet>32bit > </directory> > </Directory> > <Directory Id='ProgramFiles64Folder' Name='PFiles'> > <component>64bit > </Directory> > </Directory> > > How to resolve this? > Thanks in advance.. > > Regards, Subramanyeswari > > --- On Wed, 7/29/09, Eswari <sravi...@yahoo.com> wrote: > > > From: Eswari <sravi...@yahoo.com> > > Subject: [WiX-users] LGHT 0204 > > To: wix-users@lists.sourceforge.net > > Date: Wednesday, July 29, 2009, 1:21 AM > > Hi, > > > > I am getting the following error on light > > > > > > error LGHT0204 : ICE03: Invalid DefaultDir string; Table: > > Directory, Column: DefaultDir, Key(s): TARGETDIR > > > > After some googling i think this is because i mentioned a > > duplicate TARGETDIR > > > > <DirectoryRef Id="TARGETDIR"> > > <Directory Id="dirED144AF07EBA0C13922116F7871E5218" > > Name="BuildShell64" /> > > </DirectoryRef> > > <DirectoryRef > > Id="dirED144AF07EBA0C13922116F7871E5218"> > > <Directory Id='TARGETDIR' Name='SourceDir'>//this is > > line that it showng error > > > > I generated this wxs file using heat passing my dll.. > > > > How to fix this error.. > > > > Regards, Subramanyeswari > > > > > > > > > > > > > > --------------------------------------------------------------------- > --------- > > Let Crystal Reports handle the reporting - Free Crystal > > Reports 2008 30-Day > > trial. Simplify your report design, integration and > > deployment - and focus on > > what you do best, core application coding. Discover what's > > new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > ----------------------------------------------------------------------- > ------- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users