I came across a method for doing this a while back, and found it again by
searching for "url shortcut wix" at live.com. Try:
http://www.joyofsetup.com/2008/03/18/new-wix-feature-internet-shortcuts/.
It looks like you roll to a recent build of WiX it should have the support
built in.
Neil
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert O'Brien
Sent: April-17-08 1:51 PM
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] is there a way of creating url based shortcut w/o having
to refer to iexplore.exe as target and url as arguments?
Is there a way of creating url based shortcut w/o having to refer to
iexplore.exe as target and url as arguments? In the excerpt below I'm
creating a web site vdir and I'd like to include a shortcut that allows users
after setup of the service completes to launch and test one of the urls exposed
by the vdir. Using what I have in place currently doesn't result in the noted
shortcut with http://... For a Target setting being created. Elsewhere I'm
creating shortcuts the same way using actual setup installed .exe references as
the Target value and they do successfully get created.
<Directory Id="Site1Vdir3Dir" Name="SomeVdir">
<Component Id="Site1Vdir3" Guid="E89BB697-4C52-4835-BD40-49FD100261B0"
Win64="$(var.Win64)">
<!--<File Id="InstalledSite1Vdir3.txt" Name="InstalledSite1Vdir3.txt"
Source="Resources\InstalledComponent.txt" KeyPath="yes" />-->
<!-- need to use an HCKU key keypath to statisfy ice38 & ice43 checks
-->
<RegistryKey Root="HKCU"
Key="$(var.SoftwareKey)\Microsoft\!(loc.ProductKey)">
<RegistryValue Name="InstalledSite1Vdir3" Type="integer" Value="1"
KeyPath="yes" />
</RegistryKey>
<File Id="SomeVdirService.svc" Name=" SomeVdirService.svc"
Source="$(var.SomeWcfServiceProject.ProjectDir)SomeVdirService.svc"/>
<File Id="Site1Vdir3Web.config" Name="Web.config"
Source="$(var.SomeWcfServiceProject.ProjectDir)Web.config"/>
<Shortcut Id="Site1Vdir3Shortcut1" Name="Some Vdir Wcf Provider"
Target="http://localhost/SomeVdir/SomeVdirService.svc"
Directory="ProductMenuFolder"
Description=" Some Vdir Wcf Provider" />
<RemoveFolder Id="Site1Vdir3ShortcutsRemoveProductMenuFolder"
On="uninstall" />
<iis:WebVirtualDir Id="Site1Vdir3" Alias=" SomeVdir "
WebSite="DefaultWebSite" Directory="Site1Vdir3Dir">
<iis:WebApplication Id="Site1Vdir3App" Name="SomeVdir Application"
WebAppPool="Site1AppPool" Isolation="medium" />
</iis:WebVirtualDir>
</Component>
.
.
.
/robertob
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users