Symptoms
A Windows service keeps starting automatically during install. Most likely, an Install Start service control event has been configured in the project.
Project Type
Basic MSI
InstallScript MSI
Solution
See very quick, attached, 30-second screen capture video demonstrating the solution. After following the steps in the video, just rebuild the project, then run the installer!
The video demonstrates a Basic MSI project, but this solution also applies to InstallScript MSI projects.
Additional Information
For more information about using sc.exe, which is the Windows tool for creating, deleting, starting, stopping, etc. Windows services, click here.
For more information about using a custom action to stop a Windows service, click here.
Related Articles
HOW TO: Stop a Windows Service using a Custom Action 8Number of Views Start or Stop a Windows Service Using Custom Code 3Number of Views How to Increase the Time an Installer Will Wait for a Windows Service to Stop. 4Number of Views Stop all Snow-related Windows services with PowerShell 16Number of Views Snow Update Service fails to start with error 1053 (SUS fails to load or has stopped) 408Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago