hi,

1.I need to create a shortcut in wise,for which the target file will not actually exist.
I am able to create the shortcut.
2.But I need to specify the icon file for this shortcut to the same file which does not exist.Is it possible to specify icon file which does not exist.is there any way to specify it.....

help me out............
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
0
This post is in the wrong forum: it should be in Package Development. Expect one of the moderators to move it.

Anyway, I presume your target file does exist *somewhere* so, if it's an EXE, extract the icon from it using any of the icon extractor tools available on the web. If it's a URL, use IEXplore.EXE as the target. For data files (e.g. PDF) use the executable normally used to load that file (e.g. in the case of PDFs, ACRORD32.EXE).

Click the 'Icon' button in WPS's 'Installation Expert/Shortcuts' view to browse to your ICO file. All of this is documented in WPS's help, BTW.
Answered 02/18/2008 by: VBScab
Red Belt

Please log in to comment
0
I move this to the correct forum.

Thanks for the heads-up Ian!
Answered 02/18/2008 by: AngelD
Red Belt

Please log in to comment
0
sorry to post in wron forum.I was in hurry....

I know to extract icons form exe.
But the request is in such a way that no exe provided....exe resides on target machine.It is not available wid me to extract the icon.

In this case how can i proceed..
Answered 02/18/2008 by: Eswari
Orange Belt

Please log in to comment
0
What I usually do is to create a "shortcut" binary (Icon table) that contains my icons and then associate the icon binary and the correct icon for the shortcut(s) in the Shortcut table.
Answered 02/18/2008 by: AngelD
Red Belt

Please log in to comment
0
As of now i don have anything related to the icon.binary info/icon file/exe with me.

I wanna know is there any way to specify the icon as the exe file which is not existing.

1.I could create the shortcut for the pre-existing file using commandline method.I need to specify the icon file as <path>.exe.Is it possible?
Answered 02/18/2008 by: Eswari
Orange Belt

Please log in to comment
0
ORIGINAL: Eswari

As of now i don have anything related to the icon.binary info/icon file/exe with me.

I wanna know is there any way to specify the icon as the exe file which is not existing.

1.I could create the shortcut for the pre-existing file using commandline method.I need to specify the icon file as <path>.exe.Is it possible?
If, as you say, you know how to extract icons from EXEs, you must surely know that, if you have no access to the EXE which contains the icon you want, there's no way to get that icon! In that case, you have no option - you will need to create an icon from scratch.

Having said that, I think I've deciphered what you're ACTUALLY asking. I *believe* you are trying to assign an icon to a shortcut using WPS's Installation Expert/Shortcut view? Without access to the EXE, this is impossible. What you need to do is edit the relevant tables directly. You will still need an ICO file, though, or know the index number of the icon in the target EXE.
Answered 02/18/2008 by: VBScab
Red Belt

Please log in to comment
0
Looks like this guy is working on an application with Citrix or IBM Reflection. In that case, no need to specify an icon on the shorcut. Just leave it as ease and your shortcut icon will be automatically populated once you have installed the pre-requisite app or main application that will associate your package.

Bunch of icons can be found in Shell32.dll located in SYSTEM32 folder. ayt!
Answered 02/18/2008 by: dj_xest
Fourth Degree Black Belt

Please log in to comment
0
Looks like this guy is working on an application with Citrix or IBM Reflection. In that case, no need to specify an icon on the shorcut. Just leave it as ease and your shortcut icon will be automatically populated once you have installed the pre-requisite app or main application that will associate your package.
Hi Alexis,
I did not get the point you mentioned that icon will be automatically assigned [8|]. Could you please explain this?
Hi Guys
This one has turned out to be a rather tricky post [8|]. I suppose if one creates a shortcut for a file, then he/she ought to know what exactly the file would be. If I know what the file is then I am sure I can have that file and in turn extract an icon for it. So, either there is no prblem or I have misinterpreted something badly.[:(]
One more thing, if the file is not accesible then why not create an icon(16x16 or 32x32 which would be something related to the appplication) instead of extracting it.
Answered 02/18/2008 by: India_Repackaging
Blue Belt

Please log in to comment
0
Hello there..
He was worried that since he can't create an icon for that file (he doesn't have his executable in the package), he was looking for ways how to put an icon on his shortcut without the executable. It was suggested to just extract the icon from the executable or find from other sources like shell32.dll.
What I was trying to say was, he MIGHT be creating a shortcut for a configuration file of Citrix or IBM Reflection. i.e. India.cfg or India.ICA If that is the case, no need to create an icon on your shortcut because that file will be automatically associated on the executable. (Remember File association?) Of course, you need to install first the main application and install your new package to see the result.
Hope I made this clear.. [:D]
Answered 02/20/2008 by: dj_xest
Fourth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity