Signed-off-by: Frank Li <lznuaa@gmail.com>
<AppSearch Sequence="1"></AppSearch>\r
<LaunchConditions After="AppSearch" />\r
<Custom Action="DefaultTargetDir" After="LaunchConditions">INSTALLDIR=""</Custom>\r
- <!--\r
- <RemoveExistingProducts After="FindRelatedProducts"><![CDATA[PREVIOUSVERSIONSINSTALLED OR (NOT NEWERVERSIONDETECTED AND OKTODOWNGRADE = 1)]]></RemoveExistingProducts>\r
- -->\r
- <!--\r
+ \r
+ <RemoveExistingProducts After="InstallFinalize"><![CDATA[PREVIOUSVERSIONSINSTALLED OR (NOT NEWERVERSIONDETECTED AND OKTODOWNGRADE = 1)]]></RemoveExistingProducts>\r
+ \r
<Custom Action="KillCache" After="RemoveExistingProducts">Installed</Custom>\r
- -->\r
+ \r
<ScheduleReboot After="RegisterProduct" />\r
</InstallExecuteSequence>\r
\r