Hello,
IIS runs as a service, therefore it should be treated as one. Since you need to do two service operations at different install times, your best option is to use the
sc command line utility. Set this utility as a "Launch File or Open URL" custom action:
Source Path: <AI_CUSTACTS>viewer.exe
Source Type: Executable
Command Line: sc Stop <YourServiceName>
Regards,
Gabriel
FOLLOW US
Get the latest news in Application Packaging