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

Prevent loading add-in programmatically



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 18th 06, 04:42 PM posted to microsoft.public.outlook.program_addins
Wouter
external usenet poster
 
Posts: 2
Default Prevent loading add-in programmatically

Hi,

We are migrating from a fat client to a terminal server (Windows Server

2003 with TS) environment. In the old situation we had some user's pc's

installed with a third party tool that uses an Outlook Add-in DLL. In
the new situation this third party tool is installed on the terminal
server and hence available for all users. Problem is, we only have
licenses for a few users and not all of them.


I've tried using NTFS rights to restrict access to the third party's
program folder, but this results in an error when starting Outlook
2003. Is there a way to prevent loading these Outlook Add-in DLL's
programmatically, either by using GPO or by setting (temporary)
Registry Keys using PowerFuse (both options are available)?


TIA,
Wouter

Ads
  #2  
Old May 18th 06, 05:33 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Prevent loading add-in programmatically

If you set the LoadBehavior registry value to 2 instead of 3 it will be
visible in the COM Add-Ins dialog but not loaded on startup, only on demand
from that dialog. Setting it to 0 will hide it from the dialog.

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


"Wouter" wrote in message
oups.com...
Hi,

We are migrating from a fat client to a terminal server (Windows Server

2003 with TS) environment. In the old situation we had some user's pc's

installed with a third party tool that uses an Outlook Add-in DLL. In
the new situation this third party tool is installed on the terminal
server and hence available for all users. Problem is, we only have
licenses for a few users and not all of them.


I've tried using NTFS rights to restrict access to the third party's
program folder, but this results in an error when starting Outlook
2003. Is there a way to prevent loading these Outlook Add-in DLL's
programmatically, either by using GPO or by setting (temporary)
Registry Keys using PowerFuse (both options are available)?


TIA,
Wouter


  #3  
Old May 19th 06, 03:17 PM posted to microsoft.public.outlook.program_addins
Wouter
external usenet poster
 
Posts: 2
Default Prevent loading add-in programmatically

Thanks for your reply Ken. The thing is I have difficulties setting the
Registry to block this Add-in. In the Outlook Add-in Manager it is
mentioned as "Workshare Protect Outlook Extension", but I cannot find
this value in the HKLM or the HKCU registry.

I do think I've found the exact DLL for the add-in (by setting NTFS
deny execute permissions, an error occured, and by using the OfficeIn
tool from http://www.nirsoft.net), so I created the following RegKey to
prevent the add-in from loading:

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Outloo k\Addins\Workshare.OutlookAddIn]
"FileName"="WPOutlookAddin.dll"
"LoadBehavior"=dword:00000002
"CommandLineSafe"=dword:00000000

By using this key Outlook seems to prevent loading the DLL in the users
profile folder "\Application Data\Microsoft\Add-in\", but the DLL is in
the application's program folder "D:\Programs Folder\Workshare". How do
I point to the right location of the DLL by the Registry?

TIA
Wouter

Ken Slovak - [MVP - Outlook] schreef:

If you set the LoadBehavior registry value to 2 instead of 3 it will be
visible in the COM Add-Ins dialog but not loaded on startup, only on demand
from that dialog. Setting it to 0 will hide it from the dialog.

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


"Wouter" wrote in message
oups.com...
Hi,

We are migrating from a fat client to a terminal server (Windows Server

2003 with TS) environment. In the old situation we had some user's pc's

installed with a third party tool that uses an Outlook Add-in DLL. In
the new situation this third party tool is installed on the terminal
server and hence available for all users. Problem is, we only have
licenses for a few users and not all of them.


I've tried using NTFS rights to restrict access to the third party's
program folder, but this results in an error when starting Outlook
2003. Is there a way to prevent loading these Outlook Add-in DLL's
programmatically, either by using GPO or by setting (temporary)
Registry Keys using PowerFuse (both options are available)?


TIA,
Wouter


  #4  
Old May 19th 06, 07:34 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Prevent loading add-in programmatically

I have no idea what the addin is or where it's registered or how. I'd
suggest uninstalling it and then running something like RegMon and seeing
where it gets installed and under which registry keys.

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


"Wouter" wrote in message
ps.com...
Thanks for your reply Ken. The thing is I have difficulties setting the
Registry to block this Add-in. In the Outlook Add-in Manager it is
mentioned as "Workshare Protect Outlook Extension", but I cannot find
this value in the HKLM or the HKCU registry.

I do think I've found the exact DLL for the add-in (by setting NTFS
deny execute permissions, an error occured, and by using the OfficeIn
tool from http://www.nirsoft.net), so I created the following RegKey to
prevent the add-in from loading:

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Outloo k\Addins\Workshare.OutlookAddIn]
"FileName"="WPOutlookAddin.dll"
"LoadBehavior"=dword:00000002
"CommandLineSafe"=dword:00000000

By using this key Outlook seems to prevent loading the DLL in the users
profile folder "\Application Data\Microsoft\Add-in\", but the DLL is in
the application's program folder "D:\Programs Folder\Workshare". How do
I point to the right location of the DLL by the Registry?

TIA
Wouter


 




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
programmatically add control for user interaction/feedback Loane Sharp Outlook - General Queries 1 May 24th 06 07:44 PM
Outlook add-ins stop loading roger@rogndeb.us Add-ins for Outlook 0 May 17th 06 12:24 AM
Very slow loading Bob Outlook - General Queries 1 April 17th 06 08:50 PM
How to add a bitmap footer to each outgoing email programmatically Herve cadieu Outlook and VBA 3 March 13th 06 06:39 PM
loading spedy Outlook Express 0 March 11th 06 09:08 PM


All times are GMT +1. The time now is 07:25 PM.


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.