Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / December 2004

Tip: Looking for answers? Try searching our database.

Add-In register in another machine...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eugenio Serrano [MVP] - 10 Dec 2004 01:34 GMT
First, sorry by english is very rusty
In a team we are developed a Add-In. In the first machine, the Add-In works
fine, and we can debbug it.
But in the second machine, we cant do work because the Add-In dont appear in
Add-In List.
In the code generated we find this...
' When run, the Add-in wizard prepared the registry for the Add-in.
' At a later time, if the Add-in becomes unavailable for reasons such as:
'   1) You moved this project to a computer other than which is was
originally created on.
'   2) You chose 'Yes' when presented with a message asking if you wish to
remove the Add-in.
'   3) Registry corruption.
' you will need to re-register the Add-in by building the NDSGenAppSetup
project
' by right clicking the project in the Solution Explorer, then choosing
install.

But If we install the add-in in the second machine, this is installed at
C:\Program Files... And then we cant debug the add-in because it is in
another place...

Any suggestion ??

Signature

Saludos,
Eugenio Serrano
NDSoft Consultoria y Desarrollo
MS MVP ASP.Net
Voluntario Ineta Latam (www.ineta.org/latam)

Eugenio Serrano [MVP] - 10 Dec 2004 01:44 GMT
Please tell me if you understand my problem.
If no, i try to explain better...

Signature

Saludos,
Eugenio Serrano
NDSoft Consultoria y Desarrollo
MS MVP ASP.Net
Voluntario Ineta Latam (www.ineta.org/latam)

> First, sorry by english is very rusty
> In a team we are developed a Add-In. In the first machine, the Add-In works
[quoted text clipped - 19 lines]
>
> Any suggestion ??
Himo - 10 Dec 2004 08:25 GMT
I think I understand. In order to succesfully install the add-in on another
file, you must also add some register values, like this:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\AddIns\Commentator.Connect]
"AboutBoxDetails"="For more information about Microsoft, see the Microsoft
website athttp://www.Microsoft.comFor customer support, call
1-800-xxx-xxxx.Copyright (c) 2003 Microsoft Inc."
"AboutBoxIcon"=hex:00,00,01,00,02,00,20,20,10,00,00,00,00,00,e8,02,00,00,26,00,\
 00,00,10,10,10,00,00,00,00,00,28,01,00,00,0e,03,00,00,28,00,00,00,20,00,00,\
 00,40,00,00,00,01,00,04,00,00,00,00,00,80,02,00,00,00,00,00,00,00,00,00,00,\
 00,00,00,00,00,00,00,00,00,00,00,00,00,00,80,00,00,80,00,00,00,80,80,00,80,\
 00,00,00,80,00,80,00,80,80,00,00,c0,c0,c0,00,80,80,80,00,00,00,ff,00,00,ff,\
 00,00,00,ff,ff,00,ff,00,00,00,ff,00,ff,00,ff,ff,00,00,ff,ff,ff,00,00,00,00,\
 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ab,a0,00,00,00,00,00,00,00,\
 00,00,00,00,00,00,00,ba,b0,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ab,a0,\
 00,00,00,00,00,00,00,00,00,00,00,f0,00,00,ba,b0,00,00,00,00,00,00,88,88,88,\
 88,88,f0,ab,ab,ab,ab,ab,a0,00,00,00,00,8f,77,77,77,77,f0,ba,ba,ba,ba,ba,b0,\
 00,00,00,00,8f,77,77,77,77,f0,ab,ab,ab,ab,ab,a0,00,00,00,00,8f,77,77,77,77,\
 f0,00,00,ba,b0,00,00,00,00,00,00,8f,77,77,77,77,ff,ff,f0,ab,a0,00,00,00,88,\
 80,00,8f,77,77,77,77,77,77,f0,ba,b0,00,00,88,77,88,00,8f,77,77,77,77,77,77,\
 f0,ab,a0,00,00,8f,f7,70,77,8f,77,77,77,77,77,77,f0,00,00,00,00,8f,ff,78,08,\
 8f,77,77,77,77,77,77,ff,ff,ff,00,00,08,ff,70,00,8f,77,77,77,77,77,77,77,77,\
 80,00,00,00,88,80,00,8f,77,77,77,77,77,77,77,77,80,00,00,00,00,00,00,8f,77,\
 77,77,77,77,77,77,77,80,00,00,00,00,00,00,8f,77,77,77,77,77,77,77,77,80,00,\
 00,00,00,00,00,8f,77,77,77,77,77,77,77,77,80,00,00,00,00,00,00,8f,ff,ff,ff,\
 ff,ff,ff,ff,ff,80,00,00,00,00,00,00,88,88,88,88,88,88,88,88,88,80,00,00,00,\
 00,00,00,00,00,08,70,00,00,08,70,00,00,00,00,00,00,00,00,00,00,08,f0,00,00,\
 08,f0,00,00,00,00,00,00,00,00,00,00,00,80,00,00,00,80,00,00,00,00,00,00,00,\
 00,00,00,08,08,00,00,08,08,00,00,00,00,00,00,00,00,00,08,77,78,80,08,77,78,\
 80,00,00,00,00,00,00,00,00,08,ff,77,80,08,ff,77,80,00,00,00,00,00,00,00,00,\
 08,ff,f7,80,08,ff,f7,80,00,00,00,00,00,00,00,00,00,8f,f7,00,00,8f,f7,00,00,\
 00,00,00,00,00,00,00,00,07,77,00,00,07,77,00,00,00,00,00,00,00,00,00,00,00,\
 00,00,00,00,00,00,00,00,00,ff,ff,ff,ff,ff,ff,fe,0f,ff,ff,fe,0f,ff,ff,fe,0f,\
 ff,ff,fe,0f,ff,00,00,00,ff,00,00,00,ff,00,00,00,ff,00,00,00,ff,00,00,00,c7,\
 00,00,0f,83,00,00,0f,00,00,00,0f,00,00,00,0f,00,00,00,0f,83,00,00,0f,c7,00,\
 00,0f,ff,00,00,0f,ff,00,00,0f,ff,00,00,0f,ff,00,00,0f,ff,00,00,0f,ff,f8,f8,\
 ff,ff,f8,f8,ff,ff,f8,f8,ff,ff,f0,70,7f,ff,e0,20,3f,ff,e0,20,3f,ff,e0,20,3f,\
 ff,f0,70,7f,ff,f8,f8,ff,ff,ff,ff,ff,28,00,00,00,10,00,00,00,20,00,00,00,01,\
 00,04,00,00,00,00,00,c0,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
 00,00,00,00,00,00,00,00,80,00,00,80,00,00,00,80,80,00,80,00,00,00,80,00,80,\
 00,80,80,00,00,c0,c0,c0,00,80,80,80,00,00,00,ff,00,00,ff,00,00,00,ff,ff,00,\
 ff,00,00,00,ff,00,ff,00,ff,ff,00,00,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,\
 00,00,00,00,00,00,00,00,00,00,00,00,00,a0,00,00,00,00,00,00,00,b0,00,00,00,\
 00,00,f0,ab,ab,a0,00,00,8f,88,f0,00,b0,00,00,00,8f,77,ff,f0,a0,00,70,70,8f,\
 77,77,f0,00,00,0f,00,8f,77,77,ff,ff,00,70,70,8f,77,77,77,80,00,00,00,8f,ff,\
 ff,ff,80,00,00,00,88,88,88,88,80,00,00,00,00,00,00,00,00,00,00,00,00,07,07,\
 00,00,00,00,00,00,00,f0,00,00,00,00,00,00,07,07,00,00,00,ff,ff,00,00,ff,e3,\
 00,00,ff,e3,00,00,ff,80,00,00,f0,00,00,00,f0,00,00,00,f0,03,00,00,10,03,00,\
 00,00,03,00,00,10,03,00,00,f0,03,00,00,f0,03,00,00,ff,7f,00,00,fe,3f,00,00,\
 fe,3f,00,00,fe,3f,00,00
"CommandLineSafe"=dword:00000001
"CommandPreload"=dword:00000001
"LoadBehavior"=dword:00000007
"FriendlyName"="VBCommenter"
"Description"="Automatically generate Comments for VB Code"

[HKEY_CLASSES_ROOT\CLSID\{8A61D675-20BE-4ED2-AFFC-0017B370FDF5}]
@="VBCommenter.Connect"

[HKEY_CLASSES_ROOT\CLSID\{8A61D675-20BE-4ED2-AFFC-0017B370FDF5}\Implemented
Categories]

[HKEY_CLASSES_ROOT\CLSID\{8A61D675-20BE-4ED2-AFFC-0017B370FDF5}\Implemented
Categories\{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}]

[HKEY_CLASSES_ROOT\CLSID\{8A61D675-20BE-4ED2-AFFC-0017B370FDF5}\InprocServer32]
@="C:\\WINDOWS\\system32\\mscoree.DLL"
"InprocServer32"=hex(7):7c,00,58,00,5a,00,78,00,3d,00,57,00,5d,00,4b,00,56,00,\
 42,00,41,00,50,00,4d,00,64,00,43,00,31,00,61,00,6a,00,28,00,56,00,68,00,3e,\
 00,57,00,46,00,2a,00,35,00,6a,00,4c,00,52,00,7d,00,38,00,2e,00,4e,00,63,00,\
 56,00,62,00,67,00,29,00,43,00,5a,00,30,00,70,00,00,00,00,00
"Assembly"="VBCommenter, Version=1.1.1481.36363, Culture=neutral,
PublicKeyToken=null"
"CodeBase"="C:\\Program Files\\PowerToys for Visual Studio .NET
2003\\VBCommenter\\VBCommenter.dll"
"ThreadingModel"="Both"
"Class"="VBCommenter.Connect"
"RuntimeVersion"="v1.1.4322"

[HKEY_CLASSES_ROOT\CLSID\{8A61D675-20BE-4ED2-AFFC-0017B370FDF5}\InprocServer32\1.1.1481.36363]
"Assembly"="VBCommenter, Version=1.1.1481.36363, Culture=neutral,
PublicKeyToken=null"
"Class"="VBCommenter.Connect"
"RuntimeVersion"="v1.1.4322"
"CodeBase"="C:\\Program Files\\PowerToys for Visual Studio .NET
2003\\VBCommenter\\VBCommenter.dll"

[HKEY_CLASSES_ROOT\CLSID\{8A61D675-20BE-4ED2-AFFC-0017B370FDF5}\ProgID]
@="Commentator.Connect"

[HKEY_CLASSES_ROOT\Commentator.Connect]
@="VBCommenter.Connect"

[HKEY_CLASSES_ROOT\Commentator.Connect\CLSID]
@="{8A61D675-20BE-4ED2-AFFC-0017B370FDF5}"
Eugenio Serrano [MVP] - 10 Dec 2004 15:06 GMT
Thanks Himo !

Signature

Saludos,
Eugenio Serrano
NDSoft Consultoria y Desarrollo
MS MVP ASP.Net
Voluntario Ineta Latam (www.ineta.org/latam)

> I think I understand. In order to succesfully install the add-in on another
> file, you must also add some register values, like this:
>
> Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\AddIns\Commentator.C
onnect]
> "AboutBoxDetails"="For more information about Microsoft, see the Microsoft
> website athttp://www.Microsoft.comFor customer support, call
> 1-800-xxx-xxxx.Copyright (c) 2003 Microsoft Inc."

"AboutBoxIcon"=hex:00,00,01,00,02,00,20,20,10,00,00,00,00,00,e8,02,00,00,26,
00,\

00,00,10,10,10,00,00,00,00,00,28,01,00,00,0e,03,00,00,28,00,00,00,20,00,00,\

00,40,00,00,00,01,00,04,00,00,00,00,00,80,02,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,80,00,00,80,00,00,00,80,80,00,80,\

00,00,00,80,00,80,00,80,80,00,00,c0,c0,c0,00,80,80,80,00,00,00,ff,00,00,ff,\

00,00,00,ff,ff,00,ff,00,00,00,ff,00,ff,00,ff,ff,00,00,ff,ff,ff,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ab,a0,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,ba,b0,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ab,a0,\

00,00,00,00,00,00,00,00,00,00,00,f0,00,00,ba,b0,00,00,00,00,00,00,88,88,88,\

88,88,f0,ab,ab,ab,ab,ab,a0,00,00,00,00,8f,77,77,77,77,f0,ba,ba,ba,ba,ba,b0,\

00,00,00,00,8f,77,77,77,77,f0,ab,ab,ab,ab,ab,a0,00,00,00,00,8f,77,77,77,77,\

f0,00,00,ba,b0,00,00,00,00,00,00,8f,77,77,77,77,ff,ff,f0,ab,a0,00,00,00,88,\

80,00,8f,77,77,77,77,77,77,f0,ba,b0,00,00,88,77,88,00,8f,77,77,77,77,77,77,\

f0,ab,a0,00,00,8f,f7,70,77,8f,77,77,77,77,77,77,f0,00,00,00,00,8f,ff,78,08,\

8f,77,77,77,77,77,77,ff,ff,ff,00,00,08,ff,70,00,8f,77,77,77,77,77,77,77,77,\

80,00,00,00,88,80,00,8f,77,77,77,77,77,77,77,77,80,00,00,00,00,00,00,8f,77,\

77,77,77,77,77,77,77,80,00,00,00,00,00,00,8f,77,77,77,77,77,77,77,77,80,00,\

00,00,00,00,00,8f,77,77,77,77,77,77,77,77,80,00,00,00,00,00,00,8f,ff,ff,ff,\

ff,ff,ff,ff,ff,80,00,00,00,00,00,00,88,88,88,88,88,88,88,88,88,80,00,00,00,\

00,00,00,00,00,08,70,00,00,08,70,00,00,00,00,00,00,00,00,00,00,08,f0,00,00,\

08,f0,00,00,00,00,00,00,00,00,00,00,00,80,00,00,00,80,00,00,00,00,00,00,00,\

00,00,00,08,08,00,00,08,08,00,00,00,00,00,00,00,00,00,08,77,78,80,08,77,78,\

80,00,00,00,00,00,00,00,00,08,ff,77,80,08,ff,77,80,00,00,00,00,00,00,00,00,\

08,ff,f7,80,08,ff,f7,80,00,00,00,00,00,00,00,00,00,8f,f7,00,00,8f,f7,00,00,\

00,00,00,00,00,00,00,00,07,77,00,00,07,77,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,ff,ff,ff,ff,ff,ff,fe,0f,ff,ff,fe,0f,ff,ff,fe,0f,\

ff,ff,fe,0f,ff,00,00,00,ff,00,00,00,ff,00,00,00,ff,00,00,00,ff,00,00,00,c7,\

00,00,0f,83,00,00,0f,00,00,00,0f,00,00,00,0f,00,00,00,0f,83,00,00,0f,c7,00,\

00,0f,ff,00,00,0f,ff,00,00,0f,ff,00,00,0f,ff,00,00,0f,ff,00,00,0f,ff,f8,f8,\

ff,ff,f8,f8,ff,ff,f8,f8,ff,ff,f0,70,7f,ff,e0,20,3f,ff,e0,20,3f,ff,e0,20,3f,\

ff,f0,70,7f,ff,f8,f8,ff,ff,ff,ff,ff,28,00,00,00,10,00,00,00,20,00,00,00,01,\

00,04,00,00,00,00,00,c0,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,80,00,00,80,00,00,00,80,80,00,80,00,00,00,80,00,80,\

00,80,80,00,00,c0,c0,c0,00,80,80,80,00,00,00,ff,00,00,ff,00,00,00,ff,ff,00,\

ff,00,00,00,ff,00,ff,00,ff,ff,00,00,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,a0,00,00,00,00,00,00,00,b0,00,00,00,\

00,00,f0,ab,ab,a0,00,00,8f,88,f0,00,b0,00,00,00,8f,77,ff,f0,a0,00,70,70,8f,\

77,77,f0,00,00,0f,00,8f,77,77,ff,ff,00,70,70,8f,77,77,77,80,00,00,00,8f,ff,\

ff,ff,80,00,00,00,88,88,88,88,80,00,00,00,00,00,00,00,00,00,00,00,00,07,07,\

00,00,00,00,00,00,00,f0,00,00,00,00,00,00,07,07,00,00,00,ff,ff,00,00,ff,e3,\

00,00,ff,e3,00,00,ff,80,00,00,f0,00,00,00,f0,00,00,00,f0,03,00,00,10,03,00,\

00,00,03,00,00,10,03,00,00,f0,03,00,00,f0,03,00,00,ff,7f,00,00,fe,3f,00,00,\
>   fe,3f,00,00,fe,3f,00,00
> "CommandLineSafe"=dword:00000001
[quoted text clipped - 5 lines]
> [HKEY_CLASSES_ROOT\CLSID\{8A61D675-20BE-4ED2-AFFC-0017B370FDF5}]
> @="VBCommenter.Connect"

[HKEY_CLASSES_ROOT\CLSID\{8A61D675-20BE-4ED2-AFFC-0017B370FDF5}\Implemented
> Categories]

[HKEY_CLASSES_ROOT\CLSID\{8A61D675-20BE-4ED2-AFFC-0017B370FDF5}\Implemented
> Categories\{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}]

[HKEY_CLASSES_ROOT\CLSID\{8A61D675-20BE-4ED2-AFFC-0017B370FDF5}\InprocServer
32]
> @="C:\\WINDOWS\\system32\\mscoree.DLL"

"InprocServer32"=hex(7):7c,00,58,00,5a,00,78,00,3d,00,57,00,5d,00,4b,00,56,0
0,\

42,00,41,00,50,00,4d,00,64,00,43,00,31,00,61,00,6a,00,28,00,56,00,68,00,3e,\

00,57,00,46,00,2a,00,35,00,6a,00,4c,00,52,00,7d,00,38,00,2e,00,4e,00,63,00,\
>   56,00,62,00,67,00,29,00,43,00,5a,00,30,00,70,00,00,00,00,00
> "Assembly"="VBCommenter, Version=1.1.1481.36363, Culture=neutral,
[quoted text clipped - 4 lines]
> "Class"="VBCommenter.Connect"
> "RuntimeVersion"="v1.1.4322"

[HKEY_CLASSES_ROOT\CLSID\{8A61D675-20BE-4ED2-AFFC-0017B370FDF5}\InprocServer
32\1.1.1481.36363]
> "Assembly"="VBCommenter, Version=1.1.1481.36363, Culture=neutral,
> PublicKeyToken=null"
[quoted text clipped - 11 lines]
> [HKEY_CLASSES_ROOT\Commentator.Connect\CLSID]
> @="{8A61D675-20BE-4ED2-AFFC-0017B370FDF5}"
Carlos J. Quintero [.NET MVP] - 10 Dec 2004 09:27 GMT
Hola Eugenio,

Antes de depurar, tienes que registrar el add-in, para lo cual:

1) Registrar el ensamblado .NET como component COM. Esto se hace abriendo
una ventana DOS de .NET y usando regasm.exe /codebase miensamblado.dll
2) Registrar el ensamblado .NET como add-in de VS.NET. Esto se hace
añadiendo unas entradas al registro de Windows. Mira las entradas en la
máquina donde está registrado:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\7.1\Addins\MyAddin1.Connect

o

HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Addins\MyAddin1.Connect

[English]

Before debugging, you must register the add-in, which requires:

1) To register the .NET assembly as COM component. You need to open a .NET
prompt and use regasm.exe /codebase myassembly.dll
2) To register the .NET assembly as VS.NET add-in. You need to add some
entries to the Windows registry. See the following entry in the machine
where the add-in is registered:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\7.1\Addins\MyAddin1.Connect

or

HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Addins\MyAddin1.Connect

Signature

Carlos J. Quintero

The MZ-Tools all-in-one add-in, now for .NET: http://www.mztools.com

> First, sorry by english is very rusty
> In a team we are developed a Add-In. In the first machine, the Add-In
[quoted text clipped - 21 lines]
>
> Any suggestion ??
Eugenio Serrano [MVP] - 10 Dec 2004 15:06 GMT
Gracias Carlos !
Thanks Carlos !

Signature

Saludos,
Eugenio Serrano
NDSoft Consultoria y Desarrollo
MS MVP ASP.Net
Voluntario Ineta Latam (www.ineta.org/latam)

> Hola Eugenio,
>
[quoted text clipped - 5 lines]
> añadiendo unas entradas al registro de Windows. Mira las entradas en la
> máquina donde está registrado:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\7.1\Addins\MyAddin1.Connec
t

> o

HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Addins\MyAddin1.Conne
ct

> [English]
>
[quoted text clipped - 5 lines]
> entries to the Windows registry. See the following entry in the machine
> where the add-in is registered:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\7.1\Addins\MyAddin1.Connec
t

> or

HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\Addins\MyAddin1.Conne
ct

> > First, sorry by english is very rusty
> > In a team we are developed a Add-In. In the first machine, the Add-In
[quoted text clipped - 21 lines]
> >
> > Any suggestion ??

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.