Can you preserve desktop icon location after upgrade? - 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!

RodSawers
Posts: 1
Joined: Thu Dec 09, 2010 6:31 pm

Can you preserve desktop icon location after upgrade?

My installation program creates a desktop shortcut icon for the main application executable. The icon appears in a default location on the desktop, but the user can move it manually.

When I update my application, I use the default option to uninstall and then reinstall. After this the icon reverts to the default location.

Is there any way to preserve the icon location after an update?

Thank you.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Can you preserve desktop icon location after upgrade?

Hi,

I'm afraid you cannot preserve the location of the shortcut on the user's Desktop.

What you could try is to not remove the shortcut, i.e. skip its removal. This would assume that its components is not be removed during the upgrade.
Please note that usually the shortcut is in the same component with its target, this mean that neither the file to which is pointing will be updated.

If you want the shortcut to be in a separate component for future use you can make it as a external shortcut, not shortcut to installed file.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”