I don't know of any way to do it.
I have a component that has an FBA Generic Resource that uses cmd.exe to
execute a batch file at phase 11999. The batch file disables a bunch of
services using sc. For example:
sc config Spooler start= disabled
sc stop Spooler
--
Regards.
Mark K Vallevand (e-mail address removed)
Beer is living proof that God loves us and wants us to be happy.
- Benjamin Franklin
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.