I'll answer my question incase anyone else hits this problem...

According to articles on microsoft.com the ImagePath registry value is
supposed to have quotation marks around the pathname of the services
executable if the path contains spaces.
This registry value is used for the pathname and command line parameters
of the service exectutable, quotation marks are to be used around the
pathname part.
 

-----Original Message-----
From: Simon Topley 
Sent: 30 April 2007 11:18
To: 'wix-users@lists.sourceforge.net'
Subject: ServiceInstall / ServiceControl

 
Long time no see everyone!

I am wondering if anyone else has seen this issue with Services... I
suspect that it is a problem that we should handle but I thought I'd
post on here first to got some thoughts. Using Version 2.0.4611.0 I am
installing a service using ServiceInstall and ServiceControl. It
installs ok however under the properties tab the "Path To Executable"
has quotes around it whereas none of the others (not installed by WIX)
do.. So:

"C:\Program Files\Blah\BlahBlah.exe"

Instead of

C:\Program Files\Blah\BlahBlah.exe

As I say I suspect that our code should be able to handle it, but it
does not and I am curious if I can do anything about it without asking
the owner of the service to handle quotes

Kind Regards

Simon Topley
The information contained in this e-mail is likely to be confidential and
may be legally privileged. It is intended only for the addressee. If you
have received this message in error please notify the sender immediately at
the above address. The disclosure, copying or distribution of this message
or its contents without the prior approval of Wallingford Software is
strictly prohibited. Wallingford Software is not liable for
unauthorised disclosures nor for subsequent actions or omissions in reliance
upon them.

Registered in the UK, company no: 02288719
Wallingford Software Limited, Howbery Park, Wallingford, Oxfordshire, OX10 8BA

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to