如何从 WIX 重新启动 IIS? [英] How to restart IIS from WIX?

查看:30
本文介绍了如何从 WIX 重新启动 IIS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在 WIX 安装过程中重新启动 IIS,我该怎么做?我知道我需要一个自定义操作,但我找不到 iisreset.exe 可执行文件的任何 WIX 预定义路径

I need to restart IIS during my WIX installation, how can I do that? I know I need a custom action but I can't find any WIX predefined path for the iisreset.exe executable

推荐答案

您实际上不需要为此自定义操作.您可以使用 ServiceControl 表并将其链接到组件需要重启 IIS.

You actually don't need a custom action for this. You can use the ServiceControl table and link it to the component that needs the IIS restart.

这篇关于如何从 WIX 重新启动 IIS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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