问题
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