
onlyphanim1.5524903524098293E12 asked a question.
Migrating IS5.5 to IS2011 Issues
Hi All,
We are migrating our code from IS5.5 to IS2011,
In our Installer code we are using ControlService() to stop service, When we migrate the code to IS2011 the ControlService() is returning '0' and GetLastError() also returning '0'.
Can someone suggest what changes we need to do in-order to work with ControlService() function in the IS2011 code?
The same code which we is in IS5.5 is working as expected (stopping the service).
Thanks in advance!
Phani
Also note that the ServiceStopService InstallScript function can be used to stop a service without needing to interact with the Win32 service control APIs.
Thanks for your great help... Err.LastDllError property worked.