[Bug 5809] "native" (Microsoft) MSI does not work with wine 0.9.18

Wine Bugs wine-bugs at winehq.org
Tue Apr 17 04:43:00 CDT 2007


------- Additional Comments From focht at gmx.net  2007-17-04 04:43 -------
Created an attachment (id=5822)
 --> (http://bugs.winehq.org/attachment.cgi?id=5822&action=view)
Implements QueryServiceStatusEx


when you play with sc.exe tool, you might notice following message:

--- snip ---
fixme:advapi:QueryServiceStatusEx stub
[SC] StartService: QueryServiceStatusEx FAILED 120:

Call not implemented
--- snip ---

As most SCM tools use this function (instead of QueryServiceStatus()), i
implemented it, see attached patch (against wine-0.9.35-25-g58c7c51).
There is only a small problem left: if QueryServiceStatusEx() caller really
need service process id, it should be saved upon service_start_process() (maybe
in service_data) and returned later.
Though the process id issue requires very little SCM related changes i leave
this exercise to SCM/advapi subsystem maintainer :)
With that, the tool works as expected (returning real service status).
Be aware it might unearth SCM/named pipe related bugs :)


Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the wine-bugs mailing list