¿Podría decirme qué problema tiene mi código, por favor?Icono para atajo
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension" xmlns:html="http://www.w3.org/1999/xhtml">
<Product Id="c1ee1e1f-4e2a-41c6-a716-eb6f79477012" Name="AdministKOB" Language="1033" Version="1.0.0.0" Manufacturer="Project UP" UpgradeCode="909b9926-711d-4a97-887b-df0bafc6ea66">
<Package InstallerVersion="200" Compressed="yes" />
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
<Icon Id="ikonka" SourceFile="Files\AdministKOB.exe"/>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="DesktopFolder"/>
<Directory Id="ProgramMenuFolder">
</Directory>
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLLOCATION" Name="Administ_KOB">
<Component Id="ProductComponent" Guid="6bd37582-5219-4ae4-a56e-cd1ecd375efa">
<File Id="AdministKOB" Name="AdministKOB.exe" Source="Files\AdministKOB.exe" KeyPath="yes">
<Shortcut Advertise="yes"
Id="DesktopShortcut"
Directory="DesktopFolder"
Name="AdministKOB"
WorkingDirectory="INSTALLDIR"
Description="Elektroniczna ksiazka budynku"
Icon ="ikonka">
</Shortcut>
</File>
<!--<File Id="ikonka" Name="C.ico" DiskId="1" Source="City.ico" Vital="yes" />-->
</Component>
</Directory>
</Directory>
</Directory>
<Feature Id="ProductFeature" Title="AdministKOB" Level="1">
<ComponentRef Id="ProductComponent" />
</Feature>
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION" />
</Product>
</Wix>
me sale este error y advertencias:
The extension of Icon 'ikonka' for Shortcut 'DesktopShortcut' is not "exe" or "ico". The Icon will not be displayed correctly.*
¿Por qué? Doy el archivo ICO.
The extension of Icon 'ikonka' for Shortcut 'DesktopShortcut' does not match the extension of the Key File for component 'ProductComponent'.
¿Alguna idea?
cuando agrego el elemento del icono por encima de me sale error siguiente. "El elemento ComponentGroup contiene un elemento secundario inesperado 'Icon'". –
@MARKANDBhatt Va debajo del elemento Producto. – JWiley