How can I stop a service prior to my installation starting to install.

Article:HOWTO1593  |  Created: 2006-01-12  |  Updated: 2010-01-05  |  Article URL http://www.symantec.com/docs/HOWTO1593
Article Type
How To



Question
How can I stop a service early in my installation?

Answer
In order to stop the service early in the installation you will need to add a WiseScript to the installation. 

You will need to create a WiseScript that uses the Start\Stop Service action.  In the name field, enter the Service name.  
Then, place the WiseScript before the CostInitialize action in the Execute Immediate script, so that the installer knows it can pick up the file when the time comes.  Costing is the area of the installation where Microsoft Windows Installer evaluates the current state of the machine to which it is installing.


Legacy ID



17891


Article URL http://www.symantec.com/docs/HOWTO1593


Terms of use for this information are found in Legal Notices