make a separate one more component having "servicecontrol' element only.
On 18-03-2010 10:30, Michael Schlitt wrote: > Does anyone know how to get past the following error in Wix 3.0/3.5 for > installing a service. The below code works fine in Wix 2.0. Has there been > a major change that I am unaware of? > > ICE03: Invalid identifier; Table: ServiceControl, Column: ServiceControl, > Key(s): Build Service (LGHT0204) - C:\Users\mschlitt\Documents\SharpDevelop > Projects\SetupProjectService\SetupProjectService\Files.wxs:6 > ICE03: Invalid identifier; Table: ServiceInstall, Column: ServiceInstall, > Key(s): Build Service (LGHT0204) - C:\Users\mschlitt\Documents\SharpDevelop > Projects\SetupProjectService\SetupProjectService\Files.wxs:7 > > > <Component Id="BuildServiceComponent" > Guid="470cdb65-5244-4cbd-b37f-c8a0e29a8368"> > <File Id="BuildService.exe" Name="BuildService.exe" Vital="yes" > KeyPath="yes" DiskId="1" Source="$(env._NTTREE)\winbat\BuildService.exe" /> > <File Id="BuildService.exe.config" Name="BuildService.exe.config" > Vital="yes" KeyPath="no" DiskId="1" > Source="$(env._NTTREE)\winbat\BuildService.exe.config" /> > <ServiceControl Id="Build Service" Name="Build Service" > Start="install" Stop="both" Remove="uninstall" Wait="yes"/> > <ServiceInstall Id="Build Service" Name="Build Service" > DisplayName="Build Service" Type="ownProcess" Interactive="no" Start="auto" > ErrorControl="ignore" Description="Build Service" Account="LocalSystem" /> > </Component> > > Thank you, > > -Michael Schlitt > ------------------------------------------------------------------------------ > 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 > > > > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.791 / Virus Database: 271.1.1/2754 - Release Date: 03/17/10 > 23:33:00 > > ------------------------------------------------------------------------------ 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