views:

36

answers:

0

Trying to automatize an uninstallation I need to modify a .reg file that is filled with entries like this:

[-HKEY_LOCAL_MACHINE\SOFTWARE\SomeSoftware]
"Installed"="SomeDate"
"Version"="SomeVersion"

As far as i understand the way to delete a key would be:

[-HKEY_LOCAL_MACHINE\SOFTWARE\SomeSoftware]

and the way to delete a value would be:

[HKEY_LOCAL_MACHINE\SOFTWARE\SomeSoftware]
"Installed"=-

So what are those entries doing? Will they delete the values? Will they set the values, ignoring the minus sign in the entry? Will they be ignored?