Hi,
we are having issue setting up a Windows service failure operation in a merge module. The merge module comes with a set of files and a Windows service definition. The merge module requires parameters for Windows service name, display name and description. These are used for the service definition. Once used from an installer project and installed, it registers the service just fine. It also respects Control operations in that the service doesn't start after install. All good.
But then when a Failure operation is defined and all three failure actions specified we cannot see these applied in the final service installation. All the actions are set to Restart the service After 1 minute. It's set to configure both on Install and Reinstall (since we need to update existing installations).
There's only this much about it in the verbose log. Hardly helpful.
MSI (s) (48:38) [09:19:19:334]: Doing action: AI_ProcessFailActions.181E7C3D_2A17_4623_8FB3_91028F900CB9
Action 9:19:19: AI_ProcessFailActions.181E7C3D_2A17_4623_8FB3_91028F900CB9. Generating actions to configure service failure actions
Action start 9:19:19: AI_ProcessFailActions.181E7C3D_2A17_4623_8FB3_91028F900CB9.
MSI (s) (48:1C) [09:19:19:338]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI20DE.tmp, Entrypoint: ProcessFailActions
MSI (s) (48!78) [09:19:19:345]: PROPERTY CHANGE: Adding AI_CA_MODULE_ID property. Its value is '181E7C3D_2A17_4623_8FB3_91028F900CB9'.
MSI (s) (48!78) [09:19:19:345]: PROPERTY CHANGE: Deleting AI_CA_MODULE_ID property. Its current value is '181E7C3D_2A17_4623_8FB3_91028F900CB9'.
Action ended 9:19:19: AI_ProcessFailActions.181E7C3D_2A17_4623_8FB3_91028F900CB9. Return value 1.
It happens in two different merge modules created by different teams.