Icon Problem - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Craig Hudson
Posts: 13
Joined: Mon May 16, 2011 3:01 am

Icon Problem

Installing a web shortcut on the desktop. I have the Shortcut's icon associated with an icon installed in the Program Files directory. On Win 7 it works fine. On XP however the shortcut installs fine and the icon is installed in the correct directory, However, I am getting the "unknown" icon on the XP installs. I can manually change it, but I want the icon to associated and picked up on install. Any ideas why this is not working?
BTW a reboot of the XP machine post install still leaves the icon not properly associated.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Icon Problem

Hi,

Have you tested the package on multiple XP machines? If the behavior is reproduced can you please give us more details about the machine, SP level, language, 32 or 64 bit.

The details are required so we can try to reproduce this as fast as possible and find a solution for you.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Craig Hudson
Posts: 13
Joined: Mon May 16, 2011 3:01 am

Re: Icon Problem

Believe it or not I only have the one XP machine to test on. It is 32 bit , SP3, english, 32 bit installer.
Is there something I am overlooking? Installer is muliti lang, (french, English), one multilanguage build.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Icon Problem

Hi Craig,

You can also use virtual machines, these are recommended for testing as they can be easily restored to a clean state. If you don't have access to
a virtual machine either you can send us a link from where we can download the setup built by you and the aip file to support at advancedinstaller dot com so we can take a look.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Craig Hudson
Posts: 13
Joined: Mon May 16, 2011 3:01 am

Re: Icon Problem

Email Sent.
Thanks..

Craig
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Icon Problem

Hi Craig,

I took a look at your project file sent by e-mail, I see that you have no URL shortcut created with Advanced Installer in it, but you have two URL shortcuts added as simple files.

To create and URL shortcut right click in the right side view and select from the context menu "New Shortcut -> URL...".

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Craig Hudson
Posts: 13
Joined: Mon May 16, 2011 3:01 am

Re: Icon Problem

Well Here is what I have done. I have added the short cuts via AI, associating them with the original files, This places both files on the desktop, Still with no icon.no good. I move the original shortcut files into the program files folder, now no matter what language I select, it installs both language files, and still no icon. Now, interestingly if I right click the shortcut on the desktop and select properties, it shows the right icon.
Still messing with it but so far this is not working so well.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Icon Problem

Hello Craig,

Actually, Advanced Installer doesn't currently support importing .URL shortcut files, but it does support creating them like Bogdan mentioned above. Thank you for bringing this to our attention, we will include this feature in a future release and improve the GUI.

Currently by selecting Import -> Shortcut Files... from the Files and Folders context menu, you can only import .LNK shortcut files.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Craig Hudson
Posts: 13
Joined: Mon May 16, 2011 3:01 am

Re: Icon Problem

I think I got things working, more testing required. What I had to do is install the non-AI url files in the program files directory and then make links to those files with the correct icon, not using AI generated url shortcuts. For some reason, even when an icon is specified in the AI url files, it's not sticking.So far so good...
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Icon Problem

Hello,

Can you please send us a sample .AIP (project) with dummy files to support at advancedinstaller dot com so we can replicate and investigate the behavior?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Craig Hudson
Posts: 13
Joined: Mon May 16, 2011 3:01 am

Re: Icon Problem

I've already sent the file to that address, not the fixed one, but the previous one. It seems that there is a bug in that if you install something with a custom icon ONLY on the desktop, the icon does not display correctly. Moving the same file into the program files directory, and then creating a shortcut to that file works fine.
IE: Install custom icon in programfiles dir.
create web shortcut that is installing on desktop
Assign custom icon, in step one ,to web shortcut.

This leaves icon of shortcut on desktop unassigned, even though it is defined in AI.

Moving the web shortcuts to the programfiles dir with the custom icon and then creating seperate shortcuts , instaled on desktop, linked to the webshortcuts in programfiles dir. , works fine.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Icon Problem

Hi,

Can you please send us your current .AIP (project) file? It would really help us determine what happens because of the way Windows Installer links the shortcut icon to its target. When the shortcut is added as a regular file Windows Installer has nothing to do with it.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Craig Hudson
Posts: 13
Joined: Mon May 16, 2011 3:01 am

Re: Icon Problem

Sent...
keithdr
Posts: 1
Joined: Thu Jan 24, 2013 12:06 pm

Re: Icon Problem

I am having the same Icon problem with the Architect version of Advanced Installer. It works at first but loses the Icon later; on all installed machines (Windows 7). The message it come back with when asked to change the lost Icon is "Windows can't find the file %SystemRoot%\Installer\{BCA0EACF-52E8-43AD-89CA-81FD66841CCE}\Springs.exe." Yet three Icons were installed in the program folder using Advanced Installer, they are also included in the resources of the programs compiler, and the selected icon (one of the 3 installed) is selected in the Advanced installer set up.

Why is it looking in the SystemRoot folder for the Icon and why can't it find the icons that are in the program folder?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Icon Problem

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer and I apologize for this late reply.

I'm afraid I don't fully understand your scenario. Can you please give us more details about this (maybe exemplify)? Also, can you give us a detailed step by step test case scenario so we can try to reproduce and investigate this?

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

Return to “Common Problems”