COM Interop Library Upgrade - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

geherlo
Posts: 3
Joined: Wed Aug 25, 2010 4:02 pm

COM Interop Library Upgrade

Hello AI tech support, I'm having a hard time updating an application which uses four COM Interop libraries. One of those libraries was modified and its current version is 1.0.7. Most of our customers has version 1.0.2 installed in their systems.The problem I'm having is specifically with a Windows Vista x86 PC. A previous version of the application is installed and after updating, it is firing a runtime error when trying to create an object of the 1.0.7 library class.

The 1.0.7 library is defined within AI as "Auto Register file" and "Register .NET Assembly for COM Interop", syncronization: buildtime.
I'm running AI v.8.0.2 in a Windows 7 x86 PC. The application which is being updated was installed using Visual Studio 2005 Deployment Installer. The four COM interop libraries were installed using a custom action which calls regasm.exe.
I have tested the installer in Windows XP Pro SP3, Win7 x86 and x64, and Windows Vista x86 and x64. The only problemI have found has been with Windows Vista x86, which has UAC off.

So far I have found two manual solutions:
1) manually unstalling the application from control panel, then installing new version. and
2) Unregistering the 1.0.2 library and registering v1.0.7 using regasm.exe from the command prompt.

I found the following topic which presents a similar problem but with no solution:
http://www.advancedinstaller.com/forums ... ate#p16855

Thank you very much for any help you may provide to us.
Gerardo
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: COM Interop Library Upgrade

Hello Gerardo,

Does this behavior manifest only on a particular Windows Vista x86 machine or on all?

Please also make sure there is no difference between the installation types of the old and new version. You can check their availability on different user accounts. They need to be the same( per user or per machine ) in order for the upgrade to perform correctly, otherwise the upgrade won't remove the old version.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
geherlo
Posts: 3
Joined: Wed Aug 25, 2010 4:02 pm

Re: COM Interop Library Upgrade

Mihai, thanks for your reply. So far, there is only one machine with the Vista x86 configuration I have tested our application. For the type of installation, I should point out that the update is actually removing the old installation, so it is not creating a new entry in Control Panel/Remove Programs.

Gerardo
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: COM Interop Library Upgrade

Hello Gerardo,

Please try and test this behavior on several Windows Vista x86 machines and let us know of the result.
If the behavior persists, please send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can help you investigate.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”