Tuesday, March 22, 2011

Updated batch installer for Telerik products


As you may recall, with the Q3 2010 release, I created a simple but useful PowerShell script that automates the process of updating your complete Telerik Ultimate Collection toolbox. In short, the script automatically uninstalls all old Telerik installs and then silently runs the MSI installers for all of the new bits. I have updated the script to now work with the Q1 2011 bits!

Usage Reminder

You can review the full overview in the original script post as the core behavior of this PowerShell script has not changed much to support Q1. To use this batch installer, simply:

  1. Download all of the Q1 2011 MSI installers
    • Place them in a single folder (by default, I expect a path of "C:\Program Files (x86)\Telerik\Downloads\Q1 2011\")
  2. Download the latest PowerShell script updated for Q1
  3. Run the script!
    • All pre-Q1 Telerik installs will be removed and all Q1 MSIs that you have downloaded will be installed

You can also always re-run the script and it will only uninstall pre-Q1 installs and only install Q1 bits that are not already installed. In other words, rerunning the script won't uninstall everything and reinstall everything (unless you force it to do that, which is an option when editing the script). This is useful if, for example, an uninstaller fails the first time. Just re-run the batch script to try the uninstaller again.

Download the Script

That's pretty much all there is to it. This is a manual, repetitive task time saver for those of you that, like me, want to update your system or VMs to have all of the latest and great Telerik bits. If you have a clean system with no installs, you can also use this script to quickly string together installs of all Ultimate Collection tools.

Download the updated Q1 2011 batch installer script


Bryan Brannon said...

Thanks Todd, this script saves me a ton of time each release!

John Kaster said...

Thanks, this looks like a great time saver. One wrinkle for me: I don't use the standard install directory. What parameter do I need to add to the script to customize the installation folder?

Todd Anglin said...

@John- No problem. Simply change line 25 of the PowerShell Script. On that line you'll find a variable called "$installersDirectory" set to the path where the installers are located. Just change this path and you should be set.

Hope that helps.