Word-toolbar not available in Office XP

Add-in Express™ Support Service
That's what is more important than anything else

Word-toolbar not available in Office XP
 
Bert Stomphorst




Posts: 21
Joined: 2005-10-31
Hi,

I've created an add-in for Outlook and Word, builded against Office2000 PIAs. This Add-in has 3 toolbars in it, one OutlookExplorer, one OutlookInspector and one for Word. The Word-one is default unvisible.
I'm installing the add-in using InnoSetup and registering the dll with regasm.
In Office 2000/XP/2003 (all installed on different machines, so there are no conflicts), in Outlook everything is very well.
In Office 2000/2003, the Word-toolbar is available in View-Toolbars to make it visible.
But the really strange thing: in Word XP, the toolbar is not available...!

Using AddinExpress.MSO.2005.dll, v2.4.1757.1

Does anyone have an idea what's going on here?
Thanx!
Posted 22 Jun, 2006 02:41:45 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Bert.

Do you see the add-in in the 'COM Add-ins' dialog in Word XP?
Posted 22 Jun, 2006 06:22:35 Top
Bert Stomphorst




Posts: 21
Joined: 2005-10-31
No, but the add-in is also not visible in COM Add-ins in Outlook XP and Outlook/Word 2003 (2000 not tried yet)
Posted 22 Jun, 2006 07:37:31 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
That means that you have set the RegisterForAllUsers property to true.
Please set this property to 'false' and test the add-in again.
Probably the add-in is not loaded in Word XP at all.
Also please check if the add-in is in the 'Disabled Items' dialog in Word XP.
Posted 22 Jun, 2006 10:23:37 Top
Bert Stomphorst




Posts: 21
Joined: 2005-10-31
Sorry for my late reply, but I was not in the office for some days, so I couldn't test earlier.

Indeed, I use 'RegisterForAllUsers.
I have set it to false and re-installed the add-in on the OfficeXP-machine. Now the Com-addin-dialog tells me that the addin is not loaded because of a runtime-error during the load. (There were no error-messages in Word while starting or something like that).
I use a shim.

Any idea what could be the reason? In 2000 and 2003 everything works fine.
Posted 26 Jun, 2006 03:55:31 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Bert.

Do you have any other add-ins running in Word XP at the same time?
Posted 26 Jun, 2006 10:50:05 Top
Bert Stomphorst




Posts: 21
Joined: 2005-10-31
No, it is the only one.

I'm just thinking: could the shim be 'corrupt'? (How can I re-generate the Shim for an existing project?)
Posted 26 Jun, 2006 11:18:42 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Bert.

Did you include the 'Shared Add-in Support Update for Microsoft .NET Framework 2.0 (KB908002)' prerequisite to the add-in setup project?
Posted 27 Jun, 2006 06:55:35 Top
Bert Stomphorst




Posts: 21
Joined: 2005-10-31
Hi Sergey,

No, I didn't. I am using Inno Setup, so I have to find an alternate way to install the update. Do you have any idea how to install that update?
Posted 27 Jun, 2006 11:23:53 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
In case of Office 2000 and XP you should use installer that supports msi redistributable packages to install the shared add-in support update (e.g. InstallShield or Wise).
In case of Office 2003 you can install the following update:
http://www.microsoft.com/downloads/details.aspx?FamilyId=1B0BFB35-C252-43CC-8A2A-6A64D6AC4670&displaylang=en

Bert, try to create the setup project with all prerequisites using VS 2005 and run this setup before the add-in installation created using Inno Setup.
Posted 27 Jun, 2006 11:45:29 Top