Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SCCM 2012 - Run Package - VBS before Application

Posted on 2016-07-26
4
Medium Priority
?
271 Views
Last Modified: 2016-08-11
Hello Everyone:

I have configured a new .msi installation as an application, but I will need to run a VBS package to perform the uninstall of a setup.exe before (supercedence).

Any thoughts or suggestions would be greatly appreciated!
0
Comment
Question by:rmessing171
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 27

Expert Comment

by:shauncroucher
ID: 41730762
2 options,

1. Use the 'run another program first' option in the package program before running the MSI.
2. Use a task sequence to run 2 steps, first the removal and then the msi install.

Shaun
0
 

Author Comment

by:rmessing171
ID: 41731296
Hello - Thank you for the quick response!

Just curious if you have any documentation that you can reference on how I can do this with a Task Sequence?  I am familiar with using the Task Sequence for OSD, but not deploying applications.

Thank you again for your quick assistance!
0
 
LVL 27

Accepted Solution

by:
shauncroucher earned 2000 total points
ID: 41732545
Hi

It's relatively straight forward to use task sequencing outside of OSD. You need to choose the 'Custom Task Sequence' option when you run the wizard to create a new TS.

The basic steps are:

1. Create a new custom task sequence

2. Add your steps (in a similar way to how you do for package programs)  - "Install a single application" or "Run command line")

3. Advertise it to a collection.

Job done.

Shaun
0
 

Author Closing Comment

by:rmessing171
ID: 41752921
Thank you for your assistance!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Binary Differential Replication, What it is, how it works and how it differs from standard delta file replication
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question