I built an msi and I need to pause for 20 seconds before the install runs to allow some services to shutdown. To accomplish this I made an exe that waits 20 seconds and then completes. I added this exe as a feature-based pre-requisite and placed it before main in deployment organization. When I run the msi it works great, you see the UI says installing prerequisites and it waits 20 seconds, then the install proceeds. However I am launching this from a script silently by calling command line msiexec.exe /passive /i "msi name". When I do it this way the main install launches and finishes and then I see the prerequisite run. I know it is running after because I get a small window with the file name in it.
I can't figure out what's going on and why running as passive is screwing up the order. Please help!
FOLLOW US
Get the latest news in Application Packaging