I think your error messages are all related.  An advertised shortcut points at 
the KeyPath of the Component.  By default, the KeyPath is the first Registry, 
File, or ODBC element in a Component.  What is the KeyPath for the Component 
containing your advertised shortcut?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Venkatesh 
Malepati
Sent: Tuesday, June 12, 2007 2:13 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to correct ICE19 and ICE50 errors in .MSI package


Hi
I am trying to test my .MSI with ORCA and I am getting the following error 
messages:

ICE19: Shortcut 'startmenuTeamsDesigner10Uni' advertises component:' 
Component24': This component cannot be advertised because the keypath type 
disallowed

AND
 ICE50:Component 24 has an advertised shortcut,but the keypath cannot be found.

My shortcut has the follwing code in wix file:

<File Id="file934" Name="teams.exe" 
src="C:\luntbuild\work\TEAMS-10.0\teams\release\program\teams-unicode\teams.exe"
 Vital="yes">

                    <Shortcut Id="startmenuTeamsDesigner10Uni" 
Directory="ProgramMenuFolder" Name="Teams10" LongName="Teams Designer 10.0" 
WorkingDirectory="TEAMSDIR" Icon="teams.exe" IconIndex="0" Advertise="yes"/>

                    <Shortcut Id="desktopTeams10Uni" Directory="DesktopFolder" 
Name="Teams10" LongName="Teams Designer 10.0" WorkingDirectory="TEAMSDIR" 
Icon="teams.exe" IconIndex="0" Advertise="yes"/>

</File>

If I donot advertise them I am getting these error messages:
ICE43:Component 'Component24' has non-advertised shortcuts. It should use a 
registry key under HKCU as its KeyPath.
I donot want to create path under HKCU as I need to create under HKLM.
Any solutions for this. Please help. Thanks in advance.

Regards
Venkatesh



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to