Hi,

I am trying to create a shortcut to a file in another merge module. I
have tried the following:

<Component Id='ApplicationShortcuts'
Guid='2874af5a-14f8-45c9-9ca7-b4d61d11eac0'>
<CreateFolder />
      <Shortcut Id="MdiShellDesktopShortcut" 
                      Directory="DesktopFolder" 
                      Name="Multi-Manager Applications"
                      WorkingDirectory='INSTALLDIR' 
                      Show='normal' 
                      Icon='MMIcon.ico' 
                      IconIndex='0' 
                      Advertise='no' 
                      Target='[#MdiShell.exe]'/>
</Component>
....
....
<Directory Id="DesktopFolder" Name="Desktop" />

However I get the following errors:

Error   141     ICE03: Not a valid foreign key; Table: Shortcut, Column:
Target, Key(s): MdiShellDesktopShortcut C:\Development\MMAA\Main -
Infrastructure
3.0\Builds\Installers.Client\MMApps.Client.Build.Development.WiX\MMApps.
Client.Build.Development.wxs    40      1
MMApps.Client.Build.Development.WiX

Error   166     ICE43: Component ApplicationShortcuts has non-advertised
shortcuts. It should use a registry key under HKCU as its KeyPath, not a
file.   C:\Development\MMAA\Main - Infrastructure
3.0\Builds\Installers.Client\MMApps.Client.Build.Development.WiX\MMApps.
Client.Build.Development.wxs    38      1
MMApps.Client.Build.Development.WiX

Error   167     ICE57: Component 'ApplicationShortcuts' has both
per-user and per-machine data with a per-machine KeyPath.
C:\Development\MMAA\Main - Infrastructure
3.0\Builds\Installers.Client\MMApps.Client.Build.Development.WiX\MMApps.
Client.Build.Development.wxs    38      1
MMApps.Client.Build.Development.WiX

Error   168     ICE67: The shortcut 'MdiShellDesktopShortcut' is a
non-advertised shortcut with a file target, but the target file does not
exist.  C:\Development\MMAA\Main - Infrastructure
3.0\Builds\Installers.Client\MMApps.Client.Build.Development.WiX\MMApps.
Client.Build.Development.wxs    40      1
MMApps.Client.Build.Development.WiX

Error   169     ICE69: 'MdiShell.exe' references invalid file.
C:\Development\MMAA\Main - Infrastructure
3.0\Builds\Installers.Client\MMApps.Client.Build.Development.WiX\MMApps.
Client.Build.Development.wxs    40      1
MMApps.Client.Build.Development.WiX

It seems it cannot find the file. Thanks in advance for any help

Rehan Saeed 
 
Please consider the environment before printing

**********************************************************************************
This message contains confidential information and is intended only for the 
individual or entity named.  If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free as 
information could be intercepted, corrupted, lost, destroyed, arrive late or 
incomplete, or contain viruses.  The sender therefore does not accept liability 
for any errors or omissions in the contents of this message which arise as a 
result of e-mail transmission. If verification is required please request a 
hard-copy version. This message is provided for informational purposes and 
should not be construed as an invitation or offer to buy or sell any securities 
or related financial instruments. 
GAM operates in many jurisdictions and is regulated or licensed in those 
jurisdictions as required.
To the extent this email has been sent to you by any of GAM (U.K.) 
Limited, GAM Sterling Management Limited, GAM International Management Limited, 
GAM London Limited, GAM Fund Management Limited, or GAM Fonds Marketing GmbH, 
please note the following details in respect of each such company:
GAM (U.K.) Limited (a company limited by shares and registered in England and 
Wales with company number with Company Number 01664573);
GAM Sterling Management Limited (a company limited by shares and registered in 
England and Wales with company number with Company Number 01750352);
GAM International Management Limited (a company limited by shares and 
registered in England and Wales with company number with Company Number 
01802911);
GAM London Limited (a company limited by shares and registered in England and 
Wales with company number with Company Number 00874802)
Each of Registered Office: 12 St. James's Place, London, SW1A 1NX
GAM Fund Management Limited (a company limited by shares and registered in 
Ireland with no. 156828) of Registered Office: George's Court 54-62 Townsend 
Street Dublin 2, Ireland
GAM Fonds Management GmbH (a company limited by shares and registered in 
Germany under No. HRB 66857) of Friedrichstrasse 154, D-10117 Berlin, Germany.  
The competent Commercial Register is “Amtsgericht Charlottenburg“ in Berlin. 
Manager: Doreen Mallon.  As far as investment and contract brokering are 
concerned, GAM Fonds Marketing GmbH acts as agent of Bank Julius Bär 
(Deutschland) AG.

**********************************************************************************

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to