Re: [WiX-users] start and stop services

2007-11-01 Thread shapla
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

Re: [WiX-users] start and stop services

2007-10-31 Thread shapla
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:

Re: [WiX-users] start and stop services

2007-10-31 Thread Richard
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

Re: [WiX-users] start and stop services

2007-10-31 Thread Rob Mensching
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

Re: [WiX-users] start and stop services

2007-10-31 Thread shapla
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

Re: [WiX-users] start and stop services

2007-10-31 Thread shapla
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

Re: [WiX-users] start and stop services

2007-10-31 Thread Richard
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

Re: [WiX-users] start and stop services

2007-10-31 Thread Bob Arnson
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

Re: [WiX-users] start and stop services

2007-10-30 Thread shapla
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

Re: [WiX-users] start and stop services

2007-10-30 Thread Richard
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

Re: [WiX-users] start and stop services

2007-10-30 Thread shapla
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?

Re: [WiX-users] start and stop services

2007-10-30 Thread Richard
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!

[WiX-users] start and stop services

2007-10-29 Thread shapla
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

Re: [WiX-users] start and stop services

2007-10-29 Thread Richard
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