Old 27th November 2004, 01:15   #1
jun
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.
jun is offline   Reply With Quote
Old 27th November 2004, 10:55   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump