?
Solved

SCCM 2012 - Run Package - VBS before Application

Posted on 2016-07-26
4
Medium Priority
?
325 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
  • 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Binary Differential Replication, What it is, how it works and how it differs from standard delta file replication
An article on effective troubleshooting
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

850 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