Hi All,
I need to delete Microsoft Edge reg value from **HKEY_CLASSES_ROOT\Installer\Products**.
Is there any way to delete/remove, please confirm?
From the Picture it’s not clear:
- The full path to the Registry Key
- Do you wish to clear the data from the “Product name” value?
@orbiton
Yes, I need to delete the Microsoft Edge value from the below given path.
Path - HKEY_CLASSES_ROOT\Installer\Products
You can use the ActionScript command “regdelete64” in a Custom Action:
Try this:
//Relevance - Example I am trying to delete office 16 key here
exists keys whose (exists value "ProductName" whose (it as string as lowercase = "Office 16 Click-to-Run Licensing Component" as lowercase) of it) of keys "HKEY_CLASSES_ROOT\Installer\Products" of native registry
//ActionScript: With the relevancy supplied below, there is no need to hard code the GUID of the product; nevertheless, make sure that the product name 100% matches.
wait reg delete "{pathname of keys whose (exists value "ProductName" whose (it as string as lowercase = "Office 16 Click-to-Run Licensing Component" as lowercase) of it) of keys "HKEY_CLASSES_ROOT\Installer\Products" of native registry}" /f