Is it possible to create a shortcut in one component, that will
reference to an executable which is located in another component? We
have an executable used by all our applications, but is running with
different command line arguments for each component. So I want the
executable to be placed in a single components and to create the
shortcuts from all the other components. How can I achieve that?
Dror,
You can set the shortcut target to be any file that is installed using
its ID with a '#' prefix, e.g.
Component Id=MyShortcut Guid=...
Shortcut Id=MyApp.Shortcut Name=My Application
Target=[#myapp.exe] Directory=DesktopFolder Show=normal /
/Component
However, you might get warnings if the two components are not part of
the same feature.
Regards,
John
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users