I have one basic MSI installer. In this installer I have added one prerequisite which executes on .bat file. But when this prerequisites executes, the .bat file get launch by cmd prompt and it's visible to end user. I wanted to hide it's cmd prompt. How I can achieve this ? Is there any way to pass any type of arguments to .bat file or can we add any parameter in .bat file to execute it silently ?
This is the current batch file content:
@echo off
c:\Windows\sysnative\DISM.EXE /enable-feature /online /featureName:IIS-WebServerRole /featureName:IIS-WebServer