Page 1 of 1

Uninstalling nested shortcuts.

Posted: Sun Aug 27, 2006 10:15 pm
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?

Posted: Mon Aug 28, 2006 5:37 am
by MichaelNesmith
Shouldn't be happening - with InstallAware's own setup, we create subfolders in the shortcut folder, and these are removed normally.

Posted: Mon Aug 28, 2006 10:10 am
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

Posted: Mon Aug 28, 2006 10:12 am
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.