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==?= <
[email protected]>
| References: <
[email protected]>
<
[email protected]>
| Subject: RE: Why won't my AddIn load?
| Date: Wed, 12 Apr 2006 20:26:01 -0700
| Lines: 69
| Message-ID: <
[email protected]>
| 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.
As your would see, the steps are for troubleshooting purpose but not for
programming check.
We will use some tools, such as filemon, regmon and fuslogvw.
Some of which are built with low level Win32 API even in the Driver level,
it is far beyond the scope of this newsgroup.
Any way, in dotnet we have registry class which will work with Registry.
BTW: I think you can use remote desktop to connect to your remote user's
machine for troubleshooting.