dotnetInstaller应该在注册表检查失败时终止 [英] dotnetInstaller should terminate on failure of registry check

查看:63
本文介绍了dotnetInstaller应该在注册表检查失败时终止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个非常基本的要求,即在执行dotNetInstaller bootStrapper期间由于找不到注册表项而终止安装过程.我正在安装WebApplication,并且在没有IIS的情况下希望安装失败.

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.

推荐答案

安装检查不会终止任何操作,它会通知引导程序有关是否应该安装该组件的信息.DNI不支持根据某些条件终止安装.

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.

这篇关于dotnetInstaller应该在注册表检查失败时终止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆