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?
Printable View
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?
Moved to Application Deployment
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.
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.
What utility to edit this exe icon?
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.
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
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.
If a simple manualy icon change is desired then use Resource Hacker.
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 ?Quote:
Originally Posted by RobDog888
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.
Thank you so much I got it. Which one I should recompile? my project or SETUP1.VBP project?Quote:
Originally Posted by RobDog888
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?
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.