Running an exe file from chef


I have a powershell script that runs an exe file, and I want to run this script using chef.
But, the problem is, the .exe file is an installer written in C#, and when the .exe file is running, sometimes it shows a dialogue box. However, since chef runs the script and the .exe as background process, the program throws an exception when it shows the dialogue box. Note that this dialogue box is only a progress bar and does not require any user interaction whatsoever.
Is there any way to make chef run the script in foreground, hence the .exe will also be ran in foreground?


Most windows installers support the /qn aka no GUI.


From my mobile …

Bradley Corner