You need a DetectCondition
attribute on your ExePackage
element. The DetectCondition
is how the Burn engine determines if the package is installed on the machine or not. Without a DetectCondition
the engine will think the package is never installed so it will never need to be uninstalled. Since all executables are different you have to provide your own DetectCondition
. Usually the XxxSearch
elements in the util
namespace are helpful to detect if your executable is installed.
Note: you can see the 'plan' in the log file and it should show the PackageID1
package being detected as 'Absent'
even though it is installed.