Caspol Commands Succeeding in Vista, but not visible in configruation

N

NickP

Hi there,

I have a setup.exe complete with accompanying msi installer created in
VS 2005, for a VSTO Office 2007 Add-In.

Install works fine without any errors and I even have some event log
entries being created that quite clearly state that Caspol has succeeded,
but I am not certain that it has.

Everything else is already available on the system as they have been
installed through the prequisities. So that includes VSTO SE Runtime, .NET
2, Office 2007. Unfortunately the Add-In just won't load, and from previous
experience in XP, this was down to an issue with Caspol not being run
correctly.

The following URL,

http://blogs.msdn.com/astebner/arch...or-a-custom-action-in-visual-studio-2005.aspx

Suggests running a java script on the generated MSI in a post build
event. But with or without this, the result is the same. I see event log
entries telling me that SetSecurity succeeded fine with all the assemblies
that it needs to set the security for, not one failure. Yet it won't appear
in Word. No Add-In errors are reported either.

It works fine under XP, any ideas what I'm missing? Thanks loads in
advance!

Nick.
 
N

NickP

Aaah, and now for some real Debug messages,

add an envrionment variable

VSTO_SUPPRESSDISPLAYALERTS

with a value of 0

and voila, an error message!
 
J

Jialiang Ge [MSFT]

Hello Nick

Here is an article from Misha Shneerson, who is talking about how to
troubleshoot VSTO related issues. It has several tips to share with us,
including the environment variable VSTO_SUPPRESSDISPLAYALERTS.
http://blogs.msdn.com/mshneer/archive/2005/08/26/457002.aspx

Please feel free to let me know if you encounter any other problem in the
issue.
Sincerely,
Jialiang Ge ([email protected], remove ¡®online.¡¯)
Microsoft Online Community Support

==================================================
For MSDN subscribers whose posts are left unanswered, please check this
document: http://blogs.msdn.com/msdnts/pages/postingAlias.aspx

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express/Windows Mail, please make sure
you clear the check box ¡°Tools/Options/Read: Get 300 headers at a time¡±
to see your reply promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided ¡°AS IS¡± with no warranties, and confers no
rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top