I have a project that runs heat on my source folder to make a
MyProjectComponentGroupGeneratedWithHeat.wxs file and in it there is the
file I want my desktop shortcut to point to whith a randlomly generated
'Id' like:

<Component Id="cmp27E5DF6C4E92D863864EE2487F84A01F"
Directory="dirA106A0485FA54EBB441803185050FB8A" Guid="*">
                <File Id="filD762D445088CEDB5A0D3D207D22D51AF"
KeyPath="yes" Source="$(env.sourcePath)\myProject\myProject.exe" />
            </Component>


I have my main wxs file with:

<Shortcut Id="$(env.ProductShortName)DesktopShortcut"
            Name="$(env.ProductShortName)"
            Description="Runs $(env.ProductShortName)"

Target="[$(env.ProductShortName)/$(env.projectName)/$(env.projectName).exe]"
            Icon="MainIcon"
            WorkingDirectory="$(env.ProductShortName)" />

But apparently the 'Target' needs to point to an actual 'File Id'.

How could I handle this situation?
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to