As a test I created registry keys/values as shown in the following image -
I don't know what software you are using, but I edited an MSI using Orca to place the following in the RemoveRegistry table -
After installing, the registry values looked like this
As you can see, the mso.dll values have been deleted. By the way, the MSI was built as a 64-bit installer.