Archive: Variables in Uninstall Section


I'm new to NSIS and I'm having a little trouble with Uninstall section. In my main script, I delete one shortcut in the AllUsers Start Menu, while leaving a duplicate in another area of the Start Menu.

In the Uninstall Section, I wish to re-instate the deleted shortcut by copying the duplicate back into place. I've declared $1 in the main script to point at the All Users Start Menu, but the Uninstall Section doesn't seem to respect it. Is there something special I need to do?

EP


Don't worry, I've found my answer. The Uninstall variables are separate to the Install variables. Uninstall functions must start with ".un".

EP