I know that this is a very elementary question since I'm new to this, but could someone tell what lines of code I would add to a WXS file to reference it to one containing Fragments.
I have a Product.wxs file and another wxs file named Directory.wxs which contains a bunch of Fragments. How can I tell the Product.wxs file to use the Directory.wxs file? Below is the code from the Product.wxs file. The situation is that when the automated build is happening the MSI file is not including all of the necessary files for the program to work. <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" UpgradeCode="{39A1B384-06D2-4C12-BB18-95641CF2F9DD}" Version="1.0.0.0" Language="1033" Name="Altus Client" Manufacturer="Polaris Wireless"> <Package InstallerVersion="300" Compressed="no"/> <Media Id="1" EmbedCab="no" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="PROGRAMFILESFOLDER" Name="Altus Client"> <Directory Id="APPLICATIONROOTDIRECTORY" Name="Altus Client"/> </Directory> <!-- Step 1: Define the directory structure --> <Directory Id="ProgramMenuFolder"> <Directory Id="ApplicationProgramsFolder" Name="Altus Client"/> </Directory> </Directory> <Property Id="WIXUI_INSTALLDIR" Value="APPLICATIONROOTDIRECTORY" /> <UIRef Id="WixUI_InstallDir" /> <DirectoryRef Id="APPLICATIONROOTDIRECTORY"> <Component Id="AltusClient.exe" Guid="{39A1B384-06D2-4C12-BB18-95641CF2F9DD}"> <File Id="AltusClient.exe" Source="$(var.AltusClient.TargetDir)\AltusClient.exe" KeyPath="yes" Checksum="yes"/> </Component> </DirectoryRef> <!-- Step 2: Add the shortcut to your installer package --> <DirectoryRef Id="ApplicationProgramsFolder"> <Component Id="ApplicationShortcut" Guid="*"> <Shortcut Id="ApplicationStartMenuShortcut" Name="Altus Client" Description="Altus Client Program" Target="[APPLICATIONROOTDIRECTORY]AltusClient.exe" WorkingDirectory="APPLICATIONROOTDIRECTORY"/> <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/> <RegistryValue Root="HKCU" Key="Software\Microsoft\AltusClient" Name="installed" Type="integer" Value="1" KeyPath="yes"/> </Component> </DirectoryRef> <Feature Id="AltusClient" Title="Altus Client" Level="1"> <ComponentRef Id="AltusClient.exe" /> <!-- Step 3: Tell WiX to install the shortcut --> <ComponentRef Id="ApplicationShortcut" /> </Feature> </Product> </Wix> ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users