The ExePackage/@DetectCondition specifies whether the executable package is installed on the machine. If DetectCondition evaluates to false, the Burn engine will plan to install the ExePackage during install and repair operations but do nothing during uninstall. Similarly, if the DetectCondition evaluates to true, the Burn engine will plan no action during the install of the ExePackage and uninstall the package when planning an uninstall.
Note:
MsiPackageandMspPackageelements do not have aDetectCondtiionattribute because the WiX toolset reads the captures the required metadata during the build process to detect the packages. Executables do not have the necessary metadata to be detected thus theDetectConditionis required.

Comments
0 comments
Please sign in to leave a comment.