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
- :
- How to create a Windows service based on pre-exist file
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
‎Jul 25, 2008
01:30 PM
How to create a Windows service based on pre-exist file
Hi, there,
I have 2 packages, one is base, another one is add-on product. When I install add-on product, I need to create another Windows service which the binary is already installed by base product. Instead of CA to create a service, is there a way to configure msi to automatic create Windows service based on pre-exist file? Any help?
By the way, I'm using basic msi project.
I have 2 packages, one is base, another one is add-on product. When I install add-on product, I need to create another Windows service which the binary is already installed by base product. Instead of CA to create a service, is there a way to configure msi to automatic create Windows service based on pre-exist file? Any help?
By the way, I'm using basic msi project.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 25, 2008
01:51 PM
I think the built-in MSI service tables apply only to the key file of a component in the same installer, so a custom action might be necessary for a pre-existing file.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 25, 2008
02:01 PM
But if code in CA, I have to test install, rollback, uninstall, uninstall rollback cases at least. May be more considering upgrade case. Why Windows installer limit this functionality? Sigh.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 25, 2008
02:21 PM
More specifically, the service-control functionality can control a service that's already installed, but the initial installation apparently needs a key file.