Skip to content
⌘ NSIS Forum Archive

How to get the name of the installer ?

2 posts

jun#

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.
Afrow UK#
Use this function in an installation section to get the installer file name:


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

-Stu