Re: [WiX-users] Installing Windows services using Existing user

2008-01-17 Thread shapla
sufficient privileges to install system services. The scipt has this: Please let me know if you have any idea. Bob Arnson-6 wrote: > > shapla wrote: >> Actually I tried to use the Us

Re: [WiX-users] Installing Windows services using Existing user

2008-01-16 Thread shapla
atest script has the following: Bob Arnson-6 wrote: > > shapla wrote: >> > DisplayName='Test >> >> service-1' Type='ownProcess' Int

[WiX-users] Installing Windows services using Existing user

2008-01-15 Thread shapla
Hi, I have windows service: ServiceContoller.exe and user with Admin previledge. I want to install and start the service using the existing user (log on As). I have the following in the script: The servi

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 chec

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:

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 exis

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
about which services it is stopping or starting? I don't see anything specific to the service (XYZ AdminConsole) which I mentioned in Thanks! Richard-45 wrote: > > > In article <[EMAIL PROTECTED]>, > shapla <[EMAIL PROTECTED]> writes: > >>

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

Re: [WiX-users] start and stop services

2007-10-30 Thread shapla
preveledges to start system services. Do you have any idea about? Thanks! Richard-45 wrote: > > > In article <[EMAIL PROTECTED]>, > shapla <[EMAIL PROTECTED]> writes: > >> 1. Restart this service after installing my MSI >> 2. My MSI will remove som

[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

[WiX-users] Problem with CopyFile

2007-10-28 Thread shapla
I trying to copy a file in the following way: 1. Search registry to get the location, where a particular application installed(may be anywhere)- MYAPPLOC. 2. Search a particular file in the location found above-MYDLL (File exists) 3. Copy that file in a known location(installation dir) Result: