Uninstalling nested shortcuts.

Got a problem you cannot solve? Try here.
Post Reply
rentzk
Posts: 37
Joined: Sun Aug 27, 2006 10:01 pm

Uninstalling nested shortcuts.

Post by rentzk »

Our program installs shortcuts to a number of support files, in a sub folder called Support Tools. We do this by placing "Support Tools\" between $SHORTCUTFOLDER$ and the shortcut name.

The problem is that these shortcuts do not seem to get uninstalled. The program they point to are removed along with all of the other shortcuts, but these remain. Is this a defect, or are we doing something bad?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Shouldn't be happening - with InstallAware's own setup, we create subfolders in the shortcut folder, and these are removed normally.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
rentzk
Posts: 37
Joined: Sun Aug 27, 2006 10:01 pm

Post by rentzk »

Strange, I made an empty install with just nested shortcuts, and everything worked just fine. Is there any sort of orderint that I need to work out? The script is over 1100 lines, but I just double checked and everything seems to be in the correct location above the ApplyInstall
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

The ordering for purple commands (with default syntax highlighting) do not matter (as long as they're above Apply Install, as you observed) because they are all "cached" and then directly applied all at once when Apply Install is called by the Windows Installer engine.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply