/build/static/layout/Breadcrumb_cap_w.png

Problem with VLC Icon

Hi,

I have repack the VLC player. Everything works fine. But one problem I have is that all media files has the icon of a MSI package. Not the VLC icon it should have.
In the Icon table in Wise I have one row that looks like this.
Name: Icon8CF0B24B.exe
Data: {binary data}

What do I have to do to get the VLC icon to the media files?
Thanks!

0 Comments   [ + ] Show comments

Answers (9)

Posted by: MSIPackager 15 years ago
3rd Degree Black Belt
1
Chances are your capture didn't get the right icon at all. It may be that the vlc icon you need is one of the ones in contained in Icon8CF0B24B.exe but i doubt it.

Easiest to use something like icon sucker to extract the icon from vlc.exe (or whichever icon you want) then use Wise / Orca or whatever to load that file into your icon table. You can then change all your references in the package from Icon8CF0B24B.exe to yor new entry in the icon table.

You can then delete the Icon8CF0B24B.exe row from the icon table as it's probably redundant.

Don't forget to validate your package before you test it :-)

http://www.freedownloadscenter.com/Shell_and_Desktop/Icon_Editing_Tools/Icon_Sucker_2.html

Hope it helps,
Rob.
Posted by: anonymous_9363 15 years ago
Red Belt
0
In all probability, your package hasn't associated the media file extensions (presumably WAV, MP3, etc?) with the VLC executable. Check out the use of the 'Extension', 'ProgID' and 'Verb' tables.
Posted by: aXz 15 years ago
Blue Belt
0
Hi VBScab,

It seems to be nothing wrong in this 3 tables. Not that I can see anyway.
In the Extantions table vlc.exe is staded in all rows under Component_
In the Verb table there are Extension_, Verb, Command, Argument, Sequence.
In the ProdID table the icon for VLC (Icon8CF0B24B.exe) is staded in every row under Icon_.
Posted by: aXz 15 years ago
Blue Belt
0
Hi Rob!

Thansk for your tip about Icon Sucker!
When I in the Icon Sucker pointed at the vlc.exe I got two icons. It looks the same exept from the size.
So I saved them as "vlc_icon_small.bmp" and "vlc_icon_big.bmp" in a new folder I created, named "Icon"
Because I havent done this before there is some "newbee" questions on this.
How do I point in wise to the new Icon?
I looked in the three tables I mention above.
I looked in the Extention table and in the dropdown list for Component_ (Where the vlc.exe is stated now) but I couldn't see my icons there. I guess I have to point to the new icon folder somehow? Or?
Posted by: anonymous_9363 15 years ago
Red Belt
0
As Rob said, you need to import the icon into the Icon table. The two main authoring tools make this easy but in can be done in Orca, too.
Posted by: aXz 15 years ago
Blue Belt
0
Hi.

I imported the icon. I renamed the icon files to .ico so I can use them in the package.
But when I do the ICE validation I get this error messages:

Not a valid foreign key; Table: Shortcut, Column: Icon_, Key(s): VLC_Media_Player ice03.html Shortcut Icon_ VLC_Media_Player
Evaluation: ICE03

### This one below I get 41 of (it is 41 rows in the progId table) ###
Not a valid foreign key; Table: ProgId, Column: Icon_, Key(s): VideoLAN.VLCPlugin.2 ice03.html ProgId Icon_ VideoLAN.VLCPlugin.2
Evaluation: ICE03


The extension of Icon 'Icon_small' for Shortcut 'VLC_Media_Player' is not "exe" or "ico". The Icon will not be displayed correctly. ice50.html Shortcut Icon_ VLC_Media_Player
Evaluation: ICE50

The extension of Icon 'Icon_small' for Shortcut 'VLC_Media_Player' is not "exe" or "ico". The Icon will not be displayed correctly. ice50.html Shortcut Icon_ VLC_Media_Player
Evaluation: ICE50



The stange thing is that the Icon file has the .ico file extention. (Icon_small.ico)
Posted by: AngelD 15 years ago
Red Belt
0
"Not a valid foreign key" means that you renamed the primary key for the Icon table entry.
Change the Shortcut.Icon_ column value to reflect the new name for:
Shortcut.Shortcut=VLC_Media_Player
ProgId.ProgId=VideoLAN.VLCPlugin.2

"The extension of Icon...The Icon will not be displayed correctly."
While WPS generates these Icon binaries it will use the referred file-extension but is still an "Icon" binary.
This is not a valid warning as it will be displayed correctly due to windows existing .html extension associateion.
To fix this "cosmetic" rename the Icon.Icon column value to a .exe extension instead.
Don't forgett to update the referenced Icon_ entries.
Posted by: aXz 15 years ago
Blue Belt
0
ORIGINAL: AngelD

"The extension of Icon...The Icon will not be displayed correctly."
While WPS generates these Icon binaries it will use the referred file-extension but is still an "Icon" binary.
This is not a valid warning as it will be displayed correctly due to windows existing .html extension associateion.
To fix this "cosmetic" rename the Icon.Icon column value to a .exe extension instead.
Don't forgett to update the referenced Icon_ entries.



Hi,
If its not a valid warning I dont feel its nessesary to "fix" it.
BUT when i test install the VLC Player it cant show the icon in the start meny. Its just a empty white icon.
The media files is like I want them now anyway.
One step forward and one back again [8D]

Whe warnings I have now is:
The extension of Icon 'Icon_big' for Shortcut 'VLC_Media_Player' is not "exe" or "ico". The Icon will not be displayed correctly. ice50.html Shortcut Icon_ VLC_Media_Player
Evaluation: ICE50


The extension of Icon 'Icon_big' for Shortcut 'VLC_Media_Player' does not match the extension of the Key File for component 'vlc.exe'. ice50.html Shortcut Icon_ VLC_Media_Player
Evaluation: ICE50
Posted by: AngelD 15 years ago
Red Belt
0
If its not a valid warning I dont feel its nessesary to "fix" it.
Okey, let me re-phrase it: "may not be a valid warning".
If the file extension is already associated then there should be no problem as it would be handled by the default corrent association. HTML would be associated with IE I guess.

First off; extract the Icon binary from the MSI using ORCA or similar (save as ex. MyIcon.exe). Open it in resource hacker and verify that it has valid icons.

If that's true then your Shortcut.Icon_ value isn't referencing the correct Icon.Icon value. Have in mind it's Case sensitive.

Could you post the Shortcut and Icon table entries.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ