Windows Tech Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 9 March 2011

SCCM Deployment Program Sequencing

Posted on 05:07 by Unknown

I've had a few people ask me about how to run a sequence of programs in a particular order via a single SCCM advertisement.  There are a few ways to do this:

  • Using program dependencies (ie. "run another program first")
  • Using a Task Sequence
  • Using a script as a packaged program entity

The issue with the first option is that once you've installed the package, and it comes back with "failed" and you make an adjustment and try to re-run it, it won't.  SCCM won't allow a dependency-based advertisement to re-run, not even with SCCM Console Tools or SCCM Admin Tools or any of the custom add-on utilities out there.  It's a known feature of SCCM.  An advertisement that targets a Collection with a program that uses a "run another program first" sequence can only be run once per client, regardless of the outcome (e.g. "succeeded" or "failed").

Option 2 is possible, but messy at times.

Option 3 is easiest, and best.  Make a .CMD or .BAT script (almost the same thing actually) that runs the individual program commands in the desired order.  Then target that program entity via an Advertisement so that it runs only one program (the .CMD or .BAT script file).  Also, read up on the "%~dps" and "%~dps0" path expansion variables.  Use them to avoid hard-coding path locations unless absolutely necessary. 

Also - Remember that with Autodesk network deployments, the deployment .INI file forces a hard-coded UNC path reference.  Even if you load that deployment into SCCM and assign a Distribution Point, you will be wasting a lot of time and disk space for nothing.  When the advertisement runs from the hidden package deployment shares, it will read the installation location setting in the deployment .INI file and proceed to pull everything from that path location, not the Distribution Point.  And, no, you cannot enter a variable inside the .INI file to make it referential.  It's always explicit.

Cheers!

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in autocad, autodesk, network administration, sccm, software deployment, software packaging | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Voting Time: Help Me Out?
    I need to get a better view of how I should manage this blog if I'm going to keep at it. I'd like to know how you typically discover...
  • A World Without Competition
    Try to imagine what things would be like today had there not been fierce competition in certain key parts of our world.  I’ll give you some ...
  • Book Update
    I posted some gibberish a few weeks ago about another book project.  Well, I'm getting close to wrapping it up, so I thought I'd go ...
  • Cost
    Software technology, like any technology, provides a means to solving problems.  Some big. Some small.  Some that help.  Some that hurt.  An...
  • Windows 7: Default User vs All Users
    A lot of confusion seems to occur with understanding the difference between the "Default User" profile, and the "All Users...
  • Time to Give Props
    With the ever-expanding volume and breadth of information on the Internet today, it's easy to focus on my own thoughts, experiences, ide...
  • Table of Contents (Preliminary)
    Here's the preliminary Table of Contents for my new book "The AutoCAD Network Administrator's Bible - 2013 Edition".  I...
  • The Nicest IT and IT Vendor Folks I Know
    I've ranted many times before how it's unfair to "hate" an entire company, without providing a rationale for it based on s...
  • Windows 8
    Two small, yet irritating things, that I hope Windows 8 addresses with respect to Windows 7: Being able to put the Recycle Bin in the S...
  • Stupid Assumptions
    After years of watching sci-fi TV shows, movies, etc. it's finally come to a point where even the so-called brightest of our authors and...

Categories

  • a
  • activation
  • active directory
  • advertising
  • agile
  • agility
  • amazon
  • american
  • apple
  • application virtualization
  • applications
  • art
  • articles
  • asp
  • augi
  • authors
  • autocad
  • AutoCAD Autodesk
  • autodesk
  • autolisp
  • automation
  • automotive
  • backups
  • batch
  • beer
  • beta
  • blackberry
  • blogs
  • bongloads
  • book
  • books
  • Books writing kindle amazon technology business projects
  • browsers
  • business
  • cad
  • career
  • certification
  • chrome
  • city government
  • civilization
  • cloud services
  • cmd
  • cmmi
  • comedy
  • command
  • community
  • computers
  • conferences
  • config manager
  • consultants
  • consulting
  • contracting
  • cranium drainium
  • crapware
  • culture
  • data center
  • data mining
  • databases
  • deployment
  • directx
  • DLL
  • domains
  • dumb
  • earth
  • economy
  • editor
  • education
  • election
  • elections
  • employment
  • engineering
  • entertainment
  • environment
  • error monitoring
  • events
  • exchange
  • facebook
  • family
  • firefox
  • flexnet
  • fud
  • fun
  • funny
  • games
  • gary vaynerchuk
  • gmail
  • google
  • government
  • group policy
  • hampton roads
  • health
  • history
  • holidays
  • home
  • html5
  • humor
  • hyper-v
  • iis
  • industry
  • infrastructure
  • installation
  • installshield
  • internet
  • internet explorer
  • interviews
  • jobs
  • jtbworld
  • kindle
  • kixtart
  • lab setup
  • languages
  • ldap
  • learning
  • legal
  • licensing
  • life
  • lifecycle
  • linux
  • lisp
  • logging
  • management
  • manufacturing
  • marketing
  • markets
  • mdop
  • mdt
  • medical
  • messaging
  • microsoft
  • microsoft access
  • military
  • mountains
  • movies
  • mozilla
  • music
  • nature
  • network administration
  • news
  • nook
  • nothing
  • office
  • open source
  • openoffice
  • opera
  • operating systems
  • oracle
  • osx
  • packaging
  • patches
  • people
  • photos
  • podcasts
  • policy
  • politics
  • powershell
  • predictions
  • process automation
  • products
  • programming
  • projects
  • psychology
  • publishing
  • rail
  • reading
  • registry
  • religion
  • reporting
  • reviews
  • rsat
  • rss
  • safari
  • safety
  • sales
  • satire
  • sccm
  • scheduling
  • science
  • scripting
  • search
  • security
  • servers
  • services
  • sharepoint
  • shopping
  • sms
  • social stuff
  • society
  • softgrid
  • software assurance
  • software deployment
  • software development
  • software packaging
  • sony
  • speaking
  • sports
  • sql express
  • sql server
  • statistics
  • Statistics news marketing
  • steve jobs
  • stories
  • stuff
  • stupidity
  • symantec
  • sysinternals
  • system center
  • systems architecture
  • t-sql
  • taxes
  • technet
  • technical support
  • technology
  • TED
  • ted talks
  • testing
  • textpad
  • thoughts
  • traffic
  • training
  • transportation
  • travel
  • troubleshooting
  • tutorials
  • twitter
  • ubuntu
  • unattend
  • unemployment
  • updates
  • upfront ezine
  • utilities
  • vacation
  • vba
  • vbscript
  • video
  • virginia
  • virginia beach
  • virtualization
  • visual lisp
  • vmware
  • vmware server
  • voting
  • war
  • weather
  • web
  • web browsers
  • web development
  • web sites
  • windows
  • windows 7
  • windows live
  • windows server
  • windows server 2012
  • windows8
  • winpe
  • wise
  • wmi
  • work
  • writing
  • ws08
  • wsus
  • wwa
  • x64
  • xml
  • ze frank

Blog Archive

  • ►  2013 (37)
    • ►  October (1)
    • ►  September (5)
    • ►  August (8)
    • ►  July (2)
    • ►  June (4)
    • ►  May (4)
    • ►  April (2)
    • ►  March (2)
    • ►  February (8)
    • ►  January (1)
  • ►  2012 (120)
    • ►  December (14)
    • ►  November (12)
    • ►  October (10)
    • ►  September (7)
    • ►  August (3)
    • ►  July (2)
    • ►  June (6)
    • ►  May (6)
    • ►  April (20)
    • ►  March (16)
    • ►  February (18)
    • ►  January (6)
  • ▼  2011 (343)
    • ►  December (15)
    • ►  November (23)
    • ►  October (27)
    • ►  September (35)
    • ►  August (29)
    • ►  July (17)
    • ►  June (23)
    • ►  May (20)
    • ►  April (38)
    • ▼  March (61)
      • The AutoCAD Network Administrator's Bible - 2012 E...
      • Reminding Yourself That Not Every Problem has a So...
      • How My Brain (sort of) Works
      • The AutoCAD Network Administrator's Bible - 2012 E...
      • Desktop vs Mobile: What Won't Change
      • Ralph Grabowski - What's Inside? AutoCAD 2012 ebook
      • Owen Wengerd on Muzzling AutoCAD 2012 InfoCenter
      • RIP Windows XP
      • AutoCAD 2012 VBA Enabler
      • Addendum to Packaging DirectX for AutoCAD 2012
      • Reverse Engineering AutoCAD 2012 Deployment INI Files
      • Package DirectX for AutoCAD 2012 and Wise Package ...
      • AutoCAD 2012 Network Deployments and SCCM
      • WWA: Toasted and Done
      • The Basis of a Base Image
      • SCCM 2012 Beta 2 is Now Available
      • Tech's Biggest Eaters
      • What does DCDIAG actually… do? - Ask the Directory...
      • PDF Sucks - eBooks Rule
      • Technical Books
      • History Always Repeats - but we only have a Pinhol...
      • I'm Not Kidding. I really have no life
      • Why I was Wrong: Part 2b
      • Five (5) Myths of Modern IT
      • WWA Code Freeze - Part 2
      • Code Freeze
      • A Book of Books
      • I Was Wrong
      • WWA build 2011.03.16.002 - Updated Screen Shots
      • Script/SCCM Upgrade Office 2007 to Office 2010
      • Managing Windows, AD and SCCM via the Web?
      • WWA Project Web Site is up
      • WWA Development Notes
      • More Screen Captures
      • Screen Shots of Windows Web Admin
      • Change of Direction: SCCM Web Admin to Web Admin?
      • App-V 4.6 SP1: SFTLIST crashes during Windows 7 SP...
      • Sequencing AutoCAD 2008 with App-V 4.6 SP1
      • State of the Blog
      • Software Deployment Methods Compared
      • Correcting Myself. Again.
      • SCCM Web Admin Project (update)
      • SCCM Web Admin Project
      • SCCM Deployment Program Sequencing
      • Three Days without my Server
      • Made in 'merica
      • The Love/Hate of Technology
      • Groceries
      • My Interview with some Extreme Visionaries
      • Google CR-48 Chrome Book - More Thoughts on my Tri...
      • Beware Kindle Book Ratings
      • Do's and Don'ts from the Field
      • Useless Data: Average Daily Work E-mail Volume
      • Preparing to Migrate from XP to Windows 7 in a Dom...
      • Happy Birthday Blog
      • The Social Network vs. the Book
      • What I've Accomplished This Week
      • Business and IT Stupidity
      • IT Support 101
      • Irony or Ignorance?
      • Facebook
    • ►  February (54)
    • ►  January (1)
Powered by Blogger.

About Me

Unknown
View my complete profile