Geeks With Blogs
Cogito Ergo Code If I don't put it here - I will surely forget!

It is useful to check for a number of conditions when installing an application.

These are some of the ones I use all the time.

<!-- you have to have admin priviledges to install this service -->
  <Condition Message="You need to be an administrator to install this product.">Privileged</Condition> 

  <!-- .NET Framework 2.0 must be installed -->
  <Condition Message='.NET Framework 2.0 must be installed prior to installation of this product.'>
   MsiNetAssemblySupport >= "2.0.50727"

  <!-- .NET Framework 3.0 must be installed -->
  <Property Id='FRAMEWORK30'>
     Key='Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup'

  <Condition Message='.NET Framework 3.0 is not present on the computer.'>
   FRAMEWORK30 = "#1"


Posted on Thursday, January 22, 2009 8:49 AM WIX , .NET | Back to top

Comments on this post: WIX .NET Conditions

# re: WIX .NET Conditions
Requesting Gravatar...
Great... very useful.

It's work for every Windows OS!?
Left by Tosa on Oct 21, 2010 10:09 AM

Your comment:
 (will show your gravatar)

Copyright © Howard Ricketts | Powered by: