msi: Don't fail if the service to start is already running.

Paul Vriens paul.vriens.wine at gmail.com
Mon Feb 1 09:20:56 CST 2010


On 02/01/2010 09:55 AM, Hans Leidekker wrote:
> +
> +    scm = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
> +    ok(scm != NULL, "Failed to open the SC Manager\n");
> +
> +    service = OpenService(scm, "TermService", SC_MANAGER_ALL_ACCESS);
> +    ok(service != NULL, "Failed to open TermService\n");

Hi Hans,

Win9x/WinMe don't have the notion of services. 'TermService' is not 
available on all platforms. We could use 'Spooler' and bail out if we 
get ERROR_SERVICE_DOES_NOT_EXIST?

Let me know and I'll create/send a patch.

-- 
Cheers,

Paul.



More information about the wine-devel mailing list