I have read a tons of materials on this subject, but still I can't do it. I'am enclosing relevant info from my .wxs file.
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://ift.tt/1cKQ1oM"
xmlns:util="http://ift.tt/18LfQpH"
xmlns:netfx="http://ift.tt/1fbCTwJ"
xmlns:bal="http://ift.tt/1iVN5Yd">
<?include Some.wxi ?>
<Product Id="*" Name="Product" Language="1033" Codepage='1252' Version="$(var.PluginVersion)" UpgradeCode="SomeCode">
<Feature Id="ProductFeature" Title="SomeTitle" Level="1" Description="SomeDescription" ConfigurableDirectory='INSTALLFOLDER'>
<ComponentRef Id="MYICON.ico"/>
</Feature>
<DirectoryRef Id="INSTALLFOLDER">
<Component Id="MYICON.ico" Guid="*">
<File Id="MYICON.ico" KeyPath="yes" Checksum="yes"/>
</Component>
</DirectoryRef>
<Icon Id="MYICON.ico" SourceFile="MYICON.ico" />
<ComponentGroup Id="ProductComponents">
<Component Id="_CmpId_00002_x86" Directory="INSTALLFOLDER" Win64="no">
<!-- Registry -->
<RegistryKey Root="HKLM" Key="Some key" ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes">
<RegistryValue Name="Description" Value="The addin allows Excel to interact with server" Type="string" />
<RegistryValue Name="FriendlyName" Value="Some Name" Type="string" />
<RegistryValue Name="LoadBehavior" Value="3" Type="integer" />
<RegistryValue Name="Manifest" Value="[INSTALLFOLDER]Some.vsto|vstolocal" Type="string" KeyPath="yes" />
<RegistryValue Name="InstallationFolder" Value="[INSTALLFOLDER]" Type="string" />
</RegistryKey>
<ProgId Id="FileType" Description="File type for viewer" Icon='MYICON.ico'>
<Extension Id="exte" ContentType="application/x-some">
<Verb Id="open" Command="open" TargetFile="someBat.bat" Argument=""%1""/>
</Extension>
</ProgId>
</Component>
</ComponentGroup>
</Product>
</Wix>
Relevant information are related to MYICON.ico file. Installer is created successfuly, I also manage to install it but no effect on icon. When i create file with .exte, still no icon is assigned to it. Any idea what to do?
Aucun commentaire:
Enregistrer un commentaire