A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Add-in deployment problem



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 10th 10, 07:04 AM posted to microsoft.public.outlook.program_addins
BVM
external usenet poster
 
Posts: 15
Default Add-in deployment problem

Hi,

I made an Outlook add-in. I created setup files and deployed it to another computer. I login as USER1 and installed add-in and used CASPOL to set permission to the user to run. It worked well.

I then log out and log in as USER2. Open the Outlook, it didn't work. I then used CASPOL to assign permission to USER2 to run the add-in. It still didn't work.

My question is: how can I install add-in once and set the security in one go, then every user on this computer can use my add-in? Should I do anything on setup project?

Thanks,

Danny Huang
Ads
  #2  
Old February 10th 10, 03:06 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Add-in deployment problem

Login to where as user1 and user2? If these are different Windows logins
then each user would have a different HKCU hive of the registry. If your
addin was registered in HKCU, which I assume it was since you only need to
fool with CASPOL for VSTO addins which are registered in HKCU, that's the
reason it isn't working for user2.

You'd need to register in HKCU for each user on that computer, or to
register in HKLM which would allow use for all users. However, if this
really is a VSTO addin registration in HKLM is a problem. For information on
that see the article here
http://blogs.msdn.com/mshneer/archiv...rs-part-i.aspx
in Misha's blog.

In the future please post all relevant information, such as Outlook versions
to be supported and the version you developed on, language used and
platform, Windows version, and whether it's VSTO or a shared addin or
whatever.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"BVM" wrote in message
...
Hi,

I made an Outlook add-in. I created setup files and deployed it to another
computer. I login as USER1 and installed add-in and used CASPOL to set
permission to the user to run. It worked well.

I then log out and log in as USER2. Open the Outlook, it didn't work. I
then used CASPOL to assign permission to USER2 to run the add-in. It still
didn't work.

My question is: how can I install add-in once and set the security in one
go, then every user on this computer can use my add-in? Should I do anything
on setup project?

Thanks,

Danny Huang

  #3  
Old February 12th 10, 07:05 AM posted to microsoft.public.outlook.program_addins
BVM
external usenet poster
 
Posts: 15
Default Add-in deployment problem

Thanks, Ken.

Both User1 and User 2 on the same computer, same Windows XP. I use Outlook 2003.

Yes, addin was registered in HKCU. I will Try to register it i HKLM.

Thank you for your help.

Danny

"Ken Slovak - [MVP - Outlook]" wrote in message ...
Login to where as user1 and user2? If these are different Windows logins then each user would have a different HKCU hive of the registry. If your addin was registered in HKCU, which I assume it was since you only need to fool with CASPOL for VSTO addins which are registered in HKCU, that's the reason it isn't working for user2.

You'd need to register in HKCU for each user on that computer, or to register in HKLM which would allow use for all users. However, if this really is a VSTO addin registration in HKLM is a problem. For information on that see the article here http://blogs.msdn.com/mshneer/archiv...rs-part-i.aspx in Misha's blog.

In the future please post all relevant information, such as Outlook versions to be supported and the version you developed on, language used and platform, Windows version, and whether it's VSTO or a shared addin or whatever.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"BVM" wrote in message ...
Hi,

I made an Outlook add-in. I created setup files and deployed it to another computer. I login as USER1 and installed add-in and used CASPOL to set permission to the user to run. It worked well.

I then log out and log in as USER2. Open the Outlook, it didn't work. I then used CASPOL to assign permission to USER2 to run the add-in. It still didn't work.

My question is: how can I install add-in once and set the security in one go, then every user on this computer can use my add-in? Should I do anything on setup project?

Thanks,

Danny Huang
  #4  
Old February 12th 10, 03:09 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Add-in deployment problem

If this is a VSTO addin, which I suspect but you didn't confirm, make sure
you read Misha's blog articles before attempting to register a VSTO addin in
HKLM. Normally Outlook will refuse to load such an addin when registered
there.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"BVM" wrote in message
...
Thanks, Ken.

Both User1 and User 2 on the same computer, same Windows XP. I use Outlook
2003.

Yes, addin was registered in HKCU. I will Try to register it i HKLM.

Thank you for your help.

Danny

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VSTO deployment? Mark B[_2_] Add-ins for Outlook 1 December 23rd 09 04:10 PM
Deployment Planning kdbwtg Outlook - Installation 3 October 12th 07 10:00 PM
Com AddIns deployment DavidE Add-ins for Outlook 4 November 5th 06 08:57 AM
Outlook Deployment using GPO / MST Keith Schlottman Outlook - Installation 8 April 25th 06 08:43 AM
Outlook deployment Sue Mosher [MVP-Outlook] Outlook - Installation 0 January 18th 06 08:00 PM


All times are GMT +1. The time now is 11:48 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.