Archive: How does an Uninstall section really being identified by NSIS?


How does an Uninstall section really being identified by NSIS?
This may sound as a dumb question but I am somewhat puzzled by what seems a discrepancy between the documentation and what I see in my own script.

The NSIS documentation reads:

Uninstaller section names are prefixed with 'un.'
But my script's uninstall section was mistakenly named:
Section "Uninstall"
And it still works.

My problem is that I don't understand why it works.

How does NSIS really find the uninstaller section?

Thanks for any explanation you can provide.

Victor

Section Uninstall is there for backwards compatibility with old NSIS scripts for when there wasn't an uninstall components page. Now that we have an uninstall components page, we need to be able to give sections names again, which is the purpose of un. appended to the front.

Stu