Jump to content

Software Deploy - MSI Packages

Recommended Posts

Software Deployment Script Template
I created this script to simplify new software deployments. Please remember that this is meant to be a template, to feel free to customize it to fit your deployment needs. 
• This script can be used for multiple software deployments from a parent script (such as Onboarding or a New Computer Build)

What it does: 
 - Checks to see of the Software is already installed on the computer. 
 - Creates a ticket for accountability. 
   - As the script runs, updates the status of the installation
   - Comments the ticket if the download fails. 
   - Attaches the installation string and computers response when executed.
   - Verifies if the software is successfully installed or not. 
   - Automatically closes the ticket once the software's installation is complete and verified. 
   - Gives you the option to add billable time to the ticket. 
 - Downloads the software installer from Web/FTP to the installation folder you specify on the local computer (default: C:\Support\Vender)
   - Ready for both x32 & x64 bit packages respectively. 
 - Executes a MSI installation silently by default. 
   - You can very easily edit & execute multiple line batch or Powershell scripts from the existing execute function (which then gets displayed in the ticket). 
   - Customize it with whatever parameters /variables your installation script needs. 
 - Updates the Software & Services inventory for that computer, then confirms that the software is successfully installed. 
This template is pre-loaded with all of the variables to download & install 7-Zip. Replace the content of the variables with your software information. 
 Reminder: @SoftwarePackageName@ needs to match the exact name of the software as it exists in Add/Remove Programs. It's using this name to compare if the software is already installed and to confirm that it's successfully installed at the end. 

Template - Software Install MSI.xml

Template - Software Install MSI.zip

  • Thanks 2

Share this post

Link to post
Share on other sites

I have to give you a HUGE thank you! I have been struggling all week to figure this out. Your script worked better and did more than I was even hoping for! 😁

Edited by Brock

Share this post

Link to post
Share on other sites

I'm trying to install an msi for lastpass but i need to log into the webpage to download the msi, how do i configure that in this script?  Forgive my ignorance i'm new to ConnectWise and to scripting, but i want to thank you in advance for your assistance and this script!


Share this post

Link to post
Share on other sites

You need to download the file and upload it on a public server. You can use Google drive, dropbox.

If is not heavy you can use LTshare, but I have those kind of installers files on S3 buckets on AWS, is easier

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.

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.

  • Create New...