I need to prevent of running Installer.Commit method in my CustomActions managed code. If I just do nothing inside overrided Commit method, it still commits (it creates an element in Programs and Features list) and I don't want that.
If I say base.Commit(null) it stops, but popups an error. How can I do this silently without any messages?
Can I change savedState somehow so it wouldn't actually commit the installation?