>owsh=CREATEOBJECT("wscript.shell") >owsh.RegDelete("KeyOrValueToDelete") >>If the argument ends with a backslash, then it's treated as a key, otherwise as a value. I think you'll have to delete each key individually.
>>REGEDIT4 >> >>[HKEY_CLASSES_ROOT\Installer\Products\D4630248E9E66D11E8F400008E6D868E] >>"ProductName"="My Application.msi" >>"PackageCode"="C1730248E9E66D11E8F400008E6D868E" >>"Language"=dword:00000409 >>"Version"=dword:00000000 >>"Assignment"=dword:00000001 >>"AdvertiseFlags"=dword:00000184 >>"Clients"=hex(7):3a,00,00 >> >>[HKEY_CLASSES_ROOT\Installer\Products\D4630248E9E66D11E8F400008E6D868E\SourceList] >>"PackageName"="My Application.msi" >>"LastUsedSource"=hex(2):6e,3b,31,3b,43,3a,5c,57,49,4e,44,39,38,5c,54,45,4d,50,\ >> 5c,5f,69,73,33,31,36,33,5c,00 >> >>[HKEY_CLASSES_ROOT\Installer\Products\D4630248E9E66D11E8F400008E6D868E\SourceList\Net] >>"1"=hex(2):43,3a,5c,57,49,4e,44,39,38,5c,54,45,4d,50,5c,5f,69,73,33,31,36,33,\ >> 5c,00 >> >>[HKEY_CLASSES_ROOT\Installer\Products\D4630248E9E66D11E8F400008E6D868E\SourceList\Media] >>"DiskPrompt"="[1]" >>"1"="DISK1;1" >>