![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have an Office Add-In that I am distributing and installing. When I run Regasm /regfile on it, and then double-click the resultant regfile (adding it into the registry) my Add-In does not appear in the list of available automation servers on the machine. However, if I call Regasm on it, it then does appear in the list of automation servers. This indicates that Regasm /regfile does not put into the reg file the same thing that regasm is doing. Running regmon turns up that while Regasm /regfile puts several keys into HKCR, actually calling Regasm, puts many of those keys into HKCU. Can anyone explain? |
#3
| |||
| |||
|
|
Regasm /regfile does not create type library registration entries - that's probably what's going on because a list of available COM servers is typically a list of type libraries. -- -- Phil Wilson [MVP Windows Installer] "Matthew Wieder" <MatthewWieder (AT) discussions (DOT) microsoft.com> wrote in message news:68D8ABCB-D406-4013-B53E-653CA13293D7 (AT) microsoft (DOT) com... I have an Office Add-In that I am distributing and installing. When I run Regasm /regfile on it, and then double-click the resultant regfile (adding it into the registry) my Add-In does not appear in the list of available automation servers on the machine. However, if I call Regasm on it, it then does appear in the list of automation servers. This indicates that Regasm /regfile does not put into the reg file the same thing that regasm is doing. Running regmon turns up that while Regasm /regfile puts several keys into HKCR, actually calling Regasm, puts many of those keys into HKCU. Can anyone explain? |
#4
| |||
| |||
|
|
no tlb is generated , also, the list is of "Automation Servers" not COM servers. One way to see this list, is to open Excel (XP or 2k3), click on Tools->Add-Ins and then click on "Automation". As I mentioned, regmon showed the only difference is in the keys going to HKCU instead of HKCR.... "Phil Wilson" wrote: Regasm /regfile does not create type library registration entries - that's probably what's going on because a list of available COM servers is typically a list of type libraries. -- -- Phil Wilson [MVP Windows Installer] "Matthew Wieder" <MatthewWieder (AT) discussions (DOT) microsoft.com> wrote in message news:68D8ABCB-D406-4013-B53E-653CA13293D7 (AT) microsoft (DOT) com... I have an Office Add-In that I am distributing and installing. When I run Regasm /regfile on it, and then double-click the resultant regfile (adding it into the registry) my Add-In does not appear in the list of available automation servers on the machine. However, if I call Regasm on it, it then does appear in the list of automation servers. This indicates that Regasm /regfile does not put into the reg file the same thing that regasm is doing. Running regmon turns up that while Regasm /regfile puts several keys into HKCR, actually calling Regasm, puts many of those keys into HKCU. Can anyone explain? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |