Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   DeleteRegKey: doesn't work as expected (http://forums.winamp.com/showthread.php?t=300310)

nsis2008 25th November 2008 16:07

DeleteRegKey: doesn't work as expected
 
As written in http://nsis.sourceforge.net/Add_unin...emove_Programs
I added

WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ImageMaker" \
"DisplayName" "Image Maker -- super software from Great Northern"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ImageMaker" \
"UninstallString" "$INSTDIR\uninstall.exe"

so that the application appears in the Software wizard of windows. This works. But when I deinstall, this entry doesn't vanish. SO I added

DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ImageMaker"

but with this additional command, the application DOESN't APPEAR in the Software Add/Remove dialog anymore! Is this a bug in the latest 2.41 version?

kichik 25th November 2008 16:45

Well, if you delete it, it has no reason to appear there. What you should do is delete the key in the uninstaller and not in the installer.


All times are GMT. The time now is 05:16.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.