Site icon TechZilica ~ On the Edge

How to Deploy .MSI Software Packages Using ConnectWise Automate

ConnectWise Installer Script

<h2>Intro<&sol;h2>&NewLine;<p>One of the most common tasks I use ConnectWise scripts for is deploying software to our windows endpoints&period;<&sol;p>&NewLine;<p>I&&num;8217&semi;ve developed a habit of running PowerShell natively on the client than utilizing ConnectWise logic especially with software deployment as I find it is more reliable&comma; which is why everything in this script is using PowerShell and is based off of a real use case of needing to deploy a softphone called 3CX to client workstations&period;<&sol;p>&NewLine;<p>This script will download an &period;MSI from a direct download URL on the internet and then run the MSI installer with the following switches &&num;8211&semi;<&sol;p>&NewLine;<blockquote><p>ALLUSERS&equals;1 &sol;qn &sol;norestart &sol;log output&period;log<&sol;p><&sol;blockquote>&NewLine;<p>You need to adjust your MSI installer switches depending on the software you are trying to install&comma; as different MSI packages have different options&period; Common MSI command line options can be found <a href&equals;"https&colon;&sol;&sol;docs&period;microsoft&period;com&sol;en-us&sol;windows&sol;win32&sol;msi&sol;standard-installer-command-line-options">here<&sol;a>&period;<&sol;p>&NewLine;<p>The end of the script can send an email which allows for easy tracking of PCs you can check on for success&period; You will need to adjust the recipient email&period;<&sol;p>&NewLine;<h2>Method<&sol;h2>&NewLine;<p>My script is a simple and lightweight 5 line instruction set covering downloading and executing the &period;MSI package&colon;<&sol;p>&NewLine;<p><img src&equals;"http&colon;&sol;&sol;techzilica&period;com&sol;wp-content&sol;uploads&sol;2022&sol;06&sol;number-2-1024x659&period;jpg" alt&equals;"ConnectWise Automate Script" loading&equals;"lazy" srcset&equals;"http&colon;&sol;&sol;techzilica&period;com&sol;wp-content&sol;uploads&sol;2022&sol;06&sol;number-2-1024x659&period;jpg 1024w&comma; http&colon;&sol;&sol;techzilica&period;com&sol;wp-content&sol;uploads&sol;2022&sol;06&sol;number-2-300x193&period;jpg 300w&comma; http&colon;&sol;&sol;techzilica&period;com&sol;wp-content&sol;uploads&sol;2022&sol;06&sol;number-2-768x494&period;jpg 768w&comma; http&colon;&sol;&sol;techzilica&period;com&sol;wp-content&sol;uploads&sol;2022&sol;06&sol;number-2&period;jpg 1422w" sizes&equals;"&lpar;max-width&colon; 1024px&rpar; 100vw&comma; 1024px" width&equals;"1024" height&equals;"659"><&sol;p>&NewLine;<h2>Download<&sol;h2>&NewLine;<p>I have made this script free for commercial use as long as it is not compeitive to TechZilica&period;com&period;<&sol;p>&NewLine;<p><a href&equals;"https&colon;&sol;&sol;mega&period;nz&sol;file&sol;aRgDSDbD&num;AtpIpMoSrw4OFHSkJ&lowbar;VskaPDQltDvFQv7udLgbSTfyo" role&equals;"button"><br &sol;>&NewLine;Download Now<br &sol;>&NewLine;<&sol;a><&sol;p>&NewLine;

Exit mobile version