Thanks for looking at this... Yes, Notepad.exe and Readme.txt are there. I included the wrong example but in this case, I'm not getting fragment.txt either.
For the directory example, I have a folder called FOLDER and it has file called abc.txt. The wxs, SampleHarvest.wxs, for the FOLDER: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <DirectoryRef Id="INSTALLLOCATION"> <Directory Id="dirB97A511407DDB079A8785EE4294749AC" Name="FOLDER" /> </DirectoryRef> </Fragment> <Fragment> <ComponentGroup Id="SampleGroup"> <Component Id="cmp27D5C2CCE634D6324850B2916AD3E0A4" Directory="dirB97A511407DDB079A8785EE4294749AC" Guid="F9168C5E-CEB2-4faa-B6BF-329BF39FA1E5"> <File Id="filDBDB145A149F9EC0F45CB32878FF5A2B" KeyPath="yes" Source="FOLDER\abc.txt" /> </Component> </ComponentGroup> </Fragment> </Wix> And the bat script: "c:\program files (x86)\wix toolset v3.8\bin\candle" SampleHarvest.wxs example.wxs "c:\program files (x86)\wix toolset v3.8\bin\light" -out ICD SampleHarvest.wixobj example.wixobj With this, I do not get the FOLDER and abc.txt in the installed directory along with Notepad.exe and Readme.txt. Rick -----Original Message----- From: Chad Petersen [mailto:chad.peter...@harlandfs.com] Sent: Friday, July 12, 2013 1:18 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] help needed including directories I compiled and linked your example into an MSI and ran it and it works great. Notepad.exe and Readme.txt installed. Remember if you are on a 64-bit system you need to look in C:\Program Files (x86)\Example to find your installed files. -----Original Message----- From: Richard Silverstein [mailto:rsilverst...@conarc.com] Sent: Friday, July 12, 2013 9:07 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] help needed including directories I'm new to Wix and having trouble including directories. I read about Heat and Fragments and it appears I'm doing it by the example, but my directory and its files are not getting included after the install. My install.bat has: "c:\program files (x86)\wix toolset v3.8\bin\candle" fragment.wxs example.wxs "c:\program files (x86)\wix toolset v3.8\bin\light" -out ICD fragment.wixobj example.wixobj Fragment.wxs: <?xml version='1.0' encoding='windows-1252'?> <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> <Fragment Id='FragmentID'> <DirectoryRef Id='INSTALLDIR'> <Component Id='Manual' Guid='F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4'> <File Id='FragmentFile' Name='fragment.txt' Source='fragment.txt' KeyPath='yes'> <Shortcut Id="startmenuManual" Directory="ProgramMenuDir" Name="FRAGMENT TEST" Advertise="yes" /> </File> </Component> </DirectoryRef> </Fragment> </Wix> Example.wxs: <?xml version="1.0"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" UpgradeCode="12345678-1234-1234-1234-111111111111" Name="Example Product Name" Version="0.0.1" Manufacturer="Example Company Name" Language="1033"> <Package InstallerVersion="200" Compressed="yes" Comments="Windows Installer Package"/> <Media Id="1" Cabinet="product.cab" EmbedCab="yes"/> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="INSTALLDIR" Name="Example"> <Component Id="ApplicationFiles" Guid="12345678-1234-1234-1234-222222222222"> <File Id="ApplicationFile1" Source="notepad.exe"/> <File Id="ApplicationFile2" Source="readme.txt"/> </Component> </Directory> </Directory> </Directory> <Feature Id="DefaultFeature" Level="1"> <ComponentRef Id="ApplicationFiles"/> </Feature> </Product> </Wix> Thank you Rick SIlverstein Conarc, Inc. ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users