On 12/14/2013 12:18 AM, Edwin Castro wrote: > On 12/13/13, 3:07 PM, Markus Ewald wrote: >> warning LGHT1076 : ICE69: Mismatched component reference. Entry >> 'ApplicationStartMenuShortcut' of the Shortcut table belongs to >> component 'ApplicationShortcut'. However, the formatted string in >> column 'Target' references file 'myapplication.exe' which belongs to >> component 'myapplication.exe'. Components are in the same feature. > I think this warning is telling you that all shortcuts to > myapplication.exe should exist in the same component that installs > myapplication.exe. > > If you install the shortcuts and the exe in different components then > that opens the possibility that somebody will allow the exe to be > uninstalled without uninstalling the shortcuts.
Tell that to the official documentation of the WiX toolset ;-) http://wixtoolset.org/documentation/manual/v3/howtos/files_and_registry/create_start_menu_shortcut.html The warning was also discussed on this mailing list in 2009 where it was considered /normal/ http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Incomprehensible-warning-td2234181.html I can avoid it by using [APPLICATIONROOTDIRECTORY]myapplication.exe - creating an unvalidated shortcut that could point to anything even outside of the installer. I could also place my shortcuts directly under the <File /> element for myapplication.exe, but I'm generating the file list via Heat.exe, so this would involve some patching via xmlpoke or sed which I'm not keen on (and neither does the example in the documentation do it that way). Regards, Markus Ewald ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

