Right, so add a CreateFolder element under the Component. What version of the WiX toolset are you using? I thought this was done automatically... but maybe not.
-----Original Message----- From: Cromwell, Ryan (LNSSI-Dayton) [mailto:ryan.cromw...@lnssi.com] Sent: Friday, December 12, 2008 12:35 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Criteria for ServiceInstall This is the error... error LGHT0204: ICE18: KeyPath for Component: 'StartService1Comp' is Directory: 'INSTALLDIR'. The Directory/Component pair must be listed in the CreateFolders table. -----Original Message----- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Friday, December 12, 2008 2:53 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Criteria for ServiceInstall 1. svchost has its own servicing issues. <smile/> That was more because there were just too many system services running in separate processes. My understanding is that a fair bit of Win7 perf is coming back because they are reducing the number of system services. Think about that next time you create a service. <wink/> 2. Can you provide a more specific error message for the second issue? -----Original Message----- From: Cromwell, Ryan (LNSSI-Dayton) [mailto:ryan.cromw...@lnssi.com] Sent: Friday, December 12, 2008 11:47 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Criteria for ServiceInstall You should talk with the svchost group then, but yes I agree. :P What would suggest in the way of conditionally starting the service upon feature selection? Currently if I create a component with a single ServiceControl element and add that to a feature, it balks about not having any Files (or something similar to the CreateFiles table I believe). -----Original Message----- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Friday, December 12, 2008 2:39 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Criteria for ServiceInstall Windows Installer doesn't really support that scenario unfortunately. They require the ServiceInstall to point at the KeyPath of the Component (the File in this case) and you can't duplicate the file in different Components... unless the file is in different directories. Basically, putting multiple services in a single executable is not supported natively. It's kinda' weird too. <smile/> -----Original Message----- From: Cromwell, Ryan (LNSSI-Dayton) [mailto:ryan.cromw...@lnssi.com] Sent: Friday, December 12, 2008 11:31 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Criteria for ServiceInstall I have successfully created an install which uses the same EXE to install two different Windows Services using ServiceInstall. It was pretty simple. Looks something like this: <Component> <File ...> <ServiceInstall Name="Service1" ... /> <ServiceInstall Name="Service2" ... /> </Component> My dilemma is figuring out a way to have two distinct Features for each service. If they select Feature1 and Feature2 both services should install, but they could exclude one or both of the service registrations if they like. I tried having two components, but it balked at using the same EXE in two different components. Any ideas? Thanks, Ryan ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users