Icons in Installer (driving me nuts)
-
I am packaging my application for distribution. One of the items I have on the To-do list is to put a shortcut in the Start menu with a particular icon. I started an Installer project, right clicked on the project and chose View->File System. I selected the "User's Programs Menu" and created a folder. I then created a shortcut from my Application Folder/Primary output from ... and placed it in this folder. Now comes the bit which doesn't work. I right clicked on the shortcut I had created, and selected Properties Window. This has an "Icon" item. I want to change the Icon so that it looks like my program. So I browse and select the App icon inside my Primary output file. Build/install and I get the default icon look - not my custom icon. Hmmm - I thought - why don't I add a .ico file with the appropriate icon in it, and point the icon at that. So I uninstall the previous version, alter the icon, build/install and I get the same default icon look. Can someone please explain how I can make my installed shortcut have my desired icon? -Adrian
-
I am packaging my application for distribution. One of the items I have on the To-do list is to put a shortcut in the Start menu with a particular icon. I started an Installer project, right clicked on the project and chose View->File System. I selected the "User's Programs Menu" and created a folder. I then created a shortcut from my Application Folder/Primary output from ... and placed it in this folder. Now comes the bit which doesn't work. I right clicked on the shortcut I had created, and selected Properties Window. This has an "Icon" item. I want to change the Icon so that it looks like my program. So I browse and select the App icon inside my Primary output file. Build/install and I get the default icon look - not my custom icon. Hmmm - I thought - why don't I add a .ico file with the appropriate icon in it, and point the icon at that. So I uninstall the previous version, alter the icon, build/install and I get the same default icon look. Can someone please explain how I can make my installed shortcut have my desired icon? -Adrian
I did almost the same as you, but instead of pointing at the .ico file in the project or a custom one I pointed at the .exe I was creating the shortcut to then chose the icon I wanted from the list. That did the trick for me anyway. James "The elastic retreat rings the close of play as the last wave uncovers the newfangled way. But your new shoes are worn at the heels and your suntan does rapidly peel and your wise men don't know how it feels to be thick as a brick." "Thick as a Brick" from Thick as a Brick, Jethro Tull 1972
-
I did almost the same as you, but instead of pointing at the .ico file in the project or a custom one I pointed at the .exe I was creating the shortcut to then chose the icon I wanted from the list. That did the trick for me anyway. James "The elastic retreat rings the close of play as the last wave uncovers the newfangled way. But your new shoes are worn at the heels and your suntan does rapidly peel and your wise men don't know how it feels to be thick as a brick." "Thick as a Brick" from Thick as a Brick, Jethro Tull 1972
Yep - thats what I did the first time (the application Icon App.ico which is embedded into the executable) - that didn't work for me. Alternative - are there any alternate setup/installer systems out there that integrate with VS.NET IDE? -Adrian
-
Yep - thats what I did the first time (the application Icon App.ico which is embedded into the executable) - that didn't work for me. Alternative - are there any alternate setup/installer systems out there that integrate with VS.NET IDE? -Adrian
InstallShield is there but I its a differnt beast altogether, but has all the facilities you need to prepare a good installer but has a good learning curve. Kannan