I'm using AI 7.6.1.
I had to build a version of my Excel COM Addin that targets .NET 4. I already target .NET 3 and have a working Advanced Installer project for the .NET 3 version.
I saved that to a new project, removed the old DLL (after removing all of the HKEY registry stuff) and replaced it with the new DLL that targets .NET 4.
When I tried to set the "Auto register .Net assembly for COM interop" option, I received "The selected file could not be registered" message.
I can register the dll that targets .NET 4 successfully with the following command line:
! C:\Windows\Microsoft.NET\Framework64\v4.0.30319\regasm.exe MyAssembly.dll /codebase
The old dll that targets .NET 3 can be registered with:
! C:\Windows\Microsoft.NET\Framework64\v2.0.50727\regasm.exe MyAssembly.dll /codebase
Do I need an updated version of AI to handle .NET 4 assembly registration?
I need to be able to produce separate installers for both the .NET 3 and .NET 4 targetted DLLs.
Thanks
FOLLOW US
Get the latest news in Application Packaging