Re: [WiX-users] problem when run custom action before costinitialize

2007-03-30 Thread Wilson, Phil
Of John Vottero Sent: Thursday, March 29, 2007 7:32 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] problem when run custom action before costinitialize You could have a race condition (we did). I don't know if it's Windows Installer or a WiX Custom Action that stops services

Re: [WiX-users] problem when run custom action before costinitialize

2007-03-30 Thread John Vottero
complete. -Original Message- From: [EMAIL PROTECTED] [mailto:wix-users- [EMAIL PROTECTED] On Behalf Of Wilson, Phil Sent: Friday, March 30, 2007 12:42 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] problem when run custom action before costinitialize

Re: [WiX-users] problem when run custom action before costinitialize

2007-03-29 Thread Rob Mensching
1. Not as far as I know. 2. That doesn't make any sense to me. CostInitialize happens long before the transaction that installs things happens. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bei Liu (Volt) Sent: Thursday, March 29, 2007 1:12 PM To:

Re: [WiX-users] problem when run custom action before costinitialize

2007-03-29 Thread Bei Liu (Volt)
2. I just want to run it when uninstall. Is that possible? Thanks, From: Rob Mensching Sent: Thursday, March 29, 2007 1:25 PM To: Bei Liu (Volt); wix-users@lists.sourceforge.net Subject: RE: problem when run custom action before costinitialize 1. Not as far as I know. 2. That doesn't make

Re: [WiX-users] problem when run custom action before costinitialize

2007-03-29 Thread Rob Mensching
Why? What are you trying to do? From: Bei Liu (Volt) Sent: Thursday, March 29, 2007 1:30 PM To: Rob Mensching; wix-users@lists.sourceforge.net Subject: RE: problem when run custom action before costinitialize 2. I just want to run it when uninstall. Is that possible? Thanks, From: Rob

Re: [WiX-users] problem when run custom action before costinitialize

2007-03-29 Thread Bei Liu (Volt)
I have a service installed by my installer. I'll run after install. I want to remove it before uninstall. Also don't want to get the file in use popup. From: Rob Mensching Sent: Thursday, March 29, 2007 2:09 PM To: Bei Liu (Volt); wix-users@lists.sourceforge.net Subject: RE: problem when run

Re: [WiX-users] problem when run custom action before costinitialize

2007-03-29 Thread Rob Mensching
You should be able to just schedule the service to be stopped and no file-in-use error should occur. From: Bei Liu (Volt) Sent: Thursday, March 29, 2007 2:11 PM To: Rob Mensching; wix-users@lists.sourceforge.net Subject: RE: problem when run custom action before costinitialize I have a service

Re: [WiX-users] problem when run custom action before costinitialize

2007-03-29 Thread Bei Liu (Volt)
I did that, Component... File ... Name=MyService.exe /File ServiceControl Id=MyService Name=MyService.exe Stop=uninstall Remove=uninstall Wait=yes ServiceArgument /d [INSTALLDIR]EF.G/ServiceArgument /ServiceControl /Component I still get file-in-use popup when uninstall.(Stop

Re: [WiX-users] problem when run custom action before costinitialize

2007-03-29 Thread John Vottero
of the service threads and then wait for them to complete before it exits. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bei Liu (Volt) Sent: Thursday, March 29, 2007 5:54 PM To: Rob Mensching; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] problem when run custom action