Hello,
I encountered problem to start service, when upgrade falled into rollback:
- We have configured one service in Advanced Installer, where Service Account is filled using properties. (see attached screenshot)
- Password property is set in custom action (named GainPassword), and password is generated (first install) or recovered from register (upgrade). (see attached screenshot)
- Install and Upgrade works OK when ends successfully
But when upgrade fails on another custom action's exception (custom action which is almost last in setup sequence) setup is turned into rollback (which is OK), but after rollback, service is stopped. And when I try to run it from Service list, I get following error:
Windows could not start the MessageBroker service on Local Computer.
Error 1069: The service did not start due to a logon failure.
I noticed, that when I set password by myself in service properties in windows service list, service starts OK. I guess, that rollback somehow change service password during rollback...
Can you tell me, what can I do to start service after rollback (which sometimes happens)?
Regards,
Tomas Maruska
Gamanet a.s.
FOLLOW US
Get the latest news in Application Packaging