Add-in deployment problem

B

BVM

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
 
K

Ken Slovak - [MVP - Outlook]

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/archive/2007/09/04/deploying-your-vsto-add-in-to-all-users-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.




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
 
B

BVM

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

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/archive/2007/09/04/deploying-your-vsto-add-in-to-all-users-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


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
 
K

Ken Slovak - [MVP - Outlook]

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.




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
 

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