Disallowed application uninstall if not within WCF ACP

Fixes #1067