This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: ServiceAddService removes quotes
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 30, 2010
08:20 AM
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.
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.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 24, 2010
09:57 AM
Well what do you know, looks like this has been fixed in IS2010. Just noticed it after revisiting this issue after the upgrade.