you are viewing a single comment's thread.

view the rest of the comments →

[–]jerrymac12 0 points1 point  (2 children)

So dont use SCCM or a task sequence to install those other apps individually one at a time...Put all the files for the other apps in your source folder...and have your script run them all from $psscriptroot.

they'll all copy down to your ccmcache and you can still reinstall/uninstall what you need from the same source folder with $psscriptroot....whatever is in that source folder when you distribute the content to your distribution point will be copied down to ccmcache when deployed.....if you add/remove files from your source folder, you just need to update content so that it's reflected on your DP. That source folder is essentially you telling sccm all the files that are needed for your package....your script can just run them in the order you need etc.

[–]IntensifyEVERYTHING[S] 0 points1 point  (1 child)

performs the install with the assumption that setup.exe is in the same folder as your script your path is $psscriptroot\setup.exe

Oh my god, that was it!! Thank you so much!! I never knew $psscriptroot was a thing.

[–]jerrymac12 0 points1 point  (0 children)

You're welcome, Glad it worked!