Click to See Complete Forum and Search --> : [RESOLVED] How to change the setup Icon ?
matrik02
Feb 28th, 2008, 10:37 AM
I have create the installer program using Package and deployment wizard.I would like to change the setup icon to something useful. How to do that?
Hack
Feb 28th, 2008, 10:49 AM
Moved to Application Deployment
FPFalcon
Mar 1st, 2008, 07:17 AM
If you assign an icon to the application, it will show after installation.
To assign an icon, with your project's main (startup) form active, look for "icon" in the Properties window. Click there and you can browse to whatever icon you choose. That icon will be attached to the executable program.
dilettante
Mar 1st, 2008, 12:57 PM
Setup.exe is a canned program used for each package. It just gets copied over to the package directory. You'd have to use some utility that can edit the icon resource of an EXE to substitute another one.
matrik02
Mar 5th, 2008, 03:12 AM
What utility to edit this exe icon?
RobDog888
Mar 7th, 2008, 02:55 AM
You do get the source code for the P&D Wiz
C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1
Just make a backup copy first then modify it to give you the option to select an icon.
FPFalcon
Mar 7th, 2008, 07:18 AM
What utility to edit this exe icon?
I've been using a program named "Iconedit.exe" for several years. You may still be able to find it with Google.
FPF
dilettante
Mar 7th, 2008, 08:51 AM
I think he wants to alter the icon already in Setup.exe, which will require a program that can swap or insert icon resources. These won't work on all EXEs due to compression or protection techniques, but I suspect Setup.exe is plain-jane enough.
If he just (or also) wants to change Setup1.exe RobDog888 has already supplied a good answer.
I don't know about Iconedit.exe but most icon editors only extract icons and won't replace them. Google "replace exe icon" and you'll find several shareware tools though.
It wouldn't take much to create a VB6 program to do this. Probably easy enough in VB.Net too. Sound like good utilities for somebody to post.
RobDog888
Mar 7th, 2008, 11:28 AM
If a simple manualy icon change is desired then use Resource Hacker (http://www.angusj.com/resourcehacker/).
matrik02
Mar 13th, 2008, 02:31 AM
You do get the source code for the P&D Wiz
C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1
Just make a backup copy first then modify it to give you the option to select an icon.
How this icon created?What the resouce of this icon created? It is from this folder the icon it created C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1 ?
RobDog888
Mar 13th, 2008, 02:49 AM
The P&D Wiz project code is the same as a regular vb 6 project.
change the frmSetup1 forms icon to the one you desire and recompile the exe.
matrik02
Mar 13th, 2008, 04:14 AM
recompile the exe.
Thank you so much I got it. Which one I should recompile? my project or SETUP1.VBP project?
If I already create the Setup using PWD but the icon is not what i want,What should I do?Do I need to recreate the setup again to change the icon to the new one?
RobDog888
Mar 13th, 2008, 04:48 AM
Recompile the SETUP1.VBP and then note the build version. Then as long as that is the only thing you have changed it should be no problems. Next recompile your package and the outputted setup1.exe should now have your choosen icon.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.