If you are migrating to WiX, please try using dark on your MSI files.  The
WiX 3.0 dark.exe should be especially accurate for the conversion.

Beyond that, the authoring below nests a Shortcut under a component, which
creates a shortcut to the folder of the component.  To create a shortcut to
a file instead, nest the shortcut under the File element.

Derek

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jared McIntyre
Sent: Sunday, July 23, 2006 10:02 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem with Shortcuts

I'm migrating to WiX/Windows Installer from another solution.  I have 
the application shortcut in the ProgramMenuDir working correctly, but 
we had other files in there in the old item, including another 
executable shortcut.  I can't get these to work.  They all show up as 
links to the ProgramMenuDir directory itself, and not the file. Here 
is an example?

<Component Id='License' Guid='43b0a1cc-cda5-4d19-8986-efcceedf3a4b'>
        <File Id='License' Name='License.rtf' DiskId='1' 
src='License.rtf' Vital='yes' ReadOnly="yes"/>
        <Shortcut Id="startmenuLicense" Directory="ProgramMenuDir" 
Name="License"
                LongName="License.rtf" Icon="License.rtf" IconIndex="0" />
</Component> 

Any thoughts on what I'm doing wrong?

Jared

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to