Hello,
I need to stop a service before the installation of the .net framework 2.0 and restart it after the installation.
If I would stop the service from the command prompt, I could do it with the following command line in the windows system32 directory: net.exe STOP SWEEPSRV.SYS
I've tried this in my script using the run program, as program I've specified $WINSYSDIR$\\net.exe and as command line parameters I've specified 'STOP SWEEPSRV.SYS'
It does not work. Is there something wrong with the parameters?
I've tried without quotes and with quotes or do both have to be quoted?
Thx for the help,
Bernaert Dominique.
Stop and start service
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Is the variable WINSYSDIR initialized at the point you are making your call?
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 165 guests