Outlook Application Destribution Problem

  • Thread starter Thread starter Ilan Krayn
  • Start date Start date
I

Ilan Krayn

Hello

I created an application with a toolbar in Outlook for my users. The
application needs to run at outlook start so the toolbar will always
be there. The application begins runs on Application_Startup().I have
a code signing certificate from a certificate authority.

I tried to distribute the code as a signed VBAProject.OTM file. It
does not work since on other users machines the code does not run on
outlook load.
If the user manually opens the VBA editor, the certificate approval
dialog is displayed, and from now on the code will run. I can not ask
my users to do that, and could not find a way to make my code run
automatically. I was expecting the code to run automatically and that
the certificate approval dialog will show on outlook load, but it does
not.

I then created the application as COM add-in. My users all have
regular user permissions to their machines – no one is an
administrator. This means that users can not register the add-in
themselves. Using an administrator account to register the add-in
results in the add-in failure to load for he users.

Right now I have an application but no way to distribute. How can I
distribute an outlook application to my users?

This is my first outlook application. Any help will be highly
welcomes.

Thanks

Ilan Krayn
 
Hi Ilan,

two possibilities:

1) Many users are allowed to install a normal DLL. If your project also
needs third party components (e.g. MDAC), for which admin rights are
necessary, then maybe you could split your project into two setups. a)
One admin setup, which includes almost all components and b) one user
setup, which includes the add-in dll only.

2) Add the user account temporarily to the admins. Logon as the user,
install the add-in and then remove the account from the admins again.
 
Back
Top