WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

VSTO outlook 2007 addin installation problem

 
   Home -> Office -> Program Add-Ins RSS
Next:  Disable Check for Updates button  
Author Message
Nagaraj

External


Since: Jul 04, 2009
Posts: 3



(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.

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
Back to top
Login to vote
Nagaraj

External


Since: Jul 04, 2009
Posts: 3



(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
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Program Add-Ins 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
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support