Thank you. 
I copied and pasted your snippet, and enclosed them in Fragment element, and
still getting the error
"ICE64: The directory ApplicationProgramsFolder is in the user profile but
is not listed in the RemoveFile table."
AND
"ICE64: The directory ManufacturersProgramFolder is in the user profile but
is not listed in the RemoveFile table."

<Fragment>
        <Directory Id="TARGETDIR" Name="SourceDir">
                <Directory Id="ProgramFiles64Folder">
                        <Directory Id="IGINDEX" Name="IG Index">
                                <Directory Id="INSTALLFOLDER" 
Name="WIXVBSetupProject" />
                        </Directory>
                </Directory>
                        <Directory Id="ApplicationProgramsFolder" Name="WIX VB">
                        </Directory>
                </Directory>-->
                <Directory Id="ProgramMenuFolder">
                        <Directory Id="ManufacturersProgramFolder" Name="WIX 
VB">
                                <Directory Id="ApplicationProgramsFolder" 
Name="WIX VB"/>
                        </Directory>
                </Directory>
        </Directory>
</Fragment>

<Fragment>
        <DirectoryRef Id="ApplicationProgramsFolder">
                <Component Id="ApplicationShortcut" Guid="myGuidID">
                        <CreateFolder Directory="ManufacturersProgramFolder" />
                        <Shortcut Id="ApplicationStartMenuShortcut"
                                 Name="WIX VB 2010"
                                Description="Use This Program to View or Modify 
Records in Your
TASDatabase."
                                Target="[APPLICATIONROOTDIRECTORY]WIXVB2010.exe"
                                WorkingDirectory="APPLICATIONROOTDIRECTORY"
                                Icon="InstallerTASServerIco.ico"/>
                        <RemoveFolder Id="ManufacturersProgramFolder"
   Directory="ManufacturersProgramFolder" On="uninstall"/>
                        <RemoveFolder Id="ApplicationProgramsFolder" 
On="uninstall"/>
                        <RegistryValue Root="HKCU"                          
                                Key="Software\Microsoft\WIXVB2010.exe"
                                Name="Installed"
                                Type="integer"
                                Value="1"
                                KeyPath="yes"/>
                </Component>
        </DirectoryRef>
</Fragment>




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-create-Menu-Shortcut-tp7593054p7593075.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to