When I add custom action to set value of ARPINSTALLLOCATION (it execute afte InstallValidate) instead using project.ControlPanelInfo.InstallLocation = "[INSTALLDIR]"; all works fine.
new SetPropertyAction("ARPINSTALLLOCATION", "[INSTALLDIR]", Return.check, When.After, Step.InstallValidate, Condition.NOT_Installed)
Maybe it's too early execute Set ARPINSTALLLOCATION before AppSearch?
new SetPropertyAction("ARPINSTALLLOCATION", "[INSTALLDIR]", Return.check, When.After, Step.InstallValidate, Condition.NOT_Installed)
Maybe it's too early execute Set ARPINSTALLLOCATION before AppSearch?