Jump to content


  • 0
robertm

How can i run batch file from SCCM 2012

Question

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

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.