It means much the same as having ProgramFilesFolder underneath the TARGETDIR - the shortcut will go where you want it to go and the installer will build.
> From: Kevin Burton [mailto:kev...@buyseasons.com] > Sent: Thursday, January 27, 2011 1:57 AM > > So what does it mean to have "DesktopFolder" underneath the > TARGETDIR. That is certainly not the hierarchy that is on my computer. > > -----Original Message----- > From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] > Sent: Wednesday, January 26, 2011 5:51 PM > > The first error tells you what you must do. > > "There may only be a single root directory per product or > module and its Id attribute value must be 'TARGETDIR' and its > Name attribute value must be 'SourceDir'." > > I assume you already have one of these otherwise you would > not be able to install any files: > > <Directory Id="TARGETDIR" Name="SourceDir"> > .... > </Directory> > > You have two options: > > 1) Add the <Directory/> declaration for DesktopFolder in the > existing TARGETDIR <Directory/> > > <Directory Id="TARGETDIR" Name="SourceDir"> > .... > <Directory Id="DesktopFolder" /> > </Directory> > > 2) Add the <Directory/> declaration for DesktopFolder under a > <DirectoryRef/> for TARGETDIR > > <DirectoryRef Id="TARGETDIR"> > <Directory Id="DesktopFolder" /> > </DirectoryRef> > > All errors I see already tell you what to do... just read > them more carefully. > > Edwin G. Castro > Software Developer - Staff > Electronic Banking Services > Fiserv > Office: 503-746-0643 > Fax: 503-617-0291 > www.fiserv.com > > > From: Kevin Burton [mailto:kev...@buyseasons.com] > > Sent: Wednesday, January 26, 2011 10:09 AM > > > > When I change the DirectoryRef to Directory I get two errors: > > > > Directory with Id 'DesktopFolder' is not a valid root directory. > > There may only be a single root directory per product or module and > > its Id attribute value must be 'TARGETDIR' and its Name > attribute value must be 'SourceDir'. > > > > The Directory element requires the Name attribute because > there is no > > parent Directory element. > > > > -----Original Message----- > > From: Pally Sandher [mailto:pally.sand...@iesve.com] > > Sent: Wednesday, January 26, 2011 10:06 AM > > > > Yes you do have a directory with Id="DesktopFolder". > > > > <DirectoryRef Id="DesktopFolder"> > > > > A cursory search for Id="DesktopFolder" found that in > seconds in your code. > > That should be Directory not DirectoryRef which is what the > error is > > telling you. You're trying to reference something which > doesn't exist > > as far as your code is concerned. > > > > I would suggest looking into contracting out your installation > > development if basic things like this are tripping you up to the > > extent that you're asking the list users for help. > > > > Palbinder Sandher > > Software Deployment & IT Administrator > > T: +44 (0) 141 945 8500 > > F: +44 (0) 141 945 8501 > > > > http://www.iesve.com > > **Design, Simulate + Innovate with the <Virtual Environment>** > > Integrated Environmental Solutions Limited. Registered in > Scotland No. > > SC151456 > > Registered Office - Helix Building, West Of Scotland Science Park, > > Glasgow > > G20 0SP Email Disclaimer > > > > -----Original Message----- > > From: Kevin Burton [mailto:kev...@buyseasons.com] > > Sent: 26 January 2011 15:30 > > > > No, I don't have a directory with Id="DesktopFolder". I > have included > > the WiX source that I am using below (sorry about the > length but I it > > looks like I cannot attached a file) The applicable source > is toward the end. > > > > > > > > I still get the error: > > > > > > > > > C:\Projects\BuySeasonsIT\Source\Brain\Trunk\BuyseasonsServices\BsiServ > > i > > c > > es\Product.wxs(318,0): error LGHT0094: Unresolved reference > to symbol > > 'Directory:DesktopFolder' in section > > 'Product:{8D768A77-71B5-432F-86F2- > > BCD197617A79}'. > > > > > > > > Thank you. > > > > > > > > Kevin ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users