RE: Why won't my AddIn load?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi David,

Thanks for your quickly reply!
I have forwarded your concern to our product team.
Comments in lines.

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| Thread-Topic: Why won't my AddIn load?
| thread-index: AcZeqf1Q4/KaoLvBRo6B9G4Aqrpn4w==
| X-WBNR-Posting-Host: 199.45.247.98
| From: =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= <thielen@xxxxxxxxxxxxx>
| References: <D5F38DE0-6A39-4703-8EB5-DC638E246CE0@xxxxxxxxxxxxx>
<m$lClGqXGHA.4900@xxxxxxxxxxxxxxxxxxxxx>
| Subject: RE: Why won't my AddIn load?
| Date: Wed, 12 Apr 2006 20:26:01 -0700
| Lines: 69
| Message-ID: <38E39976-FD19-44C6-BEE3-8C04E5025462@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| Newsgroups: microsoft.public.office.developer.com.add_ins
| Path: TK2MSFTNGXA01.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.office.developer.com.add_ins:11032
| NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
| X-Tomcat-NG: microsoft.public.office.developer.com.add_ins
|
| Hello;
|
| Let's assume for a second that the user screwed up one of steps 1 - 7.
How
| can I write a program they can run that checks this. Specifically:
| 1) What registry settings & values should I check for?
After we install an Addin a new registry key will be added in the key
below, so we can check if that have been done.
HKLM | HKCU]/Software/Microsoft/Office/Word/Addins

| 2) Again, what registry settings for this?
After we call regsvr32 to register a COM DLL, an entry will be put into the
key below.
The Addin's progid will under the key below
HKEY_CLASSES_ROOT\
And its classid will be registered into the key below.
HKEY_CLASSES_ROOT\CLSID

| 3) How do I query the CAS settings and what do I need to look for?
You can simply call caspol -s off to turn off the CAS check, so that we can
know if the problem is caused by CAS.

| 4) What permissions are needed?
e.g. If the user ran the Word Addin have the permisson to read the file?
Also
Word will query the registry in 1) and 2), but every registry key also have
permission setting. We need to check if the current running user have
permisson to access it.

These can be done commonly by using Filemon and Regmon

| 5) How do I query the macro security level?
In the Word Tools/Macros/Security/Security Level , setting the security to
lower to see if that works.

| 6) How do I get a list of disabled items?
In the Word, click Help/About MicrosoftOffice Word../Disabled Items

| 7) How can I check dependencies?
Use the Filemon tools to see if there is an entry that certain DLL not
found.
For .NET, you can use the fuslogvw tool to see the binding process if there
is binding error.
|
| The above are all for a C# Forms client app that I would write and have a
| user run.

The commonly steps work for both C# form or Addin, but for C# form program,
we did not need to check the registry 1) 2), because that is for COM or
Word specific.


BTW: I think you can use remote desktop to connect to your remote user's
machine for troubleshooting.

.



Relevant Pages

  • My Favorite Windows Software
    ... TweakUI XP is a Microsoft PowerToy that gives you access to system ... interface, including mouse settings, Explorer settings, taskbar ... ERUNT Registry backup tool (Free) ... Helps you find files and folders on your computer. ...
    (soc.retirement)
  • RE: MS SQL Server Management Studio - Import and Export Settings
    ... Microsoft Global Technical Support Center ... MS SQL Server Management Studio - Import and Export Settings ... |> The information of the location of this file is stored in the Registry. ...
    (microsoft.public.sqlserver.setup)
  • Re: Tweakui 133
    ... What error message? ... Hacking the registry was probably the worst possible ... Microsoft Certified Professional ... How can I get my old settings ...
    (microsoft.public.win2000.general)
  • RE: Why wont my AddIn load?
    ... Microsoft Online Community Support ... | 1) What registry settings & values should I check for? ... After we install an Addin a new registry key will be added in the key ... If the user ran the Word Addin have the permisson to read the file? ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: HOWTO: create redistributable COM Addins for office using .Net
    ... >> Addin on other machines. ... Storing Application Settings for the Addin ... >> application and the registry key is automatically set to 2. ... >> excel the configuration file would be exel.exe.config. ...
    (microsoft.public.office.developer.com.add_ins)