Adding your Forms project as reference to the Wix setup project just makes the output from the Forms project (exe) available to the Wix project (var.ProjectName). You still need to tell Wix things like: what files to include in the MSI that it generates, what kind of UI to use for dialogs, etc.
For example you will need something like the following in your Product.wxs file under the Wix setup project to create a very simple installer that copies just one exe file. --- <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="YOUR-GUID" Name="SimpleApp" Language="1033" Version="1.0.0.0" Manufacturer="Simple Ltd" UpgradeCode="YOUR-GUID"> <Package InstallerVersion="200" Compressed="yes" /> <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /> <UIRef Id="WixUI_InstallDir" /> <Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="INSTALLLOCATION" Name="Simple"> <Component Id="ProductComponent" Guid="GUID"> <File Source="$(var.SimpleApp.TargetDir)SimpleApp.exe" /> </Component> </Directory> </Directory> </Directory> <Feature Id="ProductFeature" Title="SimpleApp" Level="1"> <ComponentRef Id="ProductComponent" /> </Feature> </Product> </Wix> --- Hope that helps. Cheers Sharad Patel Winscribe NZ -----Original Message----- From: Brown, Glenn [mailto:glenn.br...@savogroup.com] Sent: Wednesday, 16 February 2011 9:08 a.m. To: wix-users@lists.sourceforge.net Subject: [WiX-users] Newbie Visual Studio Question Hi Folks, I'm just starting to get the ball rolling with WIX and wanted to start off with the basic visual studio project described in the docs. I follow the steps (create a forms application project, create a WIX setup project, add the forms project as a reference to the WIX setup project). My understanding is that should be it. However, I get the following message when I build the solution: LGHT1079: The cabinet 'media1.cab' does not contain any files. If this installation contains no files, this warning can likely be safely ignored. Otherwise, please add files to the cabinet or remove it. Also, nothing gets installed when I run the msi. Am I missing something here? BTW, I'm using VS 2010 RTM on Windows 7. Thanks, ________________________________ CONFIDENTIALITY NOTICE: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee, you may not disseminate, distribute , copy or otherwise use this e-mail or its contents. Please notify the sender immediately by e-mail if you have received this email by mistake and delete it from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited ------------------------------------------------------------------------ ------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users