Old 20th December 2005, 18:12   #1
flyakite
Member
 
Join Date: Dec 2003
Location: Chicago
Posts: 50
Send a message via AIM to flyakite Send a message via Yahoo to flyakite
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.
flyakite is offline   Reply With Quote
Old 20th December 2005, 23:25   #2
Instructor
Major Dude
 
Join Date: Jul 2004
Posts: 671
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)
Instructor is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump