In the example in the Samples wiki, the ExePackage element does not have a DetectCondition attribute. You need a DetectCondition for UninstallCommand to be called. Honestly it is a long standing mistake in the WiX Toolset that the DetectCondition was not required that is planned to be fixed in WiX Toolset v4.
Would be good to add the DetectCondition attribute to the example.
In the example in the Samples wiki, the
ExePackageelement does not have aDetectConditionattribute. You need aDetectConditionforUninstallCommandto be called. Honestly it is a long standing mistake in the WiX Toolset that theDetectConditionwas not required that is planned to be fixed in WiX Toolset v4.Would be good to add the
DetectConditionattribute to the example.