|
|
#1 |
|
Junior Member
Join Date: Nov 2004
Posts: 1
|
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.
|
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|