Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Installing Services


1 reply to this topic

akasi

akasi
  • Members
  • 1 posts

Posted 12 October 2004 - 21:16

We have a new MSI install we are working on. One of the things it must do is
install a Service, which is an executable with parameters.

The problem we are running into is that the executable is loaded in a folder
that has spaces in the name ...ie c:\program files\app name\service.exe

According to the documentation for creating services, since the path has
spaces, it should be quoted when it is written to the registry. However, the
windows installer is NOT doing this, nor is it converting the path to the
short 8.3 path.

Any suggestions how to solve this? We are using InstallShield Developer 8.

blink.gif

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 13 October 2004 - 05:32

This is a known issue in MSI 2 that should be fixed in MSI 3. Microsoft's advise: "Until then you can use a custom action to alter the service binary path to include quotes or use the Registry table directly if the WriteRegistryValues standard action is sequenced after InstallServices."