all groups > visual studio .net general > february 2006 >
You're in the

visual studio .net general

group:

deployment project with COM interop


deployment project with COM interop R Wampler
2/28/2006 8:07:27 AM
visual studio .net general:
I have a project using COM interop (to be used through VBScript) which runs
fine when I register the .dlls using regasm or by letting the project build
register for COM interop. The problem occurs when I install the .dlls
through the deployment project. The install runs fine, but when I run the
VBScript, Windows Installer runs (probably to repair the COM component).
After Installer finishes, the script runs fine and is able to create the COM
Re: deployment project with COM interop Phil Wilson
2/28/2006 8:23:21 AM
See if there's anything in the event log - there should be something about
product Guids and component Guids associated with the repair. MSI thinks
something is broken - if this is all on your development system you've
probably got a conflict in the COM registration. Does the same thing happen
on a clean system? Do have an assemblyversion with an * in it? That would
make the version change at every build and your registration entries could
become a mess.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

[quoted text, click to view]

AddThis Social Bookmark Button