/build/static/layout/Breadcrumb_cap_w.png

how to add service to package.

I am trying to add a service to the package so that when package will installed that particualr service will be stoped or started. Can anyone help me?

0 Comments   [ + ] Show comments

Answers (7)

Posted by: anonymous_9363 13 years ago
Red Belt
0
Using what tool(s)? Are you familiar with the ServiceInstall and ServiceControl tables?
Posted by: bini2082 13 years ago
Senior Purple Belt
0
I am new to packaging. Pls tell me the steps for adding the service.
There is one option in wise Installation Expert page.
Posted by: anonymous_9363 13 years ago
Red Belt
0
So your question would best be expressed as:

I am new to application packaging. I am trying to use Wise Installer Editor to stop a service before the package I'm creating gets installed and started after the package is successfully installed

Is that right? Or is it:

I am new to application packaging. I am trying to use Wise Installer Editor to create a package which installs a service and then starts it and which stops the service before it uninstalls that service.
Posted by: bini2082 13 years ago
Senior Purple Belt
0
Thanks for your response. Right now i am talking about windows service hence the first question is best suitable for me concern.

I am new to application packaging. I am trying to use Wise Installer Editor to stop a service before the package I'm creating gets installed and started after the package is successfully installed
Posted by: anonymous_9363 13 years ago
Red Belt
0
Unfortunately, Wise is a bit dumb in handling services which the project itself isn't dealing with so you'll need to access the tables I mentioned directly, using the 'Setup Editor/Tables' view. Remember, too, that you need to create a Component for this. Do that from the 'Components' tab. Once you have created the component name, you can select a 'Service Control' component. Enter the name of the service you want to stop then use the GUI controls to select what you want to happen on install and uninstall. Lastly, there's always F1 if you're unsure of the next step.
Posted by: bini2082 13 years ago
Senior Purple Belt
0
Thanks,

Can you pls provide me some examples to create new component.
Posted by: anonymous_9363 13 years ago
Red Belt
0
Ummmmmmmmmm....pressing F1?

I think, TBH, you should go back at least 2 steps. Read and digest Phil Wilson's The Definitive Guide To Windows Installer. Without a grasp of WI fundamentals, you'll struggle with concepts and terminology bandies about here.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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