The code listed is OK, it's just that you're created a new component but haven't listed it under a given feature. Just add <ComponentRef Id="Dirs"/> to whichever feature(s) use this folder.
Rob dave_c wrote: > When I tried inserting I get the following message when compiling > > <Directory Id="ProgramMenuFolder" Name="PMenu" LongName="Programs"> > <Directory Id="AGI" Name="AGI" LongName="Agilent" > > <Directory Id="DASHB" Name="DASHB" LongName="Agilent Business > Dashboard" > > <Directory Id="DashMenuDir" Name="Manuals"> > <Component Id="Dirs" DiskId="1" > Guid="{0A3D0343-7286-4f1f-9D14-9023CA330440}"> > <RemoveFolder Id='DashMenuDirRem' On='uninstall' /> > </Component> > </Directory> > </Directory> > </Directory> > </Directory> > > I get a warning message DirectoryDefinitions.wxs(21) : warning LGHT1 > 010 : Found orphaned Component 'Dirs'. Every Component should have at least > one > parent Feature. > > Could you show me what I should have put in this section please > > Rob Hamflett wrote: >> You need to put the component underneath the DASHB folder, or specify >> DASHB as the value for >> [EMAIL PROTECTED] The Id is just a unique id for that RemoveFolder >> entry. >> >> Rob >> >> dave_c wrote: >>> I have just built a msi file. When I run it rhough Orca I see the >>> following >>> error messages >>> >>> The directory DashMenuDir is in the user profile but is not listed in the >>> RemoveFile table. >>> The directory DASHB is in the user profile but is not listed in the >>> RemoveFile table. >>> The directory AGI is in the user profile but is not listed in the >>> RemoveFile >>> table. >>> >>> Firstly do I need to worry about them. >>> >>> Second if I do how do I reslove the issue. >>> >>> I've tried doing the following >>> >>> <Fragment Id='Server_BOFiles'> >>> >>> <ComponentGroup Id='RemoveDirectories'> >>> <ComponentRef Id='Dirs'/> >>> </ComponentGroup> >>> >>> <DirectoryRef Id="ProgramFilesFolder"> >>> <Component Id="Dirs" DiskId="1" >>> Guid="{0A3D0343-7286-4f1f-9D14-9023CA330440}"> >>> <RemoveFolder Id='DASHB' On='uninstall' /> >>> </Component> >>> </DirectoryRef> >>> >>> </Fragment> >>> >>> but it has not made any difference. >>> >>> Any idea? >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier. >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users