Installation of Visual Studio Addin

  • Thread starter Thread starter boris
  • Start date Start date
B

boris

Hello,

I'm actually trying to develop an ASP Parser addin for
Visual Studio, and have some problem deploying it.

When i try to deploy it on a machine where i didn't
compile the project the addin fails to load when visual
studio loads. There is an error and it proposes to
uninstall the addin.

When i scanned the registry while compiling or installing
i remarked that the registry was modified only at compil
time. So perhaps these registry settings(COM settings),
are missing on target machine.

Any idea, anyone?
 
Boris,
When you originally create an add-in on your development
machine, the Add-in Wizard inserts numerous entries in the
registry for you.

If you simply try to move the add-in to another machine,
it will not load, even if you have a .reg file to build
what you think are all of the entries. The reason usually
is that there is a registry entry called "CodeBase" which
points to the DLL (add-in) that is not documented anywhere
and if you do not get this created, the IDE will generate
the error you described, simply because it does not know
where the dll is located.

If you build a deployment package (.msi) on your
development machine and install it on the destination
machine you should be ok. I do this all of the time.

If this does not help you, drop me an email with more
description of the problem.

Les Smith
HHI Software
Add-ins, Books, NetCommander.
 
Back
Top