/build/static/layout/Breadcrumb_cap_w.png

Software Deployment Question


auto start service after installing MSI (without a reboot)

10/10/2013 15683 views

Hello,

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

Comments


All Answers

1

Google for 'Windows Installer ServiceControl table'

Answered 10/10/2013 by: anonymous_9363
Red Belt

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

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: anonymous_89761
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! :-)

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ