473,661 Members | 2,421 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 7958
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***@sparkysy stems.com> wrote in message
news:k7******** *************** *********@4ax.c om...
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******@nospa m.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***@sparkysy stems.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***@sparkysy stems.com> wrote in message
news:hu******** *************** *********@4ax.c om...
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******@nospa m.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***@sparkysy stems.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
misunderstandin g, 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.mic rosoft.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
misunderstandi ng, 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
2478
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 ability to send attachments via the nullmailer-inject call. I could not find much documentation on google about nullmailer. Has anyone used it before to send attachments? Here is function I have so far that sends a regular email. The variables...
2
1300
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 catch all that will allow us to do what we need. Firstly once people load up IE. I would like a banner to be displayed at the top of ie reminding people of internet use guidelines. I would like this to be visable at all times on all pages.
2
9439
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 "Icon" property, browsed for and selected a new icon. 3. I noticed the icon changed on my form 4. Ran my application and sure thing, the new icon replaced the default .NET icon.
4
3727
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 valid until you called "DestroyIcon()". If you didn't, you had a leak. In C#, I need to load icons from unmanaged programs (.exe, dll) at run time and I want to make sure I'm not leaking resources, but it's not clear to me how to insure that I'm...
5
6200
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
2275
by: Adrian | last post by:
How do I put an icon on a form using code? Thank you.
5
3160
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 database. Therefore the file doesnt really exist on the user's hard drive. All the file extracting techniques require that I have the actual file on the drive in order to get an icon for it. There is a workaround for this: i could create dummy files with...
3
2848
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 property. Somehow in the form's property window's Icon property has changed to new icon, but on the form it still uses the old icon. Then I tried to set Icon property to None, and it doesn't allow me to do it. I don't know why and how can I fix...
1
3488
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... response.Write("<script language='javascript'>"); response.Write("alert('tt');"); response.Write(@"</script>");
0
8851
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8754
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8630
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4177
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4343
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2760
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1984
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1740
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.