@Advertise="yes" requires that the target be a component, not a file (the
system will eventually resolve it as the component's keypath).

-----Original Message-----
From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] 
Sent: Wednesday, November 10, 2010 12:01 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How can I create a shortcut or an executabe in a merge
module?

Dear All,

We need to create a shortcut inside the application shortcut folder for an
executable that exists in a merge module. I searched for a while in the
Internet but did not find the exact information that I need. Currently I
have the code below that does not work nor compile:

    <Icon Id="XL_PORTAL.ico" SourceFile=".\XL_PORTAL.ico" />

          <Directory Id="INSTALLDIR" Name=".">
            <Component Id="CreateRMPortalShortcut"
Guid="{E5CB621F-12A9-4402-998A-175847E8DE9E}" KeyPath="no">
              <Shortcut Id="PortalShortcut" Directory="MyProgramMenu"
Name="SIM4ME Portal 2.1.1" Arguments="/progid=SimSci.RMAdapter.60
/regsubkey=Software\Simsci\ROMeo\6.0"
Target="[PORTAL_PATH]bin\S4MWbCustomize.exe" Icon="XL_PORTAL.ico"
Show="normal" WorkingDirectory="USER" Advertise="yes" />
            </Component>

If you know how to accomplish this, please let me.

Thanks a lot,
Miaohsi



*** Confidentiality Notice: This e-mail, including any associated or
attached files, is intended solely for the individual or entity to which it
is addressed. This e-mail is confidential and may well also be legally
privileged. If you have received it in error, you are on notice of its
status. Please notify the sender immediately by reply e-mail and then delete
this message from your system. Please do not copy it or use it for any
purposes, or disclose its contents to any other person. This email comes
from a division of the Invensys Group, owned by Invensys plc, which is a
company registered in England and Wales with its registered office at 3rd
Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For
a list of European legal entities within the Invensys Group, please go to
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77
.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail
recept...@invensys.com. This e-mail and any attachments thereto may be
subject to the terms of any agreements between Invensys (and/or its
subsidiaries and affiliates) and the recipient (and/or its subsidiaries and
affiliates).

----------------------------------------------------------------------------
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to