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

problem with installer for addin



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 17th 06, 12:33 PM posted to microsoft.public.outlook.program_addins
Claus
external usenet poster
 
Posts: 4
Default problem with installer for addin

hello,

i wrote an addin for outlook with office developer.
Now I need a MSI-Installer for the addin. I tried with WinINSTALL LE and the
msi package works, when I use the 'per user' option and HKEY_CU registry
entries. But it works only, when I'm logged in as Administrator. The
installer throws an error, when I use it with a normal user account.
When I write to HKEY_LM the AddIn doesn't work at all (I know, that in this
case one can't see the AddIn in the COM-AddIns tab, but it doesn't work at
all).
Does anybody know, how to build an MSI-Installer, so that it can be used for
network rollout?

Claus
  #2  
Old May 17th 06, 03:15 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default problem with installer for addin

That would depend on the permissions that are available to
non-administrators. Any installation in HKCU is going to be per Windows user
logon. If done under an admin profile the addin wouldn't be available for a
different user.

I'm not sure what your installer packager is doing, I use InstallShield. But
if it's writing to the correct hive and keys in the registry it shouldn't
matter. It then becomes a permissions issue.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Claus" wrote in message
...
hello,

i wrote an addin for outlook with office developer.
Now I need a MSI-Installer for the addin. I tried with WinINSTALL LE and
the
msi package works, when I use the 'per user' option and HKEY_CU registry
entries. But it works only, when I'm logged in as Administrator. The
installer throws an error, when I use it with a normal user account.
When I write to HKEY_LM the AddIn doesn't work at all (I know, that in
this
case one can't see the AddIn in the COM-AddIns tab, but it doesn't work at
all).
Does anybody know, how to build an MSI-Installer, so that it can be used
for
network rollout?

Claus


  #3  
Old May 17th 06, 03:50 PM posted to microsoft.public.outlook.program_addins
Claus
external usenet poster
 
Posts: 4
Default problem with installer for addin

thank you, Ken,

so, how is a Outlook AddIn normaly installed for all users in a bigger
network?
the customer just said, he needs an MSI Installer.
Should an MSI setup, wich writes to HKLM and installs the AddIn-DLL to let's
say systems32, work, so that the administrator can do the installation for
all users?


"Ken Slovak - [MVP - Outlook]" wrote:

That would depend on the permissions that are available to
non-administrators. Any installation in HKCU is going to be per Windows user
logon. If done under an admin profile the addin wouldn't be available for a
different user.

I'm not sure what your installer packager is doing, I use InstallShield. But
if it's writing to the correct hive and keys in the registry it shouldn't
matter. It then becomes a permissions issue.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Claus" wrote in message
...
hello,

i wrote an addin for outlook with office developer.
Now I need a MSI-Installer for the addin. I tried with WinINSTALL LE and
the
msi package works, when I use the 'per user' option and HKEY_CU registry
entries. But it works only, when I'm logged in as Administrator. The
installer throws an error, when I use it with a normal user account.
When I write to HKEY_LM the AddIn doesn't work at all (I know, that in
this
case one can't see the AddIn in the COM-AddIns tab, but it doesn't work at
all).
Does anybody know, how to build an MSI-Installer, so that it can be used
for
network rollout?

Claus



  #4  
Old May 17th 06, 05:10 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default problem with installer for addin

That would depend on whether the client wants their users to be able to
disable the addin in the COM Add-Ins dialog. If so you must register in
HKCU. That can be done by running a logon script that would run the
installer for each user when they log on to Windows if the addin wasn't
already registered. If an admin installation in HKLM it can be run once on
each computer or deployed using SMS or by a logon script.

I would never install in \System32 however, that's bad practice. I would use
a path under Program Files.

An MSI can be run by calling msiexec.exe using the switch for silent
installation if desired.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Claus" wrote in message
...
thank you, Ken,

so, how is a Outlook AddIn normaly installed for all users in a bigger
network?
the customer just said, he needs an MSI Installer.
Should an MSI setup, wich writes to HKLM and installs the AddIn-DLL to
let's
say systems32, work, so that the administrator can do the installation for
all users?


  #5  
Old May 18th 06, 11:46 AM posted to microsoft.public.outlook.program_addins
Claus
external usenet poster
 
Posts: 4
Default problem with installer for addin

my msi works, if I run it under an admin accout and write the registry stuff
to HKCU.
It doesn't work (no error occures, but the addin doesn't load), neither for
the current admin user nore for other users, if I write the registry stuff to
HKLM.
Do you have any idea, what the reason could be?

thank you again,
Claus


"Ken Slovak - [MVP - Outlook]" wrote:

That would depend on whether the client wants their users to be able to
disable the addin in the COM Add-Ins dialog. If so you must register in
HKCU. That can be done by running a logon script that would run the
installer for each user when they log on to Windows if the addin wasn't
already registered. If an admin installation in HKLM it can be run once on
each computer or deployed using SMS or by a logon script.

I would never install in \System32 however, that's bad practice. I would use
a path under Program Files.

An MSI can be run by calling msiexec.exe using the switch for silent
installation if desired.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Claus" wrote in message
...
thank you, Ken,

so, how is a Outlook AddIn normaly installed for all users in a bigger
network?
the customer just said, he needs an MSI Installer.
Should an MSI setup, wich writes to HKLM and installs the AddIn-DLL to
let's
say systems32, work, so that the administrator can do the installation for
all users?



  #6  
Old May 18th 06, 01:08 PM posted to microsoft.public.outlook.program_addins
Claus
external usenet poster
 
Posts: 4
Default problem with installer for addin

the error was:
the Key in HKLM..\Outlook\AddIns was wrong: it must be the project name
followed by ".AddIn". The Key in HKCU was "automatically" correct, because it
was produced by the register process of the AddIn-DLL.

"Claus" wrote:

my msi works, if I run it under an admin accout and write the registry stuff
to HKCU.
It doesn't work (no error occures, but the addin doesn't load), neither for
the current admin user nore for other users, if I write the registry stuff to
HKLM.
Do you have any idea, what the reason could be?

thank you again,
Claus


"Ken Slovak - [MVP - Outlook]" wrote:

That would depend on whether the client wants their users to be able to
disable the addin in the COM Add-Ins dialog. If so you must register in
HKCU. That can be done by running a logon script that would run the
installer for each user when they log on to Windows if the addin wasn't
already registered. If an admin installation in HKLM it can be run once on
each computer or deployed using SMS or by a logon script.

I would never install in \System32 however, that's bad practice. I would use
a path under Program Files.

An MSI can be run by calling msiexec.exe using the switch for silent
installation if desired.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Claus" wrote in message
...
thank you, Ken,

so, how is a Outlook AddIn normaly installed for all users in a bigger
network?
the customer just said, he needs an MSI Installer.
Should an MSI setup, wich writes to HKLM and installs the AddIn-DLL to
let's
say systems32, work, so that the administrator can do the installation for
all users?



 




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
Problem getting Incoming Item in my Outlook Addin seby Add-ins for Outlook 1 May 6th 06 07:44 PM
A different problem with Outlook Addin Ram Add-ins for Outlook 1 April 24th 06 03:31 PM
OCX problem in VB Outlook AddIn Rui Oliveira Add-ins for Outlook 0 March 31st 06 05:42 PM
stationary installer windandwaves Outlook - General Queries 2 March 20th 06 10:30 PM
unload COM addin problem David Cebrian Add-ins for Outlook 3 February 9th 06 11:26 AM


All times are GMT +1. The time now is 07:53 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.