Hi!

I'm trying to build an installer with two <Feature />s: One is for the 
core installation (which the user cannot deselect) and one is for an 
expansion pack to my application. Now my problem is that the expansion 
pack doesn't have a separate executable, it simply installs some 
additional files and starts the main executable with a special argument:

  <Component Id="Game" Guid="E0F7098E-11DB-402B-8B9D-7DA302F45EDF" 
DiskId="1">
    <File Source="..\MyGame\MyGame.exe" Name="MyGame.exe" Id="MyGame.exe" />
    <Shortcut Id="MyGame.lnk" Name="MyGame" />
  </Component>
  <Component Id="Expansion" Guid="D1F1EA3E-2BEA-4E4E-914E-DB07FF8B684A" 
DiskId="1">
    <Shortcut Id="MyGame.Expansion.lnk" Name="MyGame Expansion" 
Arguments="-basedir:xp1" />
  </Component>

I don't have the slightest idea how I can get the shortcut in the 
"Expansion" component to point at MyGame.exe from the "Game" component.
There seems to be no <FileRef /> element and the meaning of the 'Target' 
attribute in the <Shortcut /> element eludes me...

Can anyone point me in the right direction?

-Markus-

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to