I am using Package Resource to install the MSIs and EXEs in PowerShell DSC. I am using pull modal. I am triggering the Consistency Job to check the configurations is applied or not for testing.(Unable to wait 30 mins for single testing 🙂 ) Here is My code.
When I run the Job, one package is installing at time. The another package is installing next time and so on. We need to install 10+ installers. If one at time then configuration will take more than a day to configure completely if one installation happen on every 30 Mins.
Is this there anyway to install all packages at once?
Nope. Windows Installer won't let you have more than one installation running at a time. If you have installations that are taking 30+ minutes to complete, you probably want to consider making a custom Windows image that has those applications pre-loaded, instead of installing them after loading the OS.
Well, the 30 minutes is because if only one package installs each time the DSC consistency check runs, then it's an automatic 30 minute delay between each. But no, there's no way to speed that up, really.
But yeah, another option would be to build a custom MSI package that included everything you needed. It's work, but it's possible.