Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Icon On Desktop Issue

  1. #1

    Default Icon On Desktop Issue

    Hi All

    I am clearly missing something here.

    I have an install set that uses icon index 0 in the exe as the icon for
    the desktop. There is only one icon used in the exe.

    I have changed the icon and checked that it is changed in the exe.
    Recompiled, built the install set and installed on the computer.

    The icon on the desktop is still the old icon.

    Checked the properties of the shortcut and the icon in the exe which has
    changed. Confirmed it is the new icon. Pressed change icon, selected
    index 0 and pressed apply. The icon remains the same on the desktop.
    Pressed refresh desktop and still the same.

    Deleted the shortcut and reinstalled the app with SetupBuilder and the
    old icon reappears.

    MS is playing silly buggers with me. What's up? What it the trick to
    get this desktop icon to change?

    Cheers
    Andre

  2. #2

    Default Re: Icon On Desktop Issue

    > What's up? What it the trick to get this desktop icon to change?

    Hi Andre,

    If you look at the file in the folder in Windows Explorer and confirm it
    has the right icon, then you probably need to call the SetupBuilder
    "Refresh Desktop" function at the end of your install (after the loop
    wizard ends).

    Does that help?

    Charles



    --
    -------------------------------------------------------------------------------------------------------
    Charles Edmonds

    cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)
    www.clarionproseries.com - ImageEx, ProScan, ProImage, ProPath and other
    Clarion developer tools!
    www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
    xDataBackup Manager and more!
    www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
    www.setupcast.com - "A revolutionary new publishing system for software
    developers - enhanced for SetupBuilder users!"
    www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
    and Forms - Now with PNG support!
    www.lansrad.com - "Intelligent Solutions for Universal Problems"
    www.fotokiss.com - "World's Best Auction Photo Editor"
    -------------------------------------------------------------------------------------------------------

  3. #3

    Default Re: Icon On Desktop Issue

    Charles,

    > Does that help?

    As it was explained to me Windows hangs on to shortcut information
    even if the shortcut has been deleted from the desktop. Part of that
    information is the icon offset within the icon source, such as the
    EXE. If the offset and source remain the same Windows will continue to
    use the icon it has written into its cache.

    In Windows 7 and 10 the cache is a hidden file...

    C:\Users\<user name>\AppData\Local\IconCache.db

    You can delete this file and Windows will rebuild it during the next
    user login. Or, what usually works, is selecting a different icon
    offset in the source. In other words recompile the source putting the
    new icon in slot 0 and 1 and tell the shortcut to use 1 instead of 0.

    Did that make any sense?!<g>

    --
    Lee White

    RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
    Report Faxing.....: http://www.cwaddons.com/products/afe/
    ---Enroll Today---: http://CWaddons.com

    Creative Reporting: http://www.CreativeReporting.com

    Product Release & Update Notices
    http://twitter.com/DeveloperPLUS

    Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
    And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"

  4. #4

    Default Re: Icon On Desktop Issue

    That helps - looking now. Thanks.

    Andre Labuschagne

  5. #5

    Default Re: Icon On Desktop Issue

    Did not work for one of the installs. No idea why.

    And two of the installs are not listed in the Add Remove Programs in the
    Control Panel. Really weird.

    Andre Labuschagne

  6. #6

    Default Re: Icon On Desktop Issue

    Andre,

    > And two of the installs are not listed in the Add Remove Programs in the
    > Control Panel. Really weird.

    Make sure you haven't duplicated the Product GUID in the installs.

    --
    Lee White

    RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
    Report Faxing.....: http://www.cwaddons.com/products/afe/
    ---Enroll Today---: http://CWaddons.com

    Creative Reporting: http://www.CreativeReporting.com

    Product Release & Update Notices
    http://twitter.com/DeveloperPLUS

    Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
    And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"

  7. #7

    Default Re: Icon On Desktop Issue

    That makes sense - but it sounds like a real mess to me. This is for
    tens of thousands of users out there. They hardly know which planet
    they are on.

    What I have now is the following. I have made sure that there is only
    one icon in each of three installs. They initially use the same icon
    [don't ask why]. The new icons are correct in the exe and all the
    settings in SetupBuilder seem correct as well. Everything is pointing
    to the new icons. When I install the three apps the first two have the
    icon changed on desktop but the third does not. And here is the odd the
    thing. The third app appears in the add remove section of the control
    panel and the first and second does not ROFL!

    The circles are getting smaller and smaller and smaller. No idea where
    to look to fix. Trying to avoid the offset 1 for the moment as that has
    bitten me in the pas as well.

    Andre Labuschagne

  8. #8

    Default Re: Icon On Desktop Issue

    > Andre,
    >
    >> And two of the installs are not listed in the Add Remove Programs in the
    >> Control Panel. Really weird.
    >
    > Make sure you haven't duplicated the Product GUID in the installs.
    >

    That was it for the add and remove - they did have the same product GUID
    as like an prize idiot I have copied the install and not changed that.

    Trying the icon 1 position trick now.

    Andre Labuschagne

  9. #9

    Default Re: Icon On Desktop Issue

    Now I have to work out how to get a second icon into the exe :-(

    Andre Labuschagne

  10. #10

    Default Re: Icon On Desktop Issue

    Whatever you do, have Lee test it out for you<g>.

    Jeff Slarve
    www.jssoftware.com
    Twitter free since Jan 11, 2016
    I'll search help files & Google for you.

    Grammar troll's, are the worse.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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