Register for COM Interop on 64 bit machine fails - Advanced Installer Community
zeiddev
Posts: 103
Joined: Sat Aug 10, 2013 12:30 am

Register for COM Interop on 64 bit machine fails

I have an application that registers a component for COM Interop. When I do this via AI on a 32 bit machine it works fine. When I do it on a 64 bit machine it does not register.

I know this because after having installed the application, if I then do regasm /codebase on the component it registers fine on the 64bit machine and can be used.

The component is marked as x86 in Visual Studio (I am told it has to be in order for the COM application to be able to use it on a 64 bit machine)

Is this a known issue?

Any suggestions?

Thanks

David
zeiddev
Posts: 103
Joined: Sat Aug 10, 2013 12:30 am

Re: Register for COM Interop on 64 bit machine fails

I think that I solved this issue. It appears as though it may have been a legacy issue that I was having from a previous version of AI. The 64bit component flag was checked on the organisation tab for the component. This was an issue in a previous version of AI and I think that the project must have been copied over from there. After removing the 64bit flag it installed without a problem.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Register for COM Interop on 64 bit machine fails

Hello David,

I'm glad you sorted this out. Indeed, this behavior (32-bit module component is marked as 64-bit component) could be caused by an Advanced Installer bug manifested in our previous version. However, starting with our current version (11.0) the above issue was fixed.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”