Enterprise Library launch conditions

Topics: General discussion
Mar 23, 2009 at 11:25 AM

I have an application setup and deployment project where I want to add a launch condition to Enterprise Library (in my case 4.0).
We're planning on adding 4.0 to GAC prior to installing this new application.
What would be the best approach for this if it is possible?

Mar 24, 2009 at 3:19 AM
Go to the File System view of your setup project.  Right click on the left pane -> Add Special Folder -> Global Assembly Cache Folder.  That's it, just add the entlib assemblies in that folder.

Sarah Urmeneta
Global Technology & Solutions
Avanade, Inc.
Mar 24, 2009 at 5:23 PM

What I'm actually after is the specific launch conditions that I have to set to make sure my setup project is only run if the Enterprise Library msi file is already installed on the system.

Mar 25, 2009 at 4:34 AM


This maybe an issue that specific to setup project that you could handle in VS.Net. This link might give you some answer: http://support.microsoft.com/kb/307374J