Question concerning creating .exe shorcuts.
Question concerning creating .exe shorcuts.
Hey guys,
I was curious about something. When Wine installs a program, that creates a shortcut after installation, it is usually placed on the desktop (as it would in Windows).
So how I can create the same type of shortcut which will use the .exe's inbuilt icon; as Wine does? I know how to create a shortcut but i'd manually need to search for a .png file to use as that shortcuts icon.
The advice is appreciated.
r2rX
I was curious about something. When Wine installs a program, that creates a shortcut after installation, it is usually placed on the desktop (as it would in Windows).
So how I can create the same type of shortcut which will use the .exe's inbuilt icon; as Wine does? I know how to create a shortcut but i'd manually need to search for a .png file to use as that shortcuts icon.
The advice is appreciated.
r2rX
Re: Question concerning creating .exe shorcuts.
Never tried it myself, but icoutils is supposed to be able to extract icons from exe files. http://www.nongnu.org/icoutils/r2rX wrote: So how I can create the same type of shortcut which will use the .exe's inbuilt icon; as Wine does?
Hey guys,
Alright, I have icoutils installed and I successfully extracted the icon/s:
I then opened the .ico file in Image Viewer and saved as .png.
So that's definitely some progress.
r2rX
Alright, I have icoutils installed and I successfully extracted the icon/s:
Code: Select all
wrestool --raw 'file'.exe --output=/path/to/extract/
So that's definitely some progress.
r2rX
Question concerning creating .exe shorcuts.
Maybe you could use imagemagick to convert the ico to png
automatically. Something like:
convert "file.ico" -alpha on -background none -flatten "file.png"
automatically. Something like:
convert "file.ico" -alpha on -background none -flatten "file.png"
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
Question concerning creating .exe shorcuts.
On Tue, Jun 12, 2012 at 6:16 AM, r2rX <[email protected]> wrote:
I don't know where it stands today. I might 'resurrect' the old
WineHelper project to see if we can get a launcher with icons
attached...
If you want to look at it, the Darwine project included this code and
was on-hold the last I checked.
James
I'm assuming you are using a Mac. There was an effort to do this andHey guys,
I was curious about something. When Wine installs a program, that creates a shortcut after installation, it is usually placed on the desktop
(as it would in Windows).
I don't know where it stands today. I might 'resurrect' the old
WineHelper project to see if we can get a launcher with icons
attached...
If you want to look at it, the Darwine project included this code and
was on-hold the last I checked.
James
Re: Question concerning creating .exe shorcuts.
It's would be nice for Mac users...although i'm on Linux.jjmckenzie wrote:On Tue, Jun 12, 2012 at 6:16 AM, r2rX <[email protected]> wrote:
I'm assuming you are using a Mac. There was an effort to do this and
I don't know where it stands today. I might 'resurrect' the old
WineHelper project to see if we can get a launcher with icons
attached...
If you want to look at it, the Darwine project included this code and
was on-hold the last I checked.
James
I'll take a look at the winemenubuilder, KenSharp.
r2rX