Thank you.
The Install type was set to perMachine.
I then followed that link, and it got rid of the other errors and warnings,
but this warning stays:
ICE64: The directory APPLICATIONROOTDIRECTORY is in the user profile but is
not listed in the RemoveFile table.
But, APPLICATIONROOTDIRECTORY is listed in the RemoveFolder element.
How can I fix this issue ?
Thank you.
<Product Id="*" Name="WIXVBSetupProject" Language="1033" Version="1.0.1.0"
Manufacturer="aaa" UpgradeCode="myGUID_ID">
<Package InstallerVersion="200" Compressed="yes"
InstallScope="perMachine"
Platforms="x64"/>
<MajorUpgrade Schedule="afterInstallExecute" DowngradeErrorMessage="A
newer
version of [ProductName] is already installed." />
<MediaTemplate />
<Feature Id="ProductFeature" Title="WIXVBSetupProject" Level="1">
<ComponentGroupRef Id="ProductComponents" />
</Feature>
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFiles64Folder">
<Directory Id="INSTALLFOLDER" Name="WIXVBSetupProject"
/>
</Directory>
<Directory Id="DesktopFolder" Name="Desktop"/>
<Directory Id="ProgramMenuFolder">
<Directory Id="APPLICATIONROOTDIRECTORY" Name="WIX VB">
</Directory>
</Directory>
</Directory>
</Fragment>
<Fragment>
<DirectoryRef Id="APPLICATIONROOTDIRECTORY">
<Component Id="WIXVB.exe" Guid="myGUID_ID">
<File Id="WIXVB.exe" Source="(var.WIXVB.TargetPath)"
KeyPath="yes"
Checksum="yes"/>
</Component>
</DirectoryRef>
</Fragment>
<Fragment>
<DirectoryRef Id="ApplicationProgramsFolder">
<Component Id="ApplicationShortcut" Guid="myGUID_ID">
<Shortcut Id="ApplicationStartMenuShortcut"
Name="WIX VB"
Description="WIX VB Description"
Target="[#WIXVB.exe]"
WorkingDirectory="APPLICATIONROOTDIRECTORY"/>
<RemoveFolder Id="ApplicationProgramsFolder"
On="uninstall"
Directory="APPLICATIONROOTDIRECTORY"/>
<RegistryValue Root="HKCU"
Key="Software\Microsoft\WIXVB.exe"
Name="installed" Type="integer" Value="1" KeyPath="yes"/>
</Component>
</DirectoryRef>
</Fragment>
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<Component Id="ProductComponent" Win64="yes">
<File Source="$(var.WIXVB.TargetPath)" KeyPath="yes">
<Shortcut Advertise="yes"
Id="MyProductDesktopShortcut"
Directory="DesktopFolder"
Name="WIXVB"
WorkingDirectory="INSTALLLOCATION"
Description="WIX VB"
Icon="Chart.ico">
<Icon Id="Chart.ico"
SourceFile="$(var.WIXVB.TargetPath)" />
</Shortcut>
</File>
</Component>
</ComponentGroup>
</Fragment>
<Fragment>
<Feature Id="MainApplication" Title="Main Application" Level="1">
<ComponentRef Id="WIXVB.exe" />
<ComponentRef Id="ApplicationShortcut" />
</Feature>
</Fragment>
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-create-Menu-Shortcut-tp7593054p7593068.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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users