Old 16th July 2002, 17:57   #1
flatpooks
Junior Member
 
Join Date: Jul 2002
Posts: 1
Question control panel uninstall...

ummmm if this is dumb forgive me but after running an install from the nsis i dont see the app in the windows control panel add/remove programs list ... is there something dumb im doing?

thanks
flatpooks is offline   Reply With Quote
Old 16th July 2002, 22:26   #2
sdbarker
Senior Member
 
Join Date: Mar 2002
Posts: 133
Send a message via AIM to sdbarker Send a message via Yahoo to sdbarker
You need to add those registry keys yourself in your script. They're not automagically created.

-Scott
sdbarker is offline   Reply With Quote
Old 17th July 2002, 10:02   #3
Sunjammer
Major Dude
 
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
Specifically...

You need to create a single key with values like so :- (where ProgName is a name you choose)

code:

WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ProgName" "DisplayName" "Some arbitrary string that describes your program in the add/remove control panel"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ProgName" "UninstallString" "The full path to your uninstaller, e.g. $INSTDIR\UninstallMe.exe"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ProgName" "InstallLocation" "The directory in which the uninstaller lives I think, e.g. $INSTDIR"



And then in the uninstall section you need

code:

DeleteRegKey HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ProgName"

Sunjammer 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