Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 26th October 2001, 04:00   #1
cchian
Member
 
Join Date: Apr 2001
Posts: 73
Unhappy Is it safe to try to delete "null" registry subkeys?

Hi,

I need to write a utility to clean-up some old left-over Uninstall registry values by using variables imported from an ini file.
Here is my code:

DeleteRegKey HKLM "$0"
DeleteRegKey HKLM "$1"

Where $0=SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MyApp
and $1=""

Is it safe to "try" to delete null subkeys under any Windows version?

Thanks
-Carlos
cchian is offline   Reply With Quote
Old 26th October 2001, 04:42   #2
DuaneJeffers
Major Dude
 
DuaneJeffers's Avatar
 
Join Date: May 2001
Location: Winter Park, FL
Posts: 1,776
Oh yeah, there is no side-effect.

-Duane

Website

Yeah, that's pretty much it. :-\
DuaneJeffers is offline   Reply With Quote
Reply
Go Back   Winamp 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