tags:

views:

13

answers:

0

I am moving a lot of IIS websites using MSDeploy and I am running into an issue where I am trying to include 3 registry keys as part of the move, but all 3 registry keys don't always exist on each website.

So the question is: Is there a way to get MSDeploy to move the registry keys if they are there on the source and silently skip them if they don't exist?

I've tried both forcibly enabling and disabling the SkipInvalidSource rule, but it didn't seem to effect the issue either way.

Also one final note, I am using a manifest file for the source (which contains the entries for the 3 regKey providers).