简体   繁体   English

如何使用 NSIS 安装程序检查和安装 .net C# 应用程序

[英]How to check and install .net C# application using NSIS Installer

I want to check whether the particular driver say xxx is installed or not in windows while installing my c# form application.If that driver is not installed i should run the driver executable first.我想在安装我的 c# 表单应用程序时检查 Windows 中是否安装了特定的驱动程序 xxx。如果未安装该驱动程序,我应该首先运行驱动程序可执行文件。

Now,I have a NSI script that check the DotNetFramework is installed or not using DotNetSearch.nsh.But i dont know how to check the xxx driver supplied by vendor.现在,我有一个 NSI 脚本,可以使用 DotNetSearch.nsh 检查 DotNetFramework 是否安装。但我不知道如何检查供应商提供的 xxx 驱动程序。

What is the name of this driver?这个司机叫什么名字? What kind of driver is it?什么样的司机? Does the vendor provide any documentation or support?供应商是否提供任何文档或支持?

There are multiple driver types on Windows; Windows 上有多种驱动程序类型; Non-PNP/NT4 style drivers are registered in the same place as NT services.非 PNP/NT4 风格的驱动程序与 NT 服务注册在同一个地方。 PNP and filter drivers can probably be detected with the Setup and/or CM APIs and you might have to use network related APIs if this is a NDIS driver... PNP 和过滤器驱动程序可能可以通过安装程序和/或 CM API 检测到,如果这是 NDIS 驱动程序,您可能必须使用网络相关的 API...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM