I am moving many IIS websites using MSDeploy and I have a problem when I try to include three registry keys in it, but all 3 registry keys do not always exist on every website.
So the question is: Is there a way to force MSDeploy to move registry keys if they are in the source, and silently skip them if they do not exist?
I tried both forcing and disabling the SkipInvalidSource rule, but it didn't seem to affect the problem in any way.
Also a final note, I am using a manifest file for the source (which contains entries for 3 regKey providers).
source
share