Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   How to delete 0-byte registry keys? (http://forums.winamp.com/showthread.php?t=276781)

Brummelchen 1st September 2007 09:17

How to delete 0-byte registry keys?
 
NSIS is working via API and cant do that.
in regular i use this tool
http://www.codeproject.com/tools/NtRegEdit.asp
but thats a bit complicated to implement for a special portable programm ;)

erm - RegDelNull ist close but not specific enough

http://www.microsoft.com/technet/sys...egDelNull.mspx

@echo y|regdelnull <path> -s

(the echo confirms founds with Y and delete entries without confirmation)

would be nice to have that within NSIS.

or is the registry plugin capable to do this?
http://nsis.sourceforge.net/Registry_plugin

Anders 1st September 2007 12:42

You can't even create such a key with the win32 api, you have use the NT api. And this sysinternals tools is more of a proof of consept than anything else. Other than a rootkit, what kind of app would create such a key?

Brummelchen 1st September 2007 12:52

>> what kind of app would create such a key?

Shareware - to protect registration!?
i would not ask if i know a solution inside NSIS.

read the first link again to understand...


All times are GMT. The time now is 18:08.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.