(Msg. 1) Posted: Fri Jul 24, 2009 12:40 am
Post subject: VSTO outlook 2007 addin installation problem Archived from groups: microsoft>public>outlook>program_addins (more info?)
Hi,
I am developing outlook 2007 VSTO plugin and using SetSecurity project also.
In SetSecurity.cs file
I have the following line.
try
{
// The solutionCodeGroupName must be a unique name;
otherwise, the method might delete wrong code group.
StackTrace at
CustomActions.CaspolSecurityPolicyCreator.RunCaspolCommand(String
frameworkFolder, String arguments)
at CustomActions.CaspolSecurityPolicyCreator.RemoveSecurityPolicy(Boolean
machinePolicyLevel, String solutionCodeGroupName)
at CustomActions.SetSecurity.Install(IDictionary stateSaver)
and I am getting error Code 2869.
The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2869.
The installer is rolling back.
Before AddSecurityPolicy, RemoveSecurityPolicy with the
solutionCodeGroupName is failing.
Can anyone tell me how to fix this problem.
(Msg. 2) Posted: Fri Jul 24, 2009 1:06 am
Post subject: RE: VSTO outlook 2007 addin installation problem [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
My system configuration is
Windows XP Professional Version 2002 Service Pack 2
--
Nagaraj Tadipatri
"Nagaraj" wrote:
> Hi,
>
> I am developing outlook 2007 VSTO plugin and using SetSecurity project also.
> In SetSecurity.cs file
> I have the following line.
>
> try
> {
> // The solutionCodeGroupName must be a unique name;
> otherwise, the method might delete wrong code group.
>
> CaspolSecurityPolicyCreator.RemoveSecurityPolicy(allUsers,
> solutionCodeGroupName);
> }
> catch (Exception e)
> {
> MessageBox.Show("StackTrace " + e.StackTrace);
> }
>
> While executing above line
>
> I am getting error.
>
> StackTrace at
> CustomActions.CaspolSecurityPolicyCreator.RunCaspolCommand(String
> frameworkFolder, String arguments)
>
> at CustomActions.CaspolSecurityPolicyCreator.RemoveSecurityPolicy(Boolean
> machinePolicyLevel, String solutionCodeGroupName)
>
> at CustomActions.SetSecurity.Install(IDictionary stateSaver)
>
> and I am getting error Code 2869.
> The installer has encountered an unexpected error installing this package.
> This may indicate a problem with this package. The error code is 2869.
>
> The installer is rolling back.
>
> Before AddSecurityPolicy, RemoveSecurityPolicy with the
> solutionCodeGroupName is failing.
> Can anyone tell me how to fix this problem.
>
> Thanks in advance.
> --
> Nagaraj Tadipatri
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum