Archive: How to get the name of the installer ?


How to get the name of the installer ?
Hi, I am a newbie here. I am writing a project to dynamically generate a name of the installer when installing the software. But I have problem in writing the uninstall section. How can I get the name of the installer in uninstall section so that I can find the right registry key to remove? Thanks in advance.


Use this function in an installation section to get the installer file name:
http://nsis.sourceforge.net/archive/...ances=0,11,211

You'd have to store it in the registry using WriteRegStr
Then in your Uninstall section read it from the registry using ReadRegStr

-Stu