This is what I do.  Basically make a shortcut to internet explorer  and
pass the web address as the argument.  I do it this way so that it
always opens another instance of ie when you use the shortcut instead of
opening it the current window.  This was a big problem with ie6.
<Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder" Name="PFiles">
        <Directory Id="INTERNETEXPLORER" Name="Internet Explorer" />
      </Directory>
</Directory>

    <DirectoryRef Id="INSTALLDIR">
      <Component Id="WebShortcutComp"
Guid="{32CFB0AF-709A-4a05-A52E-6EDE55D673A1}">
        <RegistryKey Id="WebClientShortCutRegKey" Action="create"
Root="HKCU" Key="SOFTWARE\Clearview\Server\WebClientShortcut" />
        <CreateFolder />
        <Shortcut Id="WebShortcut" Directory="DesktopFolder"
Name="Clearview Web Client" WorkingDirectory="INTERNETEXPLORER"
Arguments="http://[SITENAME]/clearview"; Target="[SHORTCUTDIR]"
Icon="WebIcon.ico">
          <Icon Id="WebIcon.ico"
SourceFile="$(sys.CURRENTDIR)..\lib\Clearview.ico" />
        </Shortcut>
      </Component>
    </DirectoryRef>

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Neil
Sleightholm
Sent: Monday, April 23, 2007 4:56 PM
To: Erich Buhler; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Shortcut + hyperlink 2

Something like this should work:

    <!-- To create a shortcut to an non-installed item it must be a
property -->
    <Property Id="TUTORIAL" Value="http://www.tramontana.co.hu/wix"; />

    <!-- Create a shortcut to the WiX tutorial -->
    <Shortcut Id="WiXTutorial" Name="WiXTut" LongName="WiX Tutorial"
Description="WiX Tutorial website" Directory="ResourcesGroup"
Target="[TUTORIAL]" />

Neil

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erich
Buhler
Sent: 23 April 2007 14:47
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Shortcut + hyperlink 2


Hi guys, 
Does anyone can provide me an example of creating a shortcut which opens
IE7
with a set URL?
I've tried the following line, but it doesn't work.

<Shortcut Id="Shortcut8" Directory="BTFolderSDK" Name="More examples..."
WorkingDirectory="Root" 
Target="http://xxx.com/Downloads/NET/tabid/122/Default.aspx"; 
Arguments="http://sdk.bt.com/Downloads/NET/tabid/122/Default.aspx";  /> 

Thanks, 
Erich. 


-- 
View this message in context:
http://www.nabble.com/Shortcut-%2B--hyperlink-2-tf3631665.html#a10140566
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to