Jump to content


Kops

Multi-Step Application Install

Recommended Posts

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 :)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.