Skip to content

Multi-Step Application Install

Featured Replies

Hey everyone,

 

I'm looking for some help on how I can install an application that requires multiple configuration steps. I'd like to:

 

- Install a .MSI application

- Run a Powershell script to create/edit some shortcuts created by the .MSI

 

If the Application is removed, I'd like it to:

 

- Run a Powershell script to remove and cleanup the shortcuts

- Uninstall the .MSI

 

I thought about using Dependencies, but I think that would be kind of backwards. I would have to create an Application for "Update shortcuts" and have the dependency as "install the MSI" first. From there, I'm not even sure how the uninstall would look.

 

I could put this all into a Powershell script, and have the script call the .MSI installation, edit the shortcuts, etc. Then create another Powershell script to remove the shortcuts, and uninstall the .MSI.....but I thought, maybe SCCM has something built in for this that I'm not using?

Appreciate the help :)

You are spot on with a powerscript. Create it as a application. Essentially you want to run multiple lines of code in a single command. Possible but a powershell script that installs the msi and edits shortcuts is the best option.

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.