Using AI 7.7:
I've come to like your custom action: DetectService (http://www.advancedinstaller.com/user-g ... rvice.html).
However, to my amazement, I found that this custom action doesn't always work! By saying it doesn't work I mean: when I run it in the LaunchConditions: it works, and it really modifies AI_SERVICE_STATE: I verified this by a messagebox + also seen in the msi log.
However, when I tried to use this custom action under "Uninstall", looking at the log I see that the custom action is called, but neither the logs say that AI_SERVICE_STATE has changed, and also you see it hasn't changed when using MsgBox to show this property (AI_SERVICE_STATE) - so if it was last "Stopped", then it remains like that: even if it should have said: "Not Found".
Currently I found a way in my installer to "live with" the initial check only (at phase "LaunchConditions"), but I consider this a "patch" and would love to have this working for me when I need it (and not only at LaunchContidions).
Dashut.
FOLLOW US
Get the latest news in Application Packaging