Delay Software Installation using Group Policy

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?
beemersteveAsked:
Who is Participating?
 
kevinhsiehCommented:
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
 
beemersteveAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.