Solved

Software installation via GPO failing

Posted on 2014-02-11
6
1,147 Views
Last Modified: 2014-02-11
Hello All,

Environment: Windows 7 clients, Windows Server 2008 DC

I am trying to install an MSI using GPO. This software deployment policy is configured on Computer Configuration.

I assign the GPO to test OU (with computer accounts) --> run gpupdate /force on computer and restart.

When the computer restarts the software does not install. The only log related to it is the following:  Event 7016 Completed Software Installation Extension Processing in 1796 miliseconds

When I do rsop.msc I can see that the policy its being applied but the Software installation policy is with a yellow exclamation mark.

Where else can I check for hints?
0
Comment
Question by:LuiLui77
6 Comments
 
LVL 12

Expert Comment

by:ktaczala
Comment Utility
are you sure the msi is accessible by the client?  can't be on a mapped drive, gpo will run before drives get mapped.  Make sure path is UNC i.e. \\server\share\app.msi
0
 

Author Comment

by:LuiLui77
Comment Utility
Yes is accessible by the client, I can even install the msi manually from the UNC path.
0
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 500 total points
Comment Utility
Have you checked Programs and Features to see if it got installed? I have always discouraged people from using software deployment because you now have to administer the application from the GP Management Console. I would prefer doing this in a startup script format (if you have to use GPO to deploy software).

You can use the below syntax to accomplish this...
@echo on

if exist "%programfiles%\SoftwareFolder\SubFolder\software.dll" goto _End

Pushd "\\server\sharename\SoftwareFolder\"
MSIEXEC.exe /i "Program.msi" /q
popd

:_End

exit

Open in new window

You will then need to add this as a startup script and make sure that everyone has read/execute to this Share you have the files in.

If you still would rather use the software deployment method you will want to check the event logs as it will provide the most detail for the failure.

Will.
0
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 

Author Comment

by:LuiLui77
Comment Utility
Thanks Will, it does not even display in the Programs and features. Let me try the script. I will keep you posted.
0
 
LVL 9

Expert Comment

by:discgman
Comment Utility
Also make sure it didnt detect a previous install or stalled at the wmi installation. Here are some commands to clear this.

http://social.technet.microsoft.com/Forums/windows/en-US/6c6a8b45-d2a7-4fd9-940e-41dd9e77fb7e/windows-installer-corrupted

Please please be careful when running anything in the registry, you do not want to make a mistake and cause more issues.


Thanks
0
 

Author Comment

by:LuiLui77
Comment Utility
Will it worked Perfect, I will start on using this method, it seems a lot more controllable.

Thanks!
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

Synchronize a new Active Directory domain with an existing Office 365 tenant
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

762 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

11 Experts available now in Live!

Get 1:1 Help Now