Windows Server 2000/2003 Thread, Implementing MSI over GP in Technical; Hi Guys,
First post! woo!
I would like to be able to install applications through group policy using MSI's. I'm ...
-
22nd January 2013, 09:02 AM #1
- Rep Power
- 0
Implementing MSI over GP
Hi Guys,
First post! woo!
I would like to be able to install applications through group policy using MSI's. I'm not sure weather someone could step me through the procedure. At the moment, I have the MSI in a shared, accessible folder on our school server, then setting the group policy to install when user logins. But when I log into the new account, this does not install.
Cheers
-
-
IDG Tech News
-
22nd January 2013, 09:06 AM #2 Software installation only happens during boot when you're using GP to do it. So, your policy has to be assigned in such a place as to apply to computers, not users.
-
-
22nd January 2013, 09:13 AM #3 
Originally Posted by
localzuk
Software installation only happens during boot when you're using
GP to do it. So, your policy has to be assigned in such a place as to apply to computers, not users.
it is possible to assign softweare to users so it installs at logon but its more hasslw than its worth (as every time say dave goes to a pc it will install for example smartboard)
open up your group policy and its under
computer config\doftware settings\assigned applications. Right click on nthe right and add ths msi and if nesescary mst and that should be it as long as the pc has read access to the share (so either auth users or domain computers) and the policy needs to applied to pcs (and appropriate permissions/ and scope for the pc to get the policy)
-
Thanks to sted from:
cooka (22nd January 2013)
-
22nd January 2013, 09:45 AM #4 You also have the choice of setting the software as 'assigned' or 'published'. If you assign the software then it will get installed on the next boot, if you publish the software then you get links to the software in 'Add and Remove Programs' and the user can choose whether or not to install it. I have never tried the publishing method so someone correct me if I'm wrong
-
Thanks to themightymrp from:
cooka (22nd January 2013)
-
22nd January 2013, 09:49 AM #5
- Rep Power
- 0

Originally Posted by
sted
it is possible to assign softweare to users so it installs at logon but its more hasslw than its worth (as every time say dave goes to a pc it will install for example smartboard)
open up your group policy and its under
computer config\doftware settings\assigned applications. Right click on nthe right and add ths msi and if nesescary mst and that should be it as long as the pc has read access to the share (so either auth users or domain computers) and the policy needs to applied to pcs (and appropriate permissions/ and scope for the pc to get the policy)
Thanks for your quick replys guys!
OK, say if I didnt have an MSI for all the applications that I wanted to install at start up, could I create a small silent .Bat? would this work the same way?
Thanks
-
-
22nd January 2013, 09:54 AM #6 You can create a .bat to do the installs yes (I prefer to rename them as .cmd these days as Windows 7 seems to be a bit picky, maybe thats just me). Instead of adding them to the software installation part of group policy you would go to Computers --> Policies --> Windows Settings --> Scripts --> Startup and add them into here.
It is always worth writing a couple of extra lines into a .bat install to check if the software already exists, otherwise you might have it reinstalling at every boot!
-
Thanks to themightymrp from:
cooka (22nd January 2013)
-
22nd January 2013, 10:03 AM #7 yes you can do scripts something simple like
if exist "c:\program files (x86)\something\something.exe" goto end
"\\server\share$\something\setup.exe" /Q
:end
is often enough to work depends on the software
-
Thanks to sted from:
cooka (22nd January 2013)
-
25th January 2013, 09:52 AM #8
- Rep Power
- 0
Hi again,
Thanks for your reply. I'm a little confused, at the moment i'm applying a group policy to install a program (using silent .cmd) as the at computer boot, but how does the computer know to install at start up if the group policy is assigned to a user? If that makes sense? Instead of applying the GP to a user on the domain, do I need to add the user computers instead?
-
-
25th January 2013, 09:55 AM #9 Ideally, you should seperate your policies to apply to either a computer or users and only fill out the relevant GPO sections. So in your case you would assign the software to the PC's that the people would use.
There is a policy however under computer configuration (can't remember the full path to it) that is called User Group Policy Loopback Processing. Enabling this and setting the value to Merge might have the desired effect
-
Thanks to themightymrp from:
cooka (25th January 2013)
-
25th January 2013, 10:00 AM #10 Is there a reason you want to install at login or for specific users rather than just installing onto machines? Generally you just create a GPO, tie it to an OU containing computers, and add the MSI package under Software Installation in Computer Config. If you want to limit to certain users, you're probably better just limiting access to the shortcut, using file permissions or using a Software Restriction Policy for certain users.
You may also want to set Computer Config > Admin Templates > System > Verbose messages to enabled, as that way Windows 7 actually tells you what it's installing instead of just mentioning that it's installing something. Makes troubleshooting much easier.
-
Thanks to sonofsanta from:
cooka (25th January 2013)
-
25th January 2013, 12:56 PM #11 
Originally Posted by
cooka
Hi again,
Thanks for your reply. I'm a little confused, at the moment i'm applying a group policy to install a program (using silent .cmd) as the at computer boot, but how does the computer know to install at start up if the group policy is assigned to a user? If that makes sense? Instead of applying the
GP to a user on the domain, do I need to add the user computers instead?
it wont if you want it to install at bootup it needs to be in the computer part of the gpo and applied to computers not users
-
Thanks to sted from:
cooka (25th January 2013)
-
25th January 2013, 01:21 PM #12
- Rep Power
- 0
Yep - I got this to work in the end. I was being a twonk and trying to apply the GP to execute the .cmd file at computer start-up on the user account in active Dir. Instead I added the computer to an OU and applied the GP to the computer which installed VLC silently no problem. Many thanks again people!
-
SHARE: 
Similar Threads
-
By Darylrese in forum Windows 7
Replies: 8
Last Post: 6th December 2012, 09:09 AM
-
By Andie in forum Windows
Replies: 5
Last Post: 15th December 2011, 08:12 PM
-
By DaveP in forum Windows
Replies: 12
Last Post: 30th October 2009, 12:57 PM
-
By KeithFermor in forum Wireless Networks
Replies: 6
Last Post: 20th November 2005, 05:38 PM
-
By Ric_ in forum General EduGeek News/Announcements
Replies: 4
Last Post: 20th June 2005, 08:33 AM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules