Skip to content

Manual software deployment?

Featured Replies

Hey.

 

I followed your guide for deploying software packages (it was awesome)

 

My question was, instead of advertising it, so systems are always trying to install it automatically, can i get to a point where i have a program/package created and then just be able to right click on a bunch of clients and install that package immediately?

 

I've created my program/package following the guide, and when i right click on a client and try to distribute software to the device nothing really happens.

 

Sub question -- Can programs be .cmd files? or do they have to be .exe

 

Thanks!

I followed your guide for deploying software packages (it was awesome)

 

thanks !

 

My question was, instead of advertising it, so systems are always trying to install it automatically, can i get to a point where i have a program/package created and then just be able to right click on a bunch of clients and install that package immediately?

 

yep, when creating said program dont create and advertisement for it, then when you are ready to deploy it, do so on a collection based on queries, for example based on an AD OU query.

 

you could then deploy software to 'collection' which starts the process of advertising it to that collection

 

Sub question -- Can programs be .cmd files? or do they have to be .exe

 

yes indeed they can.

 

cheers

anyweb

  • Author
thanks !

 

 

 

yep, when creating said program dont create and advertisement for it, then when you are ready to deploy it, do so on a collection based on queries, for example based on an AD OU query.

 

you could then deploy software to 'collection' which starts the process of advertising it to that collection

 

 

 

yes indeed they can.

 

cheers

anyweb

 

 

I currently have a collection (with 1 computer in it) that im using for testing, i right clicked on the collection and distrubuted software, chose the package and created a new advertisement through that wizard.

 

I will update you in about 30 minutes if it deployed.

  • Author

No dice so far. I don't really see any progress anywhere on client or on the sccm server. I have no errors or successes in any of the system status logs. From the client i've initiated the cycles but still nothing. Nothing shows in the 'run advertised programs' window on the client either, i'm sort of at a loss at this point.

 

Maybe I'm missing something, is there something specific i can check? Can i provide screenshots that will help?

 

Anything you can suggest would be appreciated.

 

Thanks!

  • Author

Ok, i finally got this to work after tinkering for awhile. Sort of.

 

I have 2 machines in my test collection, the first one went through beautifully. Deployed the package, everything was great.

 

The second one errors out when it tries to execute the .cmd (i believe). It successfully pushes the package to \ccm\cache but in the execmgr log on the client i get this error:

 

Successfully prepared command line "C:\WINDOWS\system32\CCM\Cache\IBC0001B.1.System\silentclient.cmd" execmgr 1/21/2009 1:09:02 PM 3792 (0x0ED0)

Raised Program Started Event for Ad:IBC2000D, Package:IBC0001B, Program: NBU 6.5 Silent Install execmgr 1/21/2009 1:09:02 PM 3792 (0x0ED0)

Execution Manager timer has been fired. execmgr 1/21/2009 1:09:03 PM 3776 (0x0EC0)

Program exit code 1603 execmgr 1/21/2009 1:11:14 PM 3776 (0x0EC0)

Looking for MIF file to get program status execmgr 1/21/2009 1:11:14 PM 3776 (0x0EC0)

Script for Package:IBC0001B, Program: NBU 6.5 Silent Install failed with exit code 1603 execmgr 1/21/2009 1:11:14 PM 3776 (0x0EC0)

Raised Program Error Mom Event for Ad:IBC2000D, Package:IBC0001B, Program: NBU 6.5 Silent Install execmgr 1/21/2009 1:11:14 PM 3776 (0x0EC0)

Execution is complete for program NBU 6.5 Silent Install. The exit code is 1603, the execution status is FailureNonRetry execmgr 1/21/2009 1:11:14 PM 3776 (0x0EC0)

 

 

There isn't much difference between the two machines. Nothing at least that stands out as to why this would execute fine on one box and not the other. Any thoughts?

  • Author

Good call, it looks like the 2 failures failed for other reasons that i'll need to troubleshoot at a later date.

 

My other question was, how do i set it so once the install completes, the computer drops itself out of the collection?

  • 4 months later...
you'll need a script to remove the computer from the collection

 

try this one

 

The script has to been run on the serverside or ... ?

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.