When we created help file shortcuts in the start menu using
InstallShield, we had to manually set the icon to
System32\WinHlp32.exe. If I try to do this with WiX, it complains that
the extension of icon 'xyz' for shortcut 'abc' does not match the
extension of the Key File for component 'foo.chm'.

How does one go about getting a nice help icon in the start menu?

My code looks more or less like this:

        <Component Id="APPHELP.chm"
Guid="{91CD65F1-FAA3-42FD-9E1A-DDED9FA65CAC}">
          <File Id="APPHELP.chm" Name="APPHELP.chm" KeyPath="yes"
Source="..\APPHELP.chm" />
          <RemoveFolder Id="NewShortcut1" Directory="newfolder1"
On="uninstall" />
          <Shortcut Id="NewShortcut1" Directory="newfolder1"
Name="Application Help" ShortName="APPHELP" Icon="helpicon"
IconIndex="1" Show="normal" Advertise="yes" />
        </Component>
...
    <Icon Id="helpicon" SourceFile="$(env.windir)\system32\winhlp32.exe" />


Thanks!
-- 
-Chris

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to