Unable to pass an icon in a software package
search cancel

Unable to pass an icon in a software package

book

Article ID: 204817

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

The customer reported that he has a package with some shortcuts and files. One of those shortcuts is an Internet Shortcut and uses a custom icon.

The actual picture of the URL (icon) will not stay when the package is loaded to the Site Server.  Shows as a blank icon.  

Their source file looks like this -

  

But when it gets to the Site Server, it looks like this:

  

Environment

ITMS 8.5

Cause

This is a Windows issue. Unfortunately, we do not handle file icons in any way and the package is nothing to do with this. This is a pure Windows-specific behavior.

The Windows native mechanics allow to change the icon for "Internet Shortcut" (.url) type files: Right click -> Properties -> "Web Document" tab -> "Change icon" button. This will specify the exact icon for exact ".url" file. For example here are the contents of a simple Internet Shortcut:

[InternetShortcut]
URL=https://www.google.com/

And here is the content of it with the changed icon:

[InternetShortcut]
URL=https://www.google.com/
IconIndex=41
HotKey=0
IDList=
IconFile=C:\windows\System32\SHELL32.dll

The visual difference attached "Screenshot.jpg":

Resolution

Reach out to Microsoft to provide guidance on how to insert the custom icon to their icon process.

Additional Information

171468 "Software Upload not able to upload a shortcut file"