Does anyone know why util:InternetShorcut creates a .lnk rather than a
.url? My current code for creating a web link on the start menu is as
follows:

    <DirectoryRef Id="ShortcutsFolder">
      <Component Id="shortcuts" Guid="myguid">
        ...
        <util:InternetShortcut Id="WebsiteShortcut" Name="IES Online"
Target="http://www.iesve.com"; />
        ...
      </Component>
    </DirectoryRef>

The shortcut it creates ends up with the first indexed icon from
shell32.dll & the tooltip you get when hovering over it shows "Location:
Internet Explorer" (tested in XP32 Virtual Machine & many internal users
report the same on their installations).
I can fix this in our releases by creating a .url (as in bookmarking the
site) & specifying it as a File but it seems rather much like a kludge
since util:InternetShortcut exists in the WiX 3.0 toolset.

When I previously used WiX 2.0 I created web links using the following
code:

<IniFile Id="IESURL" Action="addLine" Key="URL" Name="IES.URL"
Section="InternetShortcut" Value="http://www.iesve.com"; LongName="IES
Online.url" />

As shown in the tutorial at
http://www.tramontana.co.hu/wix/lesson6.php#6.2 which worked fine
happily creating a .url that displays the site's favicon.ico for it's
icon & displaying the URL in the tooltip as you would expect.

Should I report this as a bug or a feature request & has anyone had any
issues/different behaviour using util:InternetShortcut where IE isn't
the default browser on the system your MSI is being installed to?


Palbinder Sandher 
Software Deployment and IT Administrator 

T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 
http://www.iesve.com 

**Design, Simulate + Innovate with the <Virtual Environment>**

Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP

Email Disclaimer










-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to