如何使用InstallShield创建的包在安装Web应用程序期间检测IIS

时间:2022-05-08 22:36:52

Here is the wizard in Project Assistant setup by InstallShield. I am using Visual Studio 2017 and InstallShield 2018.

这是InstallShield在Project Assistant中设置的向导。我正在使用Visual Studio 2017和InstallShield 2018。

如何使用InstallShield创建的包在安装Web应用程序期间检测IIS

But, I do not see IIS detection configuration in above step!

但是,我在上面的步骤中没有看到IIS检测配置!

How can I detect IIS is enabled or disabled in target system during InstallShield steps?

如何在InstallShield步骤中检测目标系统中是启用还是禁用IIS?

Update

更新

I see Install Condition property, but how do we configure the IIS check from here?

我看到Install Condition属性,但是如何从这里配置IIS检查?

如何使用InstallShield创建的包在安装Web应用程序期间检测IIS

I also see some IIS configurations under Server Configurations. Is there a way to use this to check for IIS existence in target machine?

我还在服务器配置下看到了一些IIS配置。有没有办法用它来检查目标机器中是否存在IIS?

如何使用InstallShield创建的包在安装Web应用程序期间检测IIS

1 个解决方案

#1


0  

The screenshots you're showing are asking what dependencies should it install.

您展示的屏幕截图是询问它应该安装哪些依赖项。

You'll probably just want to add a LaunchCondition that checks the registry for the IIS version (VersionString) in the registry at HKLM\SOFTWARE\Microsoft\InetStp.

您可能只想添加一个LaunchCondition,用于在HKLM \ SOFTWARE \ Microsoft \ InetStp的注册表中检查注册表中的IIS版本(VersionString)。

#1


0  

The screenshots you're showing are asking what dependencies should it install.

您展示的屏幕截图是询问它应该安装哪些依赖项。

You'll probably just want to add a LaunchCondition that checks the registry for the IIS version (VersionString) in the registry at HKLM\SOFTWARE\Microsoft\InetStp.

您可能只想添加一个LaunchCondition,用于在HKLM \ SOFTWARE \ Microsoft \ InetStp的注册表中检查注册表中的IIS版本(VersionString)。