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 t

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 t

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 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: > other thread with Richard-45. I don't know why you keep calling me Richard-45. My name is Richard. If you get an event log message when stopping the service manually, but not when running your MSI, then your service cont

Re: [WiX-users] start and stop services

2007-10-31 Thread shapla
I am trying with this. My MSI has a element like I see that it is not stopping the service. I have more info about it in the other thread with Richard-45. Thanks a lot. Rob Mensching-4 wrote: > > Check out the ServiceControl element. > > shapla wrote: >> I have an existing service - say

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 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 remo

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 Legali

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: Install

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 Legalize Adulthood!

Re: [WiX-users] start and stop services

2007-10-30 Thread shapla
I have tried like below just to stop a service: 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? Thanks! Richard-45 wrote: > > > In article <[EMAIL PROTECTED]>, > shapla <[EMA

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: > > Stop='uninstall'/> But didn't you say you wanted to *restart* the service? The calls for a stop and a start. > I have logged on as Administrator and "XYZ

Re: [WiX-users] start and stop services

2007-10-30 Thread shapla
I have used the ServiceControl element as below: 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 AdminConsole'(XYZ AdminConsole) failed to start. Verify that you have sufficient preveledges to start syste

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.

[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 fil