Hi IbrahimKhan,
The default icon of MSI packages is associated by Windows Installer which is a system component. It's not package specific.
But we can change the icon associated with all MSI packages on a machine.
If you're using Windows OS prior to Vista, open Windows Explorer and select menu "Tools|Folder Options". In the Folders Options dialog, switch to the File Types tab. Select the .msi file type in the listbox and click the Advanced button below. In the Edit File Type window, click the Browse button to browse to the icon you want.
If you're using Windows Vista, you have to modify the registry editor manually to change file type icon.
1. Click on Start, and in the Start Search field type "regedit.exe" and then press Enter.
2. If prompted by User Account Control, provide consent or provide the appropriate credentials.
3. In the Registry Editor, navigate to HKEY_CLASSES_ROOT\Msi.Package\DefaultIcon key. Change the data of the (Default) Value to the path of the icon you want.
4. Once you have finished, close the Windows Registry Editor and log off of Windows and back in for the changes to take effect.
As for your second question, Visual Studio doesn't provide the functionality to customize the installation dialogs. You need to use the tool Orca to create the custom dialog based on a standard dialog. Visit the following link for more information on how to do it:
http://www.codeproject.com/KB/install/vsSetupCustomDialogs.aspx
Hope this helps.
Sincerely,
Linda Liu
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
end us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.