Thanks a lot. You are right. I was using the display name and so it was not
working. It is now working with the correct service name.
Again thanks!
Richard-45 wrote:
In article [EMAIL PROTECTED],
shapla [EMAIL PROTECTED] writes:
I checked it in Orca. I see that it has the correct
Log is showing like below:
..
Action 8:30:54: StopServices. Stopping services
Action start 8:30:54: StopServices.
StopServices: Service: Stopping services
Action ended 8:30:54: StopServices. Return value 1.
Action 8:30:54: RemoveFiles. Removing files
..
Action ended 8:30:54:
Does the event log show that the services were stopped or started?
A good service writes to the event log when it is stopped or started.
--
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
http://www.xmission.com/~legalize/book/download/index.html
Legalize
Check out the ServiceControl element.
shapla wrote:
I have an existing service - say XYZ AdminConsole (Not part of my MSI)
I want to:
1. Restart this service after installing my MSI
2. My MSI will remove some files during uninstall and I want to:
2.1 Stop this service before removing
If I run the MSI, event log is not showing that the services were started or
stopped. It is just showing the installation completed successfully.
In fact, if I run net stop XYZ AdminConsole from command prompt, the event
viewer is showing the service stopped successfully.
Thanks!
Richard-45
Sorry, Richard. I apologize.
I checked it in Orca. I see that it has the correct name in service control
table.
Other values are as below:
Event=2
Wait=1
Thanks a lot.
Richard-45 wrote:
In article [EMAIL PROTECTED],
shapla [EMAIL PROTECTED] writes:
other thread with
In article [EMAIL PROTECTED],
shapla [EMAIL PROTECTED] writes:
I checked it in Orca. I see that it has the correct name in service control
table.
Other values are as below:
Event=2
Wait=1
How do you know that the name is correct?
For instance, to manipulate the COM remote
shapla wrote:
Log is showing like below:
..
Action 8:30:54: StopServices. Stopping services
Action start 8:30:54: StopServices.
StopServices: Service: Stopping services
Action ended 8:30:54: StopServices. Return value 1.
Action 8:30:54: RemoveFiles. Removing files
That's the
I have used the ServiceControl element as below:
ServiceControl Id='ADService' Name='XYZ AdminConsole' Start='both'
Stop='uninstall'/
I have logged on as Administrator and XYZ AdminConsole is running.
Now if I run my MSI package, it is failing and showing: Service 'XYZ
In article [EMAIL PROTECTED],
shapla [EMAIL PROTECTED] writes:
I have used the ServiceControl element as below:
ServiceControl Id='ADService' Name='XYZ AdminConsole' Start='both'
Stop='uninstall'/
But didn't you say you wanted to *restart* the service? The calls for
a
I have tried like below just to stop a service:
ServiceControl Id='PMService' Name='XYZ AdminConsole' Stop='install'
Wait='yes'/
Installation goes on without any error, but the service is not stopped. I
can stop the same service from command prompt(net stop XYZ AdminConsole)
Any idea?
In article [EMAIL PROTECTED],
shapla [EMAIL PROTECTED] writes:
Any idea?
What does the log say?
--
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
http://www.xmission.com/~legalize/book/download/index.html
Legalize Adulthood!
I have an existing service - say XYZ AdminConsole (Not part of my MSI)
I want to:
1. Restart this service after installing my MSI
2. My MSI will remove some files during uninstall and I want to:
2.1 Stop this service before removing the files and
2.2 Start it again after removing the
In article [EMAIL PROTECTED],
shapla [EMAIL PROTECTED] writes:
1. Restart this service after installing my MSI
2. My MSI will remove some files during uninstall and I want to:
2.1 Stop this service before removing the files and
2.2 Start it again after removing the files.
How
14 matches
Mail list logo