Solved

Delay Software Installation using Group Policy

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ZIP or ZIPX 8 70
JDeveloper 12c for 32 bit 4 35
Disabling Admin account 1 38
Add Servers IP Address to pregenerated mail 11 17
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

706 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now