BobCrothers
Posts: 66
Joined: Wed Dec 05, 2007 10:58 pm

Loss of desktop icon, start menus

Hi,

Occasionally the installer stops creating a desktop icon and adding the application to the start menu. I have found a way to reproduce the problem.

Steps to reproduce
Create an AIP, which points to a folder to be installed.
Add Create shortcut on the desktop
Add Create shortcut in the application's group in the programs menu
Build and install, verify that everything works.

Now close Advance installer
Rename the folder that is to be installed.
This happens to me because we install difference versions. Different folders contain different version. I mistyped the folder name.

Now open Advance Installer
Try and build the install package.
There is an error, the directory that it is looking for does not exist.
At this point the short cuts are deleted. There is no notification that the short cuts are deleted.
Fix the directory name.
Build the install package.
The shortcuts are missing.

Thanks
Bob
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Loss of desktop icon, start menus

Hi Bob,

Indeed, this is the Advanced Installer normal behavior, when a file is removed from the project its related shortcuts, services, etc. are automatically removed.

We will think about this scenario and try to make an improvement in this manner like notifying the user about this or not removing them at all in some situations. Thank you for bringing it to our attention.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Loss of desktop icon, start menus

Hello,

Starting with Advanced Installer 14.2 released on July 26, 2017 we have added an improvement for our "Synchronized Folder" feature to preserve components and resources pointing to a missing file from disk. Just make sure the "Keep in project files deleted from disk" option is checked into your project.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Loss of desktop icon, start menus

Hello,

This was fixed in version 14.2 of Advanced Installer released on July 26th, 2017.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”