i've ceated a msi package which does contain a runing licensing service. The service does get installed and it does run... but only after a reboot. How can i tweak the msi to start the service directly after (or during) the msi installation?


Answer Summary:
0 Comments   [ + ] Show Comments


Please log in to comment



Google for 'Windows Installer ServiceControl table'

Answered 10/10/2013 by: VBScab
Red Belt

  • after more than an hour of googling i came across the solution (so i answered my own question for others to use)
Please log in to comment

i've fixed it.

at first the service was set by registry entries, ive deleted the entries.

  1. in Installshield i did go to [organization]->[components] (left pane)
  2. searched for the service executable in the list
  3. opened the [advanced settings]
  4. right-clicked on services
  5. add-service
  6. give the service a name
  7. set the "display name"
  8. set the "description"
  9. set "service type" to: Win32 that runs in its own process
  10. set "start type" to: automatic
  11. set "error control" to: log the error and continue
  12. @control settings ive created a new event
  13. set "install start" to: yes
  14. set "uninstall delete" to: yes  (if you want to have service removed after uninstalling the package)

now it works and after installation it starts the service without a reboot.

Answered 10/10/2013 by: petryb
Third Degree Brown Belt

  • >at first the service was set by registry entries, ive deleted the entries

    Of course, all of the above was patiently reproduced in the target machine's registry during installation:-)

    Remember that apps are just a bunch of files and registry data. That's it! There's no magic! :-)
Please log in to comment
Answer this question or Comment on this question for clarity