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.
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.
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 ?
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?
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.