Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

SCCM 2012 Packages & Batch Files Problem

$
0
0

I have a batch file that contains the following:

start /wait cmd /C "reg import %~dp0\AppCompat.reg & start /wait Dism.exe /online /enable-feature /featurename:NetFX3 /Source:%~dp0\sxs /LimitAccess /NoRestart & start /wait %~dp0\sotrt07072013.exe /s /cfg=%~dp0\econ_setup.blp"

The above applies a registry change, then installs the MS Dotnet 3 Framework and then installs the latest Bloomberg software.

I have this configured as the program for the package, so the batch file should run and do all of the above, which works fine when I run this manually using the source files on the server that the task sequence would use, but when doing this via a UDI task sequence it doesn't work.

What am I missing?

Any help or advice really would be much appreciated.

Thanks & Kind Regards,

Madgey Stardust


Viewing all articles
Browse latest Browse all 4762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>