santhosh23
Posts: 3
Joined: Wed Jun 13, 2012 7:30 pm

Shortcut Icon Goes Missing on Installing other app

I have a weird problem with enterprise edition( paid version ).

After installing the application, when I install some other application, the shortcut icon on the start menu goes missing. Here are the steps to reproduce:

1) Install the application built using the Advanced Installer.

2) Install some other application, say for example Skype.

3) The shortcut icon goes missing. It complains that the icon file in %APPDATA%\Microsoft\Installer{9B56B031-A6C0-4BB7-8F61-938548C1B759}\ is deleted.

I am using Edit Shortcut Properties -> Icon Field to set my icon file. But the installer is placing it in APPDATA instead of ProgramFiles <x86>\Pinger\

My question is how do I make the installer to place the icon files in my Program Files folder instead of APPDATA?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Shortcut Icon Goes Missing on Installing other app

Hello,

I've tested your scenario, but I cannot reproduce the behavior. Can you reproduce the behavior on multiple clean machines? If so, can you attach a sample which reproduces the behavior or can you give us a detailed step by step test case scenario so we can try to reproduce and investigate the behavior? Also, can you tell us what is you target machine software configuration (i.e. Windows version, service pack, Windows Installer version, OS language)?
My question is how do I make the installer to place the icon files in my Program Files folder instead of APPDATA?
I'm afraid you cannot achieve what you want because this is handled automatically by Windows Installer.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jtbrower
Posts: 2
Joined: Fri Oct 25, 2013 6:40 pm

Re: Shortcut Icon Goes Missing on Installing other app

Hello,

I too can confirm that in fact I am experiencing the same issue that was reported by santhosh23. I am using Advanced Installer Enterprise Edition version 10.6 build 53162. Though it appears that this bug was reported 10 months ago, it is still apparent and my maintenance plan just expired on October 2nd 2013.

My specific details follow; I have a .Net 4.5 C# program with a single .exe installation file that I created using Advanced Installer. One day, I noticed that the desktop icon was blank so I re-installed the application and didn't think much more of it. Now I am seeing a perfectly repeatable pattern. Any time I install software, the icon disappears. Today I just upgraded the tool set for SQL Server tools and that took out the icon. When trying to change the icon, I get the error message that "Windows can't find the file %SystemRoot%\Installer\{D415D4A3-0800-4150-98BC-2F2169401781}icon.exe" . After I perform an installation repair, the icon is back showing correctly to the shortcut on the desktop where it is supposed to be.

Oddly enough, I have other programs that are created with the same version of Advanced Installer and they also have desktop shortcuts. However, The icons for those shortcuts are not affected. Yet at the same time I have one other project that is affected. Hmm?

I happen to be running Windows 8 for both my development machine and the deployment machine. I use Trend Micro Anti-Virus, but I don't feel that it is the culprit. I had never noticed this issue until I was updated to 10.6, though I can tell from the other person's post that it must have been an issue earlier.

If you would like my AIP file, please contact me through my email address and I can send it to you. I have helped your company solve another bug earlier this month.

Kind Regards,

Jason
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Shortcut Icon Goes Missing on Installing other app

Hello Jason and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I'm not sure why this happens. Can you please send us the .AIP (project file) and a download link of the setup package to support at advancedinstaller dot com so we can investigate them? Also, can you give us a step by step test case scenario which replicates this behavior?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Kondal Kolipaka
Posts: 5
Joined: Thu Mar 05, 2015 7:49 am

Re: Shortcut Icon Goes Missing on Installing other app

Still this problem is there with AI 12.0 with windows 8.1, after restarting system icon is disappeared for shortcut and even in control panel I don't find icon for my installer.

Any solution for this ?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Shortcut Icon Goes Missing on Installing other app

Hello,

Unfortunately this seems to be a Windows Installer sporadic issue which in uncertain scenarios losses the cached icons. We never found a resolution to this because we weren't able to find out an always reproducible pattern. It seems sometimes the shortcut cached icon is lost and the only way to recover it is by triggering a repair.

Also, please take a look on the "add remove icon goes missing" thread which could be useful.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
JPZ
Posts: 1
Joined: Tue Sep 27, 2016 8:27 am

Re: Shortcut Icon Goes Missing on Installing other app

We have customer compliants about the same issue. Is there any solution to the problem?

Why is it not possible to create the shortcat that way, that it uses the icon of the exe file from the installed location? That would fix at least 80% of the issues when a shortcut to an exe file with icon is created. I cant be that hard?

We are currently investigating other solutions for our installer because of that problem (but not only that one).

Best regards
J.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Shortcut Icon Goes Missing on Installing other app

Hello and welcome to our forums,

Can you please explicitly set an icon in the "Icon" field of your shortcut and let us know if this helped?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”