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

installation problem with Outlook add-in written in VB6



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 6th 07, 06:22 PM posted to microsoft.public.outlook.program_addins
ong
external usenet poster
 
Posts: 2
Default installation problem with Outlook add-in written in VB6

Hi all,

I have encounter when installing a Outlook add-in to my company user. My
situation is I have written a simple Outlook add-in (say myAddin.dll) in VB6,
and it works fine in my own computer by just registering the Dll using
Regsvr32. However, when I deploy it to my company user using the same way, it
fail to load when Outlook starts.

I think this problem is due to my user is login to our company Active
directory domain, and the policy setting prohibit normal user from installing
any program. However, even I use the RunAs command to run the regsvr32, the
user still cannot get it loaded into the Outlook.

My question is
1. How can I deploy the Add-in to the normal domain user ? Is it need to
manually change the registry HKCU record to include the Add-in entries in the
Outlook key ?

2. If I have 50 users, how can I write some login script to do the above
process ?


Thank in advance


Regards,
ong

Ads
  #2  
Old September 7th 07, 02:46 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default installation problem with Outlook add-in written in VB6

If you run regsvr32 under a different logon for permissions reasons the
addin will be registered under HKCU under that RunAs alias, not the user.
Either the user must have elevated permissions to install under their own
alias or the addin will have to be registered under HKLM to make it
available for all users on that computer.

--
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


"ong" wrote in message
...
Hi all,

I have encounter when installing a Outlook add-in to my company user. My
situation is I have written a simple Outlook add-in (say myAddin.dll) in
VB6,
and it works fine in my own computer by just registering the Dll using
Regsvr32. However, when I deploy it to my company user using the same way,
it
fail to load when Outlook starts.

I think this problem is due to my user is login to our company Active
directory domain, and the policy setting prohibit normal user from
installing
any program. However, even I use the RunAs command to run the regsvr32,
the
user still cannot get it loaded into the Outlook.

My question is
1. How can I deploy the Add-in to the normal domain user ? Is it need to
manually change the registry HKCU record to include the Add-in entries in
the
Outlook key ?

2. If I have 50 users, how can I write some login script to do the above
process ?


Thank in advance


Regards,
ong


 




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
Outlook 2007 installation problem Steve the Actuary Outlook - Installation 4 April 13th 07 04:10 AM
OUtlook 2007 installation to Terminal server installation problem Raphael Outlook - Installation 2 February 13th 07 05:18 PM
Outlook add-in installation problem Renjith Outlook and VBA 0 July 18th 06 09:24 AM
Outlook XP installation problem fac3plant Outlook - Installation 1 June 4th 06 03:14 AM
Has anyone written a macro for Outlook to manage documents ? CadTeacher2 Outlook and VBA 2 May 31st 06 10:06 PM


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