winword.exe.manifest for multiple add-ins?

A

Alex

Hello,

We have several MS-Word add-ins that we'd like to be theme-aware.

Is it possible to create a single WinWord.exe.manifest that will apply to _any_ add-in that loads into MS-Word?

Alternatively, can I create a manifest that will apply to several add-ins?
Can I make it version neutral?


My current manifest (below) hardcodes the add-in name and version.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">

<assemblyIdentity
version="1.1.0.15"
processorArchitecture="X86"
name="Company.Product.Module"
type="win32" />

<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*" />
</dependentAssembly>
</dependency>

</assembly>


Thank you,
Alex.
 
P

Peter Huang [MSFT]

Hi Alex.

As the name imply, the Winword.exe.manifest file is applied to the whole
Word.exe application.
Actually the feature app.exe.manifest is used in all kind of windows
application as well as winword.exe.
Commonly the manifest file did not have the knowledge how the host
application will do(e.g. word will load addin), so it did not define a
schema specified for Winword.exe'[s Addins about if certian addins enable
the feature.
This is an application global feature.

Anyway if you are the author of all the addins you may try the KB below,
that is to say you should be able access to the source code and recompile
the addins.
How to apply Windows XP themes to Office COM add-ins
http://support.microsoft.com/kb/830033

If you have any more concerns, please feel free to post here.
Thanks very much for your understanding.

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
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.)
 
A

Alex

Hello Peter,

Thank you for your reply.

I am not sure I understand you correctly.

The Winword.exe.manifest file, as documented in KB830033, explicitly specifies the add-in in the <assemblyIdentity> element.

How should the manifest file look ff I would like the policy to apply to *all* possible add-ins in the system?

(Or, failing that, if I want it to apply to all the add-ins written by me. However, this introduces conflicts when several add-in makers try to install their own manifests.)

Thank you,
Alex.
 
P

Peter Huang [MSFT]

Hi Alex,

Currently I will perform further researching about this issue about
enabling only e.g. 5 out of 10 Com-Addins's XP Style.
Also I would like to check with your concrete scenario so that I can do
research more efficiently.
1. Are all the COM-Addins in the Word process are written by you?I mean if
you can access to the source code and rebuild the Com Addins.
2. What are the COM-Addins written by? e.g. .NET or pure C++, VB6 or others.

Based on my research so far, the manifest file is for process level not dll
level.
Also if all your Com Addins are written in .NET, you may try the .NET way
but not the manifest file to see if that works for you.

If you still have any concern, please feel free to let me know.


Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
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.)
 
A

Alex

Hello Peter,
1. Are all the COM-Addins in the Word process are written by you?I mean if
you can access to the source code and rebuild the Com Addins.

Some of them.
2. What are the COM-Addins written by? e.g. .NET or pure C++, VB6 or others.

Our add-ins use .NET 1.1
Based on my research so far, the manifest file is for process level not dll
level.

Therefore, I will repeat my question from the post you replied to:
Also if all your Com Addins are written in .NET, you may try the .NET way
but not the manifest file to see if that works for you.

We tried it, it didn't work.


Best wishes,
Alex.
 
P

Peter Huang [MSFT]

Hi Alex,

Thanks for your understanding!
Currently I am trying to find the schema for the manifest file define to
see if there is any other approach.
I will update you ASAP.

Thanks for your patience.

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
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.)
 
P

Peter Huang [MSFT]

Hi Alex,

Currently based on my test, it seems that the manifest file did not work
for .NET Addin. But the second approach in the KB works.
But even if I enable the XP Theme for only one Addin, it will apply to all
the Addins in the process.

Currently I am leverage the related engineer to see if there is any other
approach.
Thanks for your patience!


Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
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.)
 
P

Peter Huang [MSFT]

Hi Alex,

Currently I would like to collect more information for you.
Would you please let me know you valid Email address.
You may reach me by removing "online" from my Email Address.
Thanks!

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
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.)
 
P

Peter Huang [MSFT]

Hi Alex,

I am writing to check if you are still monitoring this thread.
If you have any concern, please feel free to post here.

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
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.)

--------------------
X-Tomcat-ID: 260380774
References: <[email protected]>
<[email protected]>
<#[email protected]>
<[email protected]>
<[email protected]>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
From: (e-mail address removed) ("Peter Huang" [MSFT])
Organization: Microsoft
Date: Wed, 07 Feb 2007 12:50:05 GMT
Subject: Re: winword.exe.manifest for multiple add-ins?
X-Tomcat-NG: microsoft.public.office.developer.com.add_ins
Message-ID: <[email protected]>
Newsgroups: microsoft.public.office.developer.com.add_ins
Lines: 35
Path: TK2MSFTNGHUB02.phx.gbl
Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.office.developer.com.add_ins:744
NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122

Hi Alex,

Currently I would like to collect more information for you.
Would you please let me know you valid Email address.
You may reach me by removing "online" from my Email Address.
Thanks!

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#noti f
ications.
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.)
 
A

Alex

"Peter Huang" said:
Hi Alex,

I am writing to check if you are still monitoring this thread.
If you have any concern, please feel free to post here.

Yes Peter, we are working with Richard Taylor from MS to resolve the issue.
Once we have a solution, I'll post it here for the benefit of the community.

Thank you,
Alex.
 

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