473,506 Members | 16,201 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

inject icon into exe

anyone know of some open source code floating around that does this?
I can do it with reshacker manually with the GUI but the cmd line
version of reshacker doesn't seem to work very well (at least not for
icon injection). I'm trying to do this because when installshield
creates the setup.exe for my component I don't see any option to set
the exe icon. So I'm trying to add this to the automated build
process after the fact.
Nov 16 '05 #1
6 7952
Have you tried going to Project > (project_name) Properties... > General and
pointing the Application Icon to your icon?

Thanks,
Michael C., MCDBA

"Allen Anderson" <al***@sparkysystems.com> wrote in message
news:k7********************************@4ax.com...
anyone know of some open source code floating around that does this?
I can do it with reshacker manually with the GUI but the cmd line
version of reshacker doesn't seem to work very well (at least not for
icon injection). I'm trying to do this because when installshield
creates the setup.exe for my component I don't see any option to set
the exe icon. So I'm trying to add this to the automated build
process after the fact.

Nov 16 '05 #2
while I appreciate your reply, you really should read the question
instead of skimming it and writing an answer. My question is
basically that I'm looking for c# source to do this. The exe is
created by INSTALLSHIELD and not me. Of course I know how to add an
icon to a regular c# app.

On Sat, 09 Oct 2004 05:21:27 GMT, "Michael C" <mi******@nospam.org>
wrote:
Have you tried going to Project > (project_name) Properties... > General and
pointing the Application Icon to your icon?

Thanks,
Michael C., MCDBA

"Allen Anderson" <al***@sparkysystems.com> wrote in message
news:k7********************************@4ax.com.. .
anyone know of some open source code floating around that does this?
I can do it with reshacker manually with the GUI but the cmd line
version of reshacker doesn't seem to work very well (at least not for
icon injection). I'm trying to do this because when installshield
creates the setup.exe for my component I don't see any option to set
the exe icon. So I'm trying to add this to the automated build
process after the fact.


Nov 16 '05 #3
After re-reading your question, I see what you mean... you're trying to add
an icon to the setup.exe file as opposed to the application .exe file.
Sorry about that, I mis-read your question completely. To specifically
answer your question, no I haven't seen "C# source" that can do this. I
won't even insult your intelligence by asking if you've posted your
InstallShield question to the InstallShield newsgroups.

Good luck,
Michael C., MCDBA

"Allen Anderson" <al***@sparkysystems.com> wrote in message
news:hu********************************@4ax.com...
while I appreciate your reply, you really should read the question
instead of skimming it and writing an answer. My question is
basically that I'm looking for c# source to do this. The exe is
created by INSTALLSHIELD and not me. Of course I know how to add an
icon to a regular c# app.

On Sat, 09 Oct 2004 05:21:27 GMT, "Michael C" <mi******@nospam.org>
wrote:
Have you tried going to Project > (project_name) Properties... > General andpointing the Application Icon to your icon?

Thanks,
Michael C., MCDBA

"Allen Anderson" <al***@sparkysystems.com> wrote in message
news:k7********************************@4ax.com.. .
anyone know of some open source code floating around that does this?
I can do it with reshacker manually with the GUI but the cmd line
version of reshacker doesn't seem to work very well (at least not for
icon injection). I'm trying to do this because when installshield
creates the setup.exe for my component I don't see any option to set
the exe icon. So I'm trying to add this to the automated build
process after the fact.

Nov 16 '05 #4
Hi Allen,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to change the icon of an
setup.exe file which was created by InstallShield. If there is any
misunderstanding, please feel free to let me know.

Currently I could not find any C# open source tools to change the icon for
an exe. I'm not quite familiar with InstallShield, but could we set the
icon in the InstallShield project? Besides posting here, I think you can
also ask for help in the InstallShield support website.

http://support.installshield.com/

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #5
thanks to you both for answering. I ended up just having to write it
myself.

On Mon, 11 Oct 2004 02:36:40 GMT, v-****@online.microsoft.com (Kevin
Yu [MSFT]) wrote:
Hi Allen,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to change the icon of an
setup.exe file which was created by InstallShield. If there is any
misunderstanding, please feel free to let me know.

Currently I could not find any C# open source tools to change the icon for
an exe. I'm not quite familiar with InstallShield, but could we set the
icon in the InstallShield project? Besides posting here, I think you can
also ask for help in the InstallShield support website.

http://support.installshield.com/

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."


Nov 16 '05 #6
Hi Allen,

Thanks for sharing your experience with all the people here. If you have
any questions, please feel free to post them in the community.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2470
by: tvmaly | last post by:
Due to the restrictions I have at my host, I cannot use smtplib in my email cgi script. They gave me a script they use that calls nullmailer-inject. I am trying to figure out how to add the...
2
1294
by: andysideas | last post by:
I am an administrator of a large organisation. We require the ability to be able to inject code into all pages that people view. There are a number of requirements. I am hoping there might be a...
2
9426
by: Vic | last post by:
I am trying to change an icon associated with my application's main form and the application itself. 1. I selected my main form in IDE "Solution" tab and went to "Properties" window. 2. I found...
4
3713
by: Terry | last post by:
There are a number of things about using unmanaged resources in Windows Forms programming that is unclear to me. In C++, if you loaded an icon resource using "ExtractIcon()", the resource was...
5
6195
by: Nim | last post by:
HI, I would like to know if it's possible inject a dll (create with c++) into an application with c# like c++, and which instruction use c# for do this
8
2266
by: Adrian | last post by:
How do I put an icon on a form using code? Thank you.
5
3154
by: IcingDeath via DotNetMonster.com | last post by:
I am building this SQL Server database app in which i can store files. In order to display files I want to have the app show the associated icon for the extension of the file that is in the...
3
2838
by: Nina | last post by:
Hi there, I assigned icon for a window's form using form's Icon property at design time. Now I want to change the icon. I tried to replace the old icon with the new icon using form's Icon...
1
3479
by: =?Utf-8?B?SkhpbGJDUk0=?= | last post by:
I am trying to write a httpmodule to inject javascript includes on some of the aspx pages we have. For instance, I want to inject into the resulting IIS response something like... ...
0
7105
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7308
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7023
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5617
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5037
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3178
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.