Different detection methods for install and uninstall
We need to be able to have different detection methods for install and uninstall. For large software we need to know that files x, y & z need to exist, shortcuts in the start menu and uninstall entry in the registry. That will be the install detection. All of this needs to be true. But for uninstall we need to know if any of those are still there. The differens is "and" (for install) and "or" (for uninstall).
Detection should also be possible by a ps1-file in the source folder.