Polarman Posted November 9, 2016 Report post Posted November 9, 2016 Hi, I need help changing this script to start install from a share instead of files being downloaded and cached before installing... For use with SCCM 2012 $SPSSArgs = '"IBM SPSS Statistics 24.msi" AUTHCODE="mycodehere" INSTALLPYTHON="0" ENABLE_JAB="1"' $MSIexecArgs = "/qb ALLUSERS=2 /m MSIUQUPQ /norestart /i" Start-Process msiexec.exe -ArgumentList "$SPSSArgs $MSIexecArgs" -Wait Do I need to rebuild the whole script? Knut Quote Share this post Link to post Share on other sites More sharing options...
0 Peter33 Posted November 10, 2016 Report post Posted November 10, 2016 Do I need to rebuild the whole script? Nope. Just make sure the "Domain Computers" group has read permissions for the share. Set-Location "\\SERVERNAME\SHARE" $SPSSArgs = '"IBM SPSS Statistics 24.msi" AUTHCODE="mycodehere" INSTALLPYTHON="0" ENABLE_JAB="1"' $MSIexecArgs = "/qb ALLUSERS=2 /m MSIUQUPQ /norestart /i" Start-Process msiexec.exe -ArgumentList "$SPSSArgs $MSIexecArgs" -Wait -NoNewWindow 1 Quote Share this post Link to post Share on other sites More sharing options...
0 GarthMJ Posted November 10, 2016 Report post Posted November 10, 2016 Hi, I need help changing this script to start install from a share instead of files being downloaded and cached before installing... For use with SCCM 2012 Ok, I will byte, why do you want to install it form a UNC, vs downloading it to the cache? Quote Share this post Link to post Share on other sites More sharing options...
0 Polarman Posted November 14, 2016 Report post Posted November 14, 2016 Ok, I will byte, why do you want to install it form a UNC, vs downloading it to the cache? Downloading 12000 files takes a long time downloading (the users usually thinks something is wrong and restart when it's stuck on "downloading" in SC), and we have software that is 40 gb's too... Quote Share this post Link to post Share on other sites More sharing options...
0 GarthMJ Posted November 14, 2016 Report post Posted November 14, 2016 Downloading 12000 files takes a long time downloading (the users usually thinks something is wrong and restart when it's stuck on "downloading" in SC), and we have software that is 40 gb's too... Using UNC connection will mean you are using SNB and therefore there is NO network throttling involved or the ability to use branch cache for this. Therefore it will use 100% of the network connection forcing other applications to not be as responsive. Additionally this will increase your changes of an install failure due to networking issues. I would serious reconsider this particularly if you are install two or more computers on the same network and have branch cache enabled. Quote Share this post Link to post Share on other sites More sharing options...
0 Peter33 Posted November 15, 2016 Report post Posted November 15, 2016 Create a self extracting 7zip file and extact the content to $env:temp + somedir. Then start the Installation from this location. Delete the temp dir after the Installation is finished.Problem solved. Had a similar Installation with 20K+ tiny files and went this way. Quote Share this post Link to post Share on other sites More sharing options...
0 YPCC Posted April 6, 2017 Report post Posted April 6, 2017 As above, too many file means sccm has to verify each and every file. Better of zipping them all up and doing a extract to a temp directory. Quote Share this post Link to post Share on other sites More sharing options...
Hi, I need help changing this script to start install from a share instead of files being downloaded and cached before installing...
For use with SCCM 2012
Share this post
Link to post
Share on other sites