Skip to content
⌘ NSIS Forum Archive

How to delete 0-byte registry keys?

3 posts

Brummelchen#

How to delete 0-byte registry keys?

NSIS is working via API and cant do that.
in regular i use this tool

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?
Anders#
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#
>> 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...