
ahamsvoort1.5524941677169116E12 asked a question.
Removing/installing registry keys/values
I've got the following problem. On the pc's in the HLM\Software we have a registry key Oracle in which are other keys and DWORD, string and binaries values. With the installation of an MSI we would like to remove all keys and values in the Oracle key(the Oracle key itself may also be deleted as long as it will be created again). After that new keys, values need to be created in the Oracle key.
I have tried the "Install if absent, uninstall if present (*). That installas/replaces the keys and values that are in the MSI but the ones that aint in it will stay in the registry.
I know i can delete an entire key with the "Uninstall entire key (-)" option. And did try this option in combination with the installation of the keys/values but that didn't had the desired effect.
Proberly someone here can explain me if it and if so how it is possible to do what i want.