Best way to run one program after another using SCCM

Author
xxdcmast
Starting Member
  • Total Posts : 23
  • Scores: 0
  • Reward points: 10370
  • Joined: 2010/08/04 09:55:22
  • Status: offline
2010/11/02 14:31:24 (permalink)
0

Best way to run one program after another using SCCM

I am creating and testing a software distribution to install a piece of software. I have the main installation working correctly but due to limitations on the command line for the program being installed I need to run another set of commands after the product has been installed on the client.
 
I have created a batch file that will run the commands that are necessary on the client, my question is there any way of chaining together two programs in SCCM. Basically I want the main program installation to run and then right after that I would like the batch file to run and set the required settings for the program.
 
I didnt see anyting in the console that looks like you could chain programs together like this. Any ideas?
 
Thanks
#1

6 Replies Related Threads

    Guest
    Expert Member
    • Total Posts : 120
    • Scores: 0
    • Reward points: 0
    • Joined: 2002/06/01 05:49:42
    • Location: Orlando, FL
    • Status: online
    Re:Best way to run one program after another using SCCM 2010/11/02 15:00:00 (permalink)
    0
    Build a package for the batch file and configure it to "run another program first", specifying the install package you mentioned:
    This is available under the "advanced" Tab on the package properties.
    Regards,
    J Sills
     
    #2
    xxdcmast
    Starting Member
    • Total Posts : 23
    • Scores: 0
    • Reward points: 10370
    • Joined: 2010/08/04 09:55:22
    • Status: offline
    Re:Best way to run one program after another using SCCM 2010/11/02 15:08:16 (permalink)
    0
    Would it also be possible to put both installation program and the settings program in the same package and then simply advertise out the settings program with the run this program first option that selects the install program?
     
    Im just thinking that if possible it would be better to keep the settings and the install in the same package if possible.
    #3
    rbennett806
    Expert Member
    • Total Posts : 1017
    • Scores: 43
    • Reward points: 18620
    • Joined: 2006/06/14 11:29:33
    • Status: offline
    Re:Best way to run one program after another using SCCM 2010/11/02 15:20:34 (permalink)
    0
    You could put everything into a single folder and use that to build the Package. Then simply create two different Programs in the Package.

    Either that, or use a script wrapper to perform the actual installs...
    #4
    xxdcmast
    Starting Member
    • Total Posts : 23
    • Scores: 0
    • Reward points: 10370
    • Joined: 2010/08/04 09:55:22
    • Status: offline
    Re:Best way to run one program after another using SCCM 2010/11/02 15:22:26 (permalink)
    0
    Thanks im gonna give it a shot with the two programs in one package.
    #5
    gabriel
    New Member
    • Total Posts : 14
    • Scores: 0
    • Reward points: 6990
    • Joined: 2007/04/26 10:46:13
    • Status: offline
    Re:Best way to run one program after another using SCCM 2010/11/02 15:35:56 (permalink)
    0
    You may create a package with two programs. Configure the program that you want to run last to run another program first. Make this option to " Always run this program first" within the advance tab. You need to select the package and program that you create for it. This will run this program always prior to running the other program. 
    #6
    skissinger
    Expert Member
    • Total Posts : 5126
    • Scores: 504
    • Reward points: 202880
    • Joined: 2001/09/13 09:11:00
    • Location: Sherry Kissinger
    • Status: offline
    Re:Best way to run one program after another using SCCM 2010/11/02 20:41:15 (permalink)
    0
    I'm also going to mention it, since no one else has yet... There is also "Task Sequences".  TS' were designed originally for deploying OSD; however, several ConfigMgr shops have leveraged TS' to deploy software in sequence because of the rich controls available within the Task Sequence.

    I'm just mentioning it... using "Run another program first", or a vbscript wrapper that runs two different things are also well-known and often used methods.

    mofmaster@myitforum.com
    My Blog
    Microsoft MVP 2007-2015 - ConfigMgr
    #7
    Jump to:
    © 2018 APG vNext Commercial Version 5.5