How to restart IIS from WIX?

霸气de小男生 提交于 2019-12-25 08:36:09

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/44677549/how-to-restart-iis-from-wix

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!