Multiuser installation isuues

Add-in Express™ Support Service
That's what is more important than anything else

Multiuser installation isuues
Howto install the addin for all non-admin users sharing one desktop? 
Sergey Grischenko


Add-in Express team


Posts: 7235
Joined: 2004-07-05
Thomas,
is the RegisterForAllUsers property set to 'false' in the add-in?
Posted 27 Feb, 2007 12:46:06 Top
Thomas Guenther




Posts: 94
Joined: 2006-02-20
Hi Sergey!

No. It's set to true (because we want to register it for all users).
We use the following loadersettings in the manifest-file:

<loaderSettings generateLogFile="true" shadowCopyEnabled="false" privileges="administrator" />
Posted 27 Feb, 2007 12:50:08 Top
Sergey Grischenko


Add-in Express team


Posts: 7235
Joined: 2004-07-05
Thomas,
you can't register the add-in for all users under a non admin user. As you know a non admin user can't change the HKLM key.
Posted 27 Feb, 2007 12:54:53 Top
Sergey Grischenko


Add-in Express team


Posts: 7235
Joined: 2004-07-05
Thomas, I would advise you to install the add-in for each user individually.

RegisterForAllUsers = false

and

<loaderSettings generateLogFile="true" shadowCopyEnabled="false" privileges="user" />
Posted 27 Feb, 2007 12:56:59 Top
Thomas Guenther




Posts: 94
Joined: 2006-02-20
Hi Sergey!

We installed the addin with an user account having addministrative rights for all users. So all necessary registry entries should go into HKLM, are i'm right? If i understand this behaviour (please correct me if i'm wrong) all non-admin users can read this keys. Or are there any registering issues left in the addin which will be done if a new user logs in to the system and tries to use outlook with the addin even if all necessary HKLM keys exists?

Any ideas what i can do?


1000 thanx for your help Sergey, your support is really great!!!

Ciao,
Thomas
Posted 27 Feb, 2007 13:01:40 Top
Thomas Guenther




Posts: 94
Joined: 2006-02-20
Sergey, installing per user isn't an option for us because our customer want's a multi-user install package.

This addin should be rolled out to 2500 users automatically (which has only non-admin rights) and there are many users sharing one machine.

What about the solution you mentioned in this post?

http://www.add-in-express.com/forum/read.php?FID=5&TID=677&MID=3226&phrase_id=303092#message3226

Ciao,
Thomas
Posted 27 Feb, 2007 13:05:43 Top
Sergey Grischenko


Add-in Express team


Posts: 7235
Joined: 2004-07-05
Thomas,
What about two installers? You could deploy one installer for admin and one for non admin users.
Posted 27 Feb, 2007 13:22:31 Top
Thomas Guenther




Posts: 94
Joined: 2006-02-20
Hmm.... but how should the admin than install the addin for all non-admin users automatically on the PCs?

Posted 27 Feb, 2007 13:28:14 Top
Sergey Grischenko


Add-in Express team


Posts: 7235
Joined: 2004-07-05
The admin should use the administrative setup to install the add-in for all users automatically (RegisterForAllUsers = true).

If the setup is not administrative (RegisterForAllUsers = false), a non admin user can install/uninstall the add-in without the administrator. This setup doesn't affect other users on the PC and the add-in can be installed for each user individually.
Posted 27 Feb, 2007 13:41:29 Top
Thomas Guenther




Posts: 94
Joined: 2006-02-20
Hi Sergey!

Thank you very much for clarifying the installation things.

We could fix our Multiuser installation package issue.

Now it's possible to install the package as Administrator on an PC and all user who logs in can use our addin.

The problem was a component which we registered for COM-interop in the installer setup and for some reason this component could not been found on the computer if the user hasn't admin rights. When a user logged in after the addin was installed the setup program was running again and tried to register the 'missing' COM component. We modified our code to that effect, that this component don't need to be registered for COM-interop and now all works fine.

THANK YOU FOR YOUR HELP!!!


Ciao,
Thomas
Posted 02 Mar, 2007 05:20:30 Top