I'm not sure but please tell us what would happen if you did this: <DirectoryRef Id="FlvViewerMenuFolder"> <Component Id="ApplicationShortcut" Guid="{8C6AD672-1062-4286-8EF4-450757FFB281}"> <Shortcut Id="StartMenuShortcut" Name="Flv Viewer" Description="CompanyFlv File Viewer" Target="[INSTALLDIR]company-flv.exe" WorkingDirectory="INSTALLDIR"/> <RemoveFolder Id="FlvViewerMenuFolder" On="uninstall"/> <RegistryValue Root="HKCU" Key="Software\Company\Company FLV Viewer" Name="installed" Type="integer" Value="1" KeyPath="yes"/> </Component> </DirectoryRef>
<DirectoryRef Id="CompanyMenuFolder"> <Component Id="CompanyMenuFolder" Guid="{E7D5A37A-7B27-4041-97DA-00A404CE2619}"> <RemoveFolder Id="CompanyMenuFolder" On="uninstall"/> </Component> </DirectoryRef> And add a ComponentRef for CompanyMenuFolder to the same place(s) you have the ComponentRef(s) for ApplicationShortcut. -----Original Message----- From: Eric Napier [mailto:napi...@gmail.com] Sent: Friday, August 14, 2009 8:27 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] LGHT0204 - directory not in removefile table despite my attempt to remove it Hello Wix group. I'm following http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm to create a shortcut to my app. I want a menu structure like Programs/Company/Flv Viewer/shortcut_to_app Light is giving me the following error: error LGHT0204 : ICE64: The directory CompanyMenuFolder is in the user profile but is not listed in the RemoveFile table. Below is the relevant xml: <Directory Id="ProgramMenuFolder"> <Directory Id="CompanyMenuFolder" Name="Company"> <Directory Id="FlvViewerMenuFolder" Name="Flv Viewer"/> </Directory> </Directory> </Directory> //This is the close for the earlier TARGETDIR element <DirectoryRef Id="FlvViewerMenuFolder"> <Component Id="ApplicationShortcut" Guid="{8C6AD672-1062-4286-8EF4-450757FFB281}"> <Shortcut Id="StartMenuShortcut" Name="Flv Viewer" Description="CompanyFlv File Viewer" Target="[INSTALLDIR]company-flv.exe" WorkingDirectory="INSTALLDIR"/> <RemoveFolder Id="FlvViewerMenuFolder" On="uninstall"/> <RemoveFolder Id="CompanyMenuFolder" On="uninstall"/> <RegistryValue Root="HKCU" Key="Software\Company\Company FLV Viewer" Name="installed" Type="integer" Value="1" KeyPath="yes"/> </Component> </DirectoryRef> As you can see, I'm attempting to remove CompanyMenuFolder with a RemoveFolder element. ---------------------------------------------------------------------------- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users