<PropertyRef Id="NETFRAMEWORK35"/> <Condition Message="This application requires .NET Framework 3.5. Please install the .NET Framework then run this installer again."> <![CDATA[Installed OR NETFRAMEWORK35]]> </Condition>
<Directory Id="TARGETDIR" Name="SourceDir">
......
接下来,我们详细看看Condition
<Condition Message="This application requires .NET Framework 3.5. Please install the .NET Framework then run this installer again."> <![CDATA[Installed OR NETFRAMEWORK35]]> </Condition>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml&q