views:

115

answers:

0

Installing reference assembly folders in 32 bit is straightforward:

1 Copy your files in ProgramFiles\MyApp

2 Add a registry key HKLM\Software\Microsoft.NETFramework\AssemblyFolders*MyApp* pointing to ProgramFiles\ MyApp

But things fall apart in 64 bit.

First, the msi installs into program files (x86) instead of program files.

Second, one must set the registry key in

HKLM\ Wow6432Node \Software\Microsoft.NETFramework\AssemblyFolders\ MyApp

instead of

HKLM\Software\Microsoft.NETFramework\AssemblyFolders\ MyApp

I am trying to create a simple msi which works in 32 and 64 bit but it looks more difficult than expected. Is there a simple way to do this?