How to prevent WiX from deleting registry keys during correction

I am making a patch using the WiX only method. I.e:

torch -p -xi Old.wixout New.wixout -out Differences.wixmst

pyro Patch.wixmsp -t MyPatch Differences.wixmst -out Patch.msp

We write the product key in the registry during the initial installation of the product. The user enters a request as part of the installation to enter this product key.

When we run the patch, it works fine, but removes the product key from the registry. All other installed registry keys remain; it is only a key that is added as part of the original installation, which is removed.

Is there a way to create a patch so as not to delete this registry key?

+4
source share
1 answer

100%, , , , , . , Windows Installer "" , .

+1

All Articles