cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Tom_Teboda
Level 4

ServiceAddService removes quotes

In order to avoid this issue, http://support.microsoft.com/default.aspx?scid=kb;en-us;Q325680 as has been reported for an earlier version of our installer (using InstallShield Developer 8.2) I attempted to add quotes around the service path (using LongPathToQuote) when installing using ServiceAddService, but the function seems to strip away the quotes. In the earlier version of our installer I used the windows API calls directly to install our services and those calls excepted the quotes around the file path.

Is there a way to force ServiceAddService to leave the quotes in the path? As it is now, a service installed to C:\Program Files\AppName\Service.exe will not start if you create a file named C:\Program, if quotes are added around the path, i.e. "C:\Program Files\AppName\Service.exe" then the service will start.
Labels (1)
0 Kudos
(1) Reply
Tom_Teboda
Level 4

Well what do you know, looks like this has been fixed in IS2010. Just noticed it after revisiting this issue after the upgrade.
0 Kudos