CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2005
    Posts
    38

    icon not showing up on installing exe

    Hi,

    I need a little help. I created a custom icon by modifying the App.ico file. Now my machine i could see that in the bin the exe file icon is changed . But when i copied the files from bin directory to a another persons directory, the icon that shows up is the default one. How can i make the new icon showup in his folder ?

    thanks in advance..

  2. #2
    Join Date
    Dec 2003
    Location
    UK
    Posts
    113

    Re: icon not showing up on installing exe

    Here's a wild shot... Have you right clicked on the exe and selected "change icon" yet. Can you see the icon when selecting your exe as the file to locate it in?

  3. #3
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: icon not showing up on installing exe

    Check your project settings for the executable and make sure that the "application icon" under "general" is set to your icon.

    If you're using DevStudio to create your installer then I'm sure that this is going to be your problem.

    If so, check your installer's settings for the project in the same way.

    Darwen.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

  4. #4
    Join Date
    Jan 2005
    Posts
    38

    Re: icon not showing up on installing exe

    Yes, i have checked the preject properties -> General section and it shows the correct icon. My guess is , when someone copies files from projects bin/debug folder, it doesnot include the App.ico file because it .net doesn't save the App.ico file there. So, do i need to copy the App.ico file to the same exe folder??? or is there a better way?

  5. #5
    Join Date
    Dec 2003
    Location
    UK
    Posts
    113

    Re: icon not showing up on installing exe

    As I understand it you can set your icon as an embedded resource so don't need to copy it then.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured