Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Delay Software Installation using Group Policy

Posted on 2014-02-06
2
496 Views
Last Modified: 2014-03-07
I'm trying to find a way to delay software installation in Group Policy on a Windows 2008 R2 server. We use Group Policy to deploy MS Office 2010 to all computers and we install ShoreTel as well through GP. MS Office needs to be installed before ShoreTel but MS Office takes much longer to install. Is there a way to delay the ShoreTel installation until after the MS Office installation completes?
0
Comment
Question by:beemersteve
2 Comments
 
LVL 42

Accepted Solution

by:
kevinhsieh earned 500 total points
ID: 39842877
You can install the ShoreTel via a startup script, even if that script just runs msiexec /i path-to-shoretel.msi . The startup script can check for the office 2010 installation first. I just banged out this code. You need to change paths, add comments, and test

if exist "%ProgramFiles%\Microsoft Office\Office14\winword.exe" goto InstallShoretel
if exist "%ProgramFiles(x86)%\Microsoft Office\Office14\winword.exe" goto InstallShoretel
REM If we get here, Office 2010 doesn't appear to be installed
echo No Office 2010 was found.
goto end
:InstallShoretel
msiexec /i \\domain.local\share\path\shoretel.msi
:end

Open in new window

0
 

Author Comment

by:beemersteve
ID: 39912844
Sorry this took so long, I was away on vacation. I'll test this out but it may not be for a few weeks as they have no spare computers and will be ordering a few soon. I'll accept this as the solution though.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question