Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   SHDeleteEmptyKey (http://forums.winamp.com/showthread.php?t=233630)

flyakite 20th December 2005 18:12

SHDeleteEmptyKey
 
Alright I want to use DeleteRegKey /ifempty but it only takes into account no subkeys under the main key, and does not account for existing values in the key.

I think it would be nice if this was an option added to NSIS sometime in the future, maybe a different switch or something?

Anyway though, until then in another thread on here and through MSDN, SHDeleteEmptyKey was listed as a solution. However not being fluent in any actual programming languages, I can't actually figure out how to make the System::Call for this.

If anyone could help I would greatly appreciate it.

Thanks.

Instructor 20th December 2005 23:25

http://forums.winamp.com/showthread....72#post1829872

I didn't use SHDeleteEmptyKey call, because it is a function from the IE library - shlwapi.dll (can cause problems with earlier versions of windows)


All times are GMT. The time now is 17:55.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.