dotnetInstaller应该在注册表检查失败时终止

编程入门 行业动态 更新时间:2024-10-28 11:27:39
本文介绍了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应该在注册表检查失败时终止

本文发布于:2023-06-09 04:08:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/594929.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:注册表   dotnetInstaller

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!