You don't need to reference the project to create a WiX install you just need fragment like this:
<Component Id="SampleService.exe" DiskId="1" Guid="GUID_HERE"> <File Id="SampleService.exe" Name="SampleService.exe" Source="Files\SampleService.exe" KeyPath="yes" /> <ServiceInstall Id="SampleService" Name="SampleService" Description="Sample Service" DisplayName="SampleService" Interactive="yes" Start="auto" Vital="yes" ErrorControl="normal" Type="ownProcess" /> <ServiceControl Id="StopSampleService" Name="SampleService" Stop="both" Start="install" Remove="uninstall" Wait="yes" /> </Component> Neil -----Original Message----- From: karthik thiagarajan [mailto:tk_kart...@hotmail.com] Sent: 04 June 2009 19:33 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Add a .vcproj to Wix MergeModule Can someone provide me with a sample of how can I go about installing a Windows Service written in C++ to get installed using Wix. I know I cant add a .vcproj to a WIXPROJ, so how do I solve this issue of referring to the service executable to install it. Karthik Thiagarajan > Date: Tue, 2 Jun 2009 23:38:38 +0300 > From: simon.dahlba...@gmail.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Add a .vcproj to Wix MergeModule > > you can add the necessary files to the resulting installer just fine, you > just cannot add the vcproj as a reference > > On Tue, Jun 2, 2009 at 11:28 PM, karthik thiagarajan <tk_kart...@hotmail.com > > wrote: > > > > > So what is the correct way to write an installer to install a windows > > service written in Manged C++? > > > > Karthik Thiagarajan > > > > > > > > > From: edwin.cas...@fiserv.com > > > To: wix-users@lists.sourceforge.net > > > Date: Tue, 2 Jun 2009 15:23:01 -0400 > > > Subject: Re: [WiX-users] Add a .vcproj to Wix MergeModule > > > > > > .VCPROJ projects are not supported at this time because they are *not* > > MSBuild based projects. > > > > > > 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: karthik thiagarajan [mailto:tk_kart...@hotmail.com] > > > > Sent: Tuesday, June 02, 2009 12:13 PM > > > > To: wix-users@lists.sourceforge.net > > > > Subject: [WiX-users] Add a .vcproj to Wix MergeModule > > > > > > > > > > > > Hi > > > > > > > > > > > > > > > > I have a Wix Merge module and I want to add a reference to a .VCPROJ to > > > > it. No matter what I do, I am not able to set the reference correctly. > > > > When i try to compile the Wix project, it complains of missing > > > > reference. When I try to add a reference to .CSPROJ, things work > > > > correctly. How do I get over this? > > > > > > > > Karthik Thiagarajan > > > > > > > > > > > > ----------------------------------------------------------------------- > > > > ------- > > > > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > > > > looking to deploy the next generation of Solaris that includes the > > > > latest > > > > innovations from Sun and the OpenSource community. Download a copy and > > > > enjoy capabilities such as Networking, Storage and Virtualization. > > > > Go to: http://p.sf.net/sfu/opensolaris-get > > > > _______________________________________________ > > > > WiX-users mailing list > > > > WiX-users@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------------ > > > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > > > looking to deploy the next generation of Solaris that includes the latest > > > innovations from Sun and the OpenSource community. Download a copy and > > > enjoy capabilities such as Networking, Storage and Virtualization. > > > Go to: http://p.sf.net/sfu/opensolaris-get > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------------ > > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > > looking to deploy the next generation of Solaris that includes the latest > > innovations from Sun and the OpenSource community. Download a copy and > > enjoy capabilities such as Networking, Storage and Virtualization. > > Go to: http://p.sf.net/sfu/opensolaris-get > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users