I'm trying to configure the custom action to be executed only on first install and not to be executed on upgrade during installing the new product. My current Custom Action condition looks like that:
(Installed = "") AND (NOT (REMOVE ~= "ALL")) AND (NOT WIX_UPGRADE_DETECTED) AND (NOT UPGRADINGPRODUCTCODE) AND PREVIOUSVERSIONSINSTALLED="" But the action with this configuration is executed during upgrade as well. How to configure the custom action to be executed only on first install(if it is possible of course)?
PREVIOUSVERSIONSINSTALLED=""andNOT PREVIOUSVERSIONSINSTALLEDis not equal.