Stopping the service with a condition does not work during uninstall. If I set the condition to 1 it is executed.
I need the StopService action only if my service is being installed/reinstalled/upgraded/uninstalled.
- Capture1.PNG (10.07 KiB) Viewed 49 times
Conditions i tried so far that are not working:
- ((&LIMS_Service_x64 = 2) AND (!LIMS_Service_x64 = 3)) //Feature is being unintalled
- (&LIMS_Service_x64 = 5) //Feautre is being reinstalled
- (&LIMS_Service_x64 = 2) // Feature action absend
- (&LIMS_Service_x64 = 3) // Feature action install locally
- (&LIMS_Service_x64 = 4) // Feature action installed, run from source
The dialog that the application needs to be closed still pops up with any/all of these conditions.
What do I need in the condition field to execute it only if the feature is involved ?
-----------------------------------------------------
The StartService custom action is also never executed. Not even if the condition is set to "1". When i check the services after installation of my program the service that was installed is not running.
Best regards,
Kilian