Hello,
I’m running into the following issue…
I install my product and choose not to create desktop or start menu shortcuts. After installation, files that are associated with my program (file types specific to my program) are not showing their icon (you just see the generic plain white icon). If I run ie4uinit –ClearIconCache (Windows 7) after installation, the icons show up. However, if I choose to install either the desktop or start menu shortcuts, the file icons show up just fine.
So, it appears the icon cache might not be updating when I don’t install the desktop and start menu shortcuts.
My best guess as to what is happening – when I don’t create a desktop or start menu shortcut, windows installer (or Advanced Installer) determines that there is no reason to update the icon cache, since no shortcuts were created.
It appears I might be able to get around this by running one of the following commands in a custom action:
• [ie4uinit –ClearIconCache] or [ie4uinit –Show]
• SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, NULL, NULL)
But, I just wanted to check if you guys had any additional information. Is this expected? Is there a good work around for this? Note that I make the file type associations for my program by registering files (regsvr32). I do not use the Advanced Installer “File Associations” functionality.
Thanks.
FOLLOW US
Get the latest news in Application Packaging