I am new to packaging. I dont have much idea about how to add service to package. I want a perticular service will be start or stop when installing or uninstalling the package.

Tell me the steps to add the service in msi package.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

1
ORIGINAL: bini2082
I am new to packaging.
Tell me the steps to add the service in msi package.


Yes, sure. There are some steps.
But, can you please tell THE steps that you followed on your own to resolve your query?.
I hope, posting the query on this forum is NOT your first step. Is it?
Answered 06/22/2011 by: SandeepPanat
Orange Senior Belt

Please log in to comment
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
What kind of tool you are using?? like wise or Installshield??
Answered 06/22/2011 by: Vigneshwaran.V
Yellow Belt

Please log in to comment
0
Before you do ANYTHING, read and digest Phil Wilson's The Definitive Guide To Windows Installer. Also, bookmark the MSDN and TechNet pages dealing with Windows Installer.
Answered 06/23/2011 by: VBScab
Red Belt

Please log in to comment
0
Hi bini,

which packaging tool u are using?
u can refer MSDN also.
For installing and uninstalling services via MSI ServiceControl and ServiceInstall table are used.
The value in Event column in ServiceControl table provides various options for start,stop and delete service during install and uninstall as per requirement.

regards
Mayur
Answered 06/23/2011 by: mayur_mak
Senior Purple Belt

Please log in to comment
0
Hi Bini,

We have implemented this in our packages successfully. Let me know if you are using wise package studio, I can send you the detailed document...give your email id.

The document will explain you how to stop and start the service.
Answered 06/23/2011 by: WSPPackager
Senior Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity