Skip to content

How can i run batch file from SCCM 2012

Featured Replies

I would like to run batch file to install application. For example, when i install adobe reader, i would like to run this command in a batch : msiexec /i reader.msi transforms=reader.mst /qn. Also, when my batch contain only one line, it's possible to specify the command line, msiexec..., directly in the package deployment.

 

Thank You

Hi,

In SCCM 2012 you can select a scripted install type and get the possibility to run a batch file, what you need to do is to create the application manually and then when it is created you can add a deployment type as a "Scripted" and there you can rung whatever command line you want.

However, I would not use a Scripted Install for the reason to add "tranfsorms=reader.mst" you can add that part in the Deployemnt Type for the application under the "program" tab you can modify the install command line..

 

Regards,

Jörgen

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.