|
|
|
|
#1 |
|
Major Dude
Join Date: May 2003
Posts: 681
|
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 Greets, Brummelchen |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
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?
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#3 |
|
Major Dude
Join Date: May 2003
Posts: 681
|
>> 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... Greets, Brummelchen |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|