Remove Add-in from Visio add-in list

N

NAdir

Hi,

Is there a way to remove my add-in from the visio add-ins list in the
Tools-Macros-Com-Add-ins. I want to do it programmatically during
installation of the add-in using windows installer. I am using VB .net

Thanks
 
J

JuneTheSecond

I thouht it might be something to delete dll file made by VB .Net.
In VS .Net there is a menu named like "Clean Solution" in the
main menu "Build", and Com addin is removed from Visio.
 
N

NAdir

First cleaninig solution option does not exist. Second this have no relation
with registring the add-in in Visio add-ins. I think I found it, it is in the
registry, I have to delete the registry entry that is created by the
installer.
 
J

JuneTheSecond

I thought installer is removing both dll file and reg data.
If the same work like this is made by your program,
your addin might be removed from Visio.
 
J

JuneTheSecond

By the way, you could analyse about files and the registry in
your installer, if it is in msi file, examining publish component
table using orca.

For publish component table please refer to the next url.
http://support.microsoft.com/default.aspx?scid=kb;en-us;832029
"Description of the Windows Installer PublishComponent table for Visio 2003"

For orca please refer to the next url.
http://support.microsoft.com/kb/255905/en-us
"How to use the Orca database editor to edit Windows Installer files"
 
N

NAdir

Thank you

JuneTheSecond said:
By the way, you could analyse about files and the registry in
your installer, if it is in msi file, examining publish component
table using orca.

For publish component table please refer to the next url.
http://support.microsoft.com/default.aspx?scid=kb;en-us;832029
"Description of the Windows Installer PublishComponent table for Visio 2003"

For orca please refer to the next url.
http://support.microsoft.com/kb/255905/en-us
"How to use the Orca database editor to edit Windows Installer files"
 
N

nbelyh

Hi guys
For publish component table please refer to the next url.
http://support.microsoft.com/default.aspx?scid=kb;en-us;832029
"Description of the Windows Installer PublishComponent table for Visio 2003"

The Visual Studio installer NAdir is talking about,
has no idea about component publishing, really ;)
This installer registers the addin using a registry key:

HKMU\Software\Microsoft\Visio\Addins\<Your addin>

HKMU stands for either HKLM or HKCU depeding on setup type.
To remove the addin it's enough to remove this key.

But, why to remvove the registration manually? Sounds quite odd...
The installer removes this the registration automatically on uninstall.
 
N

NAdir

I just did not want my add-in to be listed in the Visio-Macro-Add-ins list so
I dont want to register it, instead of that I have another program, When
executing this program it will load visio and at the same time my add-in. I
know the installer can remove the key but I am not speaking about
install/uninstall feactures.
Thanks, As you suggested my installer will not write the key to registry.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top