Solved

Delay Software Installation using Group Policy

Posted on 2014-02-06
2
489 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
outlook 365  Desktop Alert 6 38
Scheduled Tasks Tweak 5 31
VBA - If Bookmark = "XXBOOKMARKXX" then 15 29
Outlook 2013 License Question 8 27
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

809 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