Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Icons in Installer (driving me nuts)

Icons in Installer (driving me nuts)

Scheduled Pinned Locked Moved C#
questionannouncement
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Adrian Hall
    wrote on last edited by
    #1

    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

    J 1 Reply Last reply
    0
    • A Adrian Hall

      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

      J Offline
      J Offline
      James T Johnson
      wrote on last edited by
      #2

      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

      A 1 Reply Last reply
      0
      • J James T Johnson

        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

        A Offline
        A Offline
        Adrian Hall
        wrote on last edited by
        #3

        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

        K 1 Reply Last reply
        0
        • A Adrian Hall

          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

          K Offline
          K Offline
          Kannan Kalyanaraman
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups