This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Installing VSTO Office Visio 2010 Addin For All Users using Installshield
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 12, 2010
02:59 PM
Installing VSTO Office Visio 2010 Addin For All Users using Installshield
This is an obscure subject that is difficult to resolve using the references currently on the internet.
After the Developement team has created the VSTO Addin inside Visual Studio 2010 and you have all the binaries and manifest files with embedded digital signatures inside the manifest and vsto file. e.g.
addin.dll
addin.manifest
addin.vsto
You need to install the digital certificate inside the trusted publishers store on the machine using either a commit or deffered custom action. I use certmgr.exe with this commandline to do so
CertMgr.exe -add -c Certificate.cer -s -r localmachine trustedpublisher
Now that you have a trusted publisher certificate on the machine the addin with the same certificate is now trusted. 🙂
All that is left to do is put the correct registry entries inside the registry for the addin.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Visio\Addins\NameOfAddin]
"Manifest"="[INSTALLDIR]addin.vsto|vstolocal"
"Description"="addin"
"FriendlyName"="addin"
"LoadBehavior"=dword:00000003
Manifest is the vsto file and the pipe followed by vstolocal ensures that your addin finds the local resource and does not go on th web to install it
description and friendly name is what your addin will show up as inside the menus and toolbars of the Office Application
LoadBehavior 3 means load at startup.
This example is for Visio, but For Other Office Products it is similar
Heath Morris
After the Developement team has created the VSTO Addin inside Visual Studio 2010 and you have all the binaries and manifest files with embedded digital signatures inside the manifest and vsto file. e.g.
addin.dll
addin.manifest
addin.vsto
You need to install the digital certificate inside the trusted publishers store on the machine using either a commit or deffered custom action. I use certmgr.exe with this commandline to do so
CertMgr.exe -add -c Certificate.cer -s -r localmachine trustedpublisher
Now that you have a trusted publisher certificate on the machine the addin with the same certificate is now trusted. 🙂
All that is left to do is put the correct registry entries inside the registry for the addin.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Visio\Addins\NameOfAddin]
"Manifest"="[INSTALLDIR]addin.vsto|vstolocal"
"Description"="addin"
"FriendlyName"="addin"
"LoadBehavior"=dword:00000003
Manifest is the vsto file and the pipe followed by vstolocal ensures that your addin finds the local resource and does not go on th web to install it
description and friendly name is what your addin will show up as inside the menus and toolbars of the Office Application
LoadBehavior 3 means load at startup.
This example is for Visio, but For Other Office Products it is similar
Heath Morris
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 19, 2011
08:44 AM
Thank you for this very helpful thread. It saved me a lot of time.
Barbara
Barbara
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 09, 2013
10:10 AM
"Could not find default endpoint element that references contract 'IService' in the ServiceModel client configuration section."
So, why this happens and executing InstallShield app with vstolocal manifest?
So, why this happens and executing InstallShield app with vstolocal manifest?
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)