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
- :
- Good suggestions!
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
‎Oct 13, 2008
03:44 PM
Trying to create and start a Windows service in IS 2009 InstallScript project.
Help says to do it via right-click of a feature using the Component Wizard. I can find no such animal.
I have a component that contains the service executable file. All I need to do is register it and fire it up. It should be really simple - should I use ServiceAddService in the script?
Any help would be appreciated.
I have a component that contains the service executable file. All I need to do is register it and fire it up. It should be really simple - should I use ServiceAddService in the script?
Any help would be appreciated.
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 13, 2008
04:54 PM
The component wizard is for MSI projects. For InstallScript projects, you can use the InstallShield NTServices Object (found under the Redistributables view), which you may have to download if you haven't done so already.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 13, 2008
05:50 PM
Thanks for the pointer - now for my next silly question: Where can I find the NT Services Object? When I search for it I find posts from way back in 1999. Does Acresso have a download site for it, and why is it so hard to find things all of a sudden?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 13, 2008
06:17 PM
I'm pretty sure it's in the InstallShield 2009 InstallScript Objects file that you can download from here.
If you have the distribution DVD, it's on that disc in the Installs\AdditionalInstalls folder.
If you have the distribution DVD, it's on that disc in the Installs\AdditionalInstalls folder.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 14, 2008
11:41 AM
It would be nice if the help were a little clearer on what to do for services.
Now, one more quick question - do you know if there is a similar object/technique for device drivers? I have one that is getting installed, but not started. I could write a small exe to call from script to start it, but that seems klunky....
Thanks again for the help on the service.
Now, one more quick question - do you know if there is a similar object/technique for device drivers? I have one that is getting installed, but not started. I could write a small exe to call from script to start it, but that seems klunky....
Thanks again for the help on the service.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 14, 2008
11:50 AM
Two suggestions:
[LIST=1]
If you want to ask a question that is not related to your original post, you should create a new thread for it. Not many would expect a question on installing device drivers in a thread entitled "Trying to create and start a Windows service in IS 2009 InstallScript project".
Look at the help library topic "Installing Device Drivers" for information on installing device drivers in InstallScript projects.
[LIST=1]
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 14, 2008
01:15 PM
I was just being lazy 😮
And had already read the topic 🙂
And had already read the topic 🙂