问题
I have very basic requirement of terminating the installation process on failure of finding registry key, during execution of dotNetInstaller bootStrapper. I am installing WebApplication and want to fail the installation on absence of IIS.
But it is not working. Here is my Configuration File.
回答1:
An install check doesn't terminate anything, it informs the bootstrapper on whether the component should or should not be installed. Terminating the installation based on some condition isn't supported by DNI.
来源:https://stackoverflow.com/questions/10688463/dotnetinstaller-should-terminate-on-failure-of-registry-check