I am scheduling my installer in a sequence order just after another installer in a windows batch file.
2:04 am : Installer X scheduled. If exit code = 0 i.e success then my installer gets called.
2:06 am (approx) : The batch file calls my installer after seeing the exit code = 0 of the Installer X.
If my installer runs immediately after Installer X it gets failed with the msi verbose error Failed to connect to server. Error: 0x8007045B.
If my installer runs after 9 minutes delay(2:14 am) of installer X it gets succeeded without any issues.
What could be the reason for this failure? We are calling our installer on the batch file after seeing exit code =0 from the previous installation. Do we need to think still the previous still not release the MSIServer for few mins after it exit with code 0? How do i find who owns the MSIServer service during that time frame where my installer gets failed (2:06 to 2:13am).
User contributions licensed under CC BY-SA 3.0