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

Reply via email to