<Component Id="flashaccess.war" Guid="{693127FB-E0B7-4FFE-B77C-DAA6AD8058FE}"> <File Id="flashaccess.war" Name="flashaccess.war" KeyPath="yes" Source="..\..\FlashAccess\Webservice\Build\wars\flashaccess.war"/> <ServiceControl Id="StartTomcat6" Name="Tomcat6" Start="both" Wait="no" /> <ServiceControl Id="StopTomcat6" Name="Tomcat6" Stop="both" Wait="no" /> </Component>
One of the ServiceControl elements is redundant you can specify both Start and Stop attributes on the same element like this: <Component Id="flashaccess.war" Guid="{693127FB-E0B7-4FFE-B77C-DAA6AD8058FE}"> <File Id="flashaccess.war" Name="flashaccess.war" KeyPath="yes" Source="..\..\FlashAccess\Webservice\Build\wars\flashaccess.war"/> <ServiceControl Id="ControlTomcat6" Name="Tomcat6" Start="both" Stop="both" Wait="no" /> </Component> Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail > -----Original Message----- > From: Zachary Young [mailto:zacharysyo...@gmail.com] > Sent: Friday, March 19, 2010 2:46 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] ServiceControl and Component > > Hi Bob, > > Thank you very much. At first when I looked at the > InstallExecuteSequence > table, I thought I'd need to author my own custom actions based on the > order > of the Actions...,then, I just now realized the default view for this > table > in Orca is not sorted. > > Sorting by Sequence indeed shows: > StopServices 1900 > RemoveFiles 3500 > InstallFiles 4000 > StartServices 5900 > > So, yes, the snippet I included is doing what I want it to. > > Thank you, > Zach > > On Thu, Mar 18, 2010 at 6:18 PM, Bob Arnson <b...@joyofsetup.com> wrote: > > > On 3/18/2010 9:10 PM, Zachary Young wrote: > > > I have checked the event logs and see Tomcat is stopped and > started, and > > I > > > have looked at verbose logs from the installer, but I am not sure > of the > > > exact sequencing of the three events: stop, install/uninstall file, > > start. I > > > have also looked at the documentation for<ServiceControl/> and I > am > > still > > > not sure. > > > > > > > Order is controlled by the actions that refer to the data (e.g., > > StopServices, StartServices, InstallFiles, RemoveFiles) in the > > InstallExecuteSequence table. > > > > -- > > sig://boB > > http://joyofsetup.com/ > > > > > > > > --------------------------------------------------------------------- > --------- > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ----------------------------------------------------------------------- > ------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users