When trying to install a setup package using the new MSI 5.0 features of Windows Service Configuration (using Tables: MsiServiceConfig / MsiServiceConfigFailureActions)
the service config fails and results in a rollback.
The service itself is installed along with the same package under "LocalSystem" account.
Regarding MSDN, these feature does have some limitations, but I am not shure if they are applicable here:
"The services configuration feature of the Windows Installer cannot configure network service accounts, install shared service host (svchost) processes, or restart services stopped as part of the installation"
(see
http://msdn.microsoft.com/en-us/library/windows/desktop/dd408113(v=vs.85).aspx )
I have tried this with serveral variations on the failure actions count and type.
Using SC_ACTION_NONE or SC_ACTION_RUN_COMMAND actions indeed work and lead to a successful install.
Can you tell, why SC_ACTION_RESTART or SC_ACTION_REBOOT does not work fine?
PS: The guys on MS Connect didn't want so solve that issue ;-)
https://connect.microsoft.com/WindowsServer/feedback/details/785032/windows-installer-msi-5-0-fails-with-error-1939-during-msiconfigureservices-action