I am packaging an application which is a Addin for Outlook express. Addin contain two dll and one OCX file. After installating the apps and open the MS outlook, this addin already appear in the tool bar. Go to Tools > Customize > Toolbars, I can see this addin already selected.

1. Since component attribute is set to increment dll count, uninstall will remove the dll. On opening the Outlook, A ERROR MESSAGE appears which say "crmplugin.dll" file is not found in c:\windows\crmplugin folder.
This error appear only on launching outlook for the first time after uninstalling the apps. Checked using regmon and filemon, It is not making any reg entry nor setting the ini file also. suspect about the outlook startup. How to avoid this error msg.
If anyone work with addin and face this kind of problem pls help.

2. The Addin option in the customize window is not deleted after Uninstall, instead, it appear selected. User has to manually deselect and delete the Addin to avoid appearing in the main window. How to delete the Addin from the customize window?

If you require a MSI I can supply it. Pls let know.

0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity



Your uninstall is not clean otherwise you would'nt be getting this error. Something that is pointing to the addin is being left behind in the registry is my guess.

How are you registering the DLL's and OCX?
Are you sure that the DLL's and OCX files are being unregistered correctly?

Do you get the error if you remove the msi and then reboot and then try Outlook Express?
Answered 07/13/2005 by: MSIMaker
Second Degree Black Belt

Please log in to comment
Have a look in this key, HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins

There is a DWORD value called LoadBehaviour, which tells Outlook what to do with plugins. I believe 3 is AutoStart, 0 is Disable.

Out of Interest, which CRM package are you working on, I've been recently fighting with Accsoft's ACCPAC CRM, and it's dodgy as.
Answered 07/13/2005 by: goosey1
Senior Yellow Belt

Please log in to comment
Hi all,

Yes Mr Goosey, it is Accsoft's ACCPAC CRM pulgins for Outlook.

I ensured that, all the files and registry are removed after uninstallation. I observe that before and after installation the LoadBehaviour value is 9. After Uninstall also the value is still 9.

Now uninstall is clean. I dont get any error after uninstall and reboot.

At this point of time my main cocern is that, After uninstallation, I see this Addin in the Outlook Customize window and it is selected.

Only way I found to remove is manually Unselect the Addin, click Delete to remove this addin. Do you guys have any idea How to do this automatically by MSI or any other way?

Thanks in advance.

Appreciate your cooperation.
Answered 07/14/2005 by: sreeni_20
Yellow Belt

Please log in to comment