Ahmed Bilal
Ahmed Bilal

Reputation: 1

changing the icon of windows app using Tycho not working

<launcher name="idealized">
      <linux icon="icons/linux.xpm"/>
      <macosx icon="icons/macos.icns"/>
      <win useIco="true">
         <ico path="icons/windows.ico"/>
         <bmp/>
      </win>
   </launcher>

After mvn clean verify it gives following error:

[INFO] --- tycho-p2-publisher:4.0.8:publish-products (default-publish-products) @ idealized-product ---
[IconExe] Error - 7 original icon(s) not replaced in C:\Users\abc\AppData\Local\Temp\p2.brandingIron3874598256860483952\launcher.exe:
        - 48x48, 8 bits, 3752 byte(s) @ 241680
        - 32x32, 8 bits, 2216 byte(s) @ 245432
        - 16x16, 8 bits, 1384 byte(s) @ 247648
        - 48x48, 32 bits, 9640 byte(s) @ 249032
        - 32x32, 32 bits, 4264 byte(s) @ 258672
        - 16x16, 32 bits, 1128 byte(s) @ 262936
        - 256x256, 32 bits, 270376 byte(s) @ 264064
[IconExe] For more details, see https://git.eclipse.org/c/equinox/rt.equinox.p2.git/tree/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/pde/internal/swt/tools/IconExe.java    

When build get complete it shows large view icon correct which I have set and give issue on small and medium icons view, and initially the app icon that shows up in task bar also appears wrong (Eclpise Icon appears which I want to change) and after loading and opening of app it becomes my desired icon.

small-icon-view

medium_icon_view

large_icon_view

initial_wrong_error_during_loading

after_loading_icon

Upvotes: 0

Views: 80

Answers (0)

Related Questions