Hi Rob I have tried this on this way:
<Directory Id="ProgramFilesFolder"> <Directory Id="MANUFACTURER_DIR" Name="xxx"> <Directory Id="INSTALLLOCATION" Name="yyy" FileSource="..\..\output"> <Component Id="CDSOCShellEx_x64.dll" Guid="xxx" Win64="yes"> <File Id="CDSOCShellEx_x64.dll" KeyPath="yes" Vital="yes" Checksum="yes"> <Class Id="{2DE2822E-4FFC-4DBC-B214-D94B8087C5BE}" Description="CDSOCContextMenu Class" Context="InprocServer32" ThreadingModel="apartment" /> </File> <RegistryValue Root="HKCR" Key="Folder\ShellEx\ContextMenuHandlers\CDSOCContextMenuuu" Value="{2DE2822E-4FFC-4DBC-B214-D94B8087C5BE}" Type="string" Action="write" /> <RegistryValue Root="HKCR" Key="Directory\ShellEx\ContextMenuHandlers\CDSOCContextMenu" Value="{2DE2822E-4FFC-4DBC-B214-D94B8087C5BE}" Type="string" Action="write" /> <RegistryValue Root="HKCR" Key="Drive\ShellEx\ContextMenuHandlers\CDSOCContextMenu" Value="{2DE2822E-4FFC-4DBC-B214-D94B8087C5BE}" Type="string" Action="write" /> <RegistryValue Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" Name="{2DE2822E-4FFC-4DBC-B214-D94B8087C5BE}" Value="CDS Output Control Directory Linker" Type="string" Action="write" /> <Condition>VersionNT64</Condition> </Component> But now, there will be the fallowing error when I build the msi: ICE80: This package contains 64 bit component 'CDSOCShellEx_x64.dll' but the Template Summary Property does not contain Intel64 or x64. and ICE80: This 64BitComponent CDSOCShellEx_x64.dll uses 32BitDirectory INSTALLLOCATION Then I have tried the fallowing: <Directory Id="ProgramFiles64Folder"> <Directory Id="MANUFACTURER_DIR64" Name="xxx"> <Directory Id="INSTALLLOCATION64" Name="yyy" FileSource="..\..\output"> <Component Id="CDSOCShellEx_x64.dll" Guid="xxx" Win64="yes"> <File Id="CDSOCShellEx_x64.dll" KeyPath="yes" Vital="yes" Checksum="yes"> <Class Id="{2DE2822E-4FFC-4DBC-B214-D94B8087C5BE}" Description="CDSOCContextMenu Class" Context="InprocServer32" ThreadingModel="apartment" /> </File> <RegistryValue Root="HKCR" Key="Folder\ShellEx\ContextMenuHandlers\CDSOCContextMenu" Value="{2DE2822E-4FFC-4DBC-B214-D94B8087C5BE}" Type="string" Action="write" /> <RegistryValue Root="HKCR" Key="Directory\ShellEx\ContextMenuHandlers\CDSOCContextMenu" Value="{2DE2822E-4FFC-4DBC-B214-D94B8087C5BE}" Type="string" Action="write" /> <RegistryValue Root="HKCR" Key="Drive\ShellEx\ContextMenuHandlers\CDSOCContextMenu" Value="{2DE2822E-4FFC-4DBC-B214-D94B8087C5BE}" Type="string" Action="write" /> <RegistryValue Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" Name="{2DE2822E-4FFC-4DBC-B214-D94B8087C5BE}" Value="CDS Output Control Directory Linker" Type="string" Action="write" /> <Condition>VersionNT64</Condition> </Component> </Directory> </Directory> </Directory> Now, I will only get the first error: ICE80: This package contains 64 bit component 'CDSOCShellEx_x64.dll' but the Template Summary Property does not contain Intel64 or x64. Can you help me on this? Thank you! Regards, thomas -----Ursprüngliche Nachricht----- Von: Rob Hamflett [mailto:r...@snsys.com] Gesendet: Freitag, 16. April 2010 12:05 An: wix-users@lists.sourceforge.net Betreff: Re: [WiX-users] Install x64-DLL In a 32-bit MSI you can mark a component as 64-bit and it will write to the 64-bit registry. You can't get a 32-bit MSI to write to the 64-bit folders though. If you need it to do that you'll have to make a separate 64-bit MSI. Rob On 16/04/2010 10:39, Thomas Kehl wrote: > Hi together. > > I install a 32bit Application with wix. This is working fine. Now, I have a > x64-dll (shellextension) which I have to register. Now, How can I do this? I > have a condition that belong to the OS if the dll should be installed or not. > This is working great. Now, I should write some registry-entries. But this > Entries should not be written to Wow6432Node. It is realy only one dll and > three/four keys I should install. I hope there is a simple solution to do > this. > > Can someone give me a tip, how I can do this? - Thank you very much! > > Best Regards, thomas > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users