Gunnar Peipman's ASP.NET blog

ASP.NET, C#, SharePoint, SQL Server and general software development topics.

Sponsors

News

 
 
 
DZone MVB

Links

Social

Windows Installer and Extensibility.dll

Windows Installer is one of my favorite problem childs - of course, when it has mysteriuos problems. I found a problem when installing Outlook add-in on machine that has no extensibility features installed on it. Something was missing and installer gave me the famous "Unable to get installer types" error. After pointless waste of time tracing installer and checking its logs I checked out what's going on in file system.

 

NB! This blog is moved to gunnarpeipman.com

Click here to go to article

Comments

Andy said:

That was timely! I was just trying to figure out how to do that!

Where should the extensibility.dll file go to though? on my development environment, I seem to have it in C:\Program Files\Common Files\Microsoft Shared\MsEnv\PublicAssemblies\Extensibility.dll and in the GAC.

Do I install it to the GAC, PublicAssemblies folder, on my application folder?

# March 13, 2008 7:04 AM

DigiMortal said:

The file you take from PublicAssemblies should be installed to your application's folder with other binaries. Don't put this file in GAC as this may cause confusion for application administrators.

# March 13, 2008 7:28 AM

Karthik said:

DigiMortal,

Thanks a lot for posting this! I was having the same problem as yours and was stuck with this for over 2 days! At last i can breath now :) Thanks a lot again!!

# October 2, 2008 7:47 PM

Ctal said:

Thanks a lot for your information.

My add-in created on XP with outlook 2003 is not installed on another machine with xp and outlook 2003.

After following your information , it is installed sucessfully but it is not displaying my toolbar button in outlook.

Another thing is that on Client's pc I didn't get "..\MSEnv" folder. So Could you please let me know when this folder is created in "C:\Program Files\Common Files\Microsoft Shared" folder.

Please help me for the same I am facing this problem since many days...

Thanks

Regards

Ctal

# January 29, 2009 7:27 AM

DigiMortal said:

Well, I have seen only couple of workstations where there is no MSEnv folder but all machines having still Outlook installed on them. I am not sure when this folder is created and what installs it. You can still make your own installer create it if it is needed.

# January 29, 2009 8:12 AM

Dan said:

Bloody hell was hunting around and trying everything. I must have read 50 posts about the topic all talking about doing this, doing that all which did not work.

This solution worked for me although took ages to find it and only did after googling Extensibility and 1001.

Thx,

# December 16, 2011 6:55 AM