+ Post New Thread
Results 1 to 12 of 12
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 ...
  1. #1

    Join Date
    Jan 2013
    Posts
    73
    Thank Post
    20
    Thanked 9 Times in 9 Posts
    Rep Power
    6

    Unhappy 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

  2. #2

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,630
    Thank Post
    514
    Thanked 2,442 Times in 1,890 Posts
    Blog Entries
    24
    Rep Power
    831
    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.

  3. #3


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,577
    Thank Post
    228
    Thanked 853 Times in 732 Posts
    Rep Power
    294
    Quote Originally Posted by localzuk View Post
    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)

  4. Thanks to sted from:

    cooka (22nd January 2013)

  5. #4
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    1,201
    Thank Post
    211
    Thanked 222 Times in 191 Posts
    Rep Power
    72
    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

  6. Thanks to themightymrp from:

    cooka (22nd January 2013)

  7. #5

    Join Date
    Jan 2013
    Posts
    73
    Thank Post
    20
    Thanked 9 Times in 9 Posts
    Rep Power
    6
    Quote Originally Posted by sted View Post
    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

  8. #6
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    1,201
    Thank Post
    211
    Thanked 222 Times in 191 Posts
    Rep Power
    72
    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!

  9. Thanks to themightymrp from:

    cooka (22nd January 2013)

  10. #7


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,577
    Thank Post
    228
    Thanked 853 Times in 732 Posts
    Rep Power
    294
    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

  11. Thanks to sted from:

    cooka (22nd January 2013)

  12. #8

    Join Date
    Jan 2013
    Posts
    73
    Thank Post
    20
    Thanked 9 Times in 9 Posts
    Rep Power
    6
    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?

  13. #9
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    1,201
    Thank Post
    211
    Thanked 222 Times in 191 Posts
    Rep Power
    72
    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

  14. Thanks to themightymrp from:

    cooka (25th January 2013)

  15. #10

    sonofsanta's Avatar
    Join Date
    Dec 2009
    Location
    Lincolnshire, UK
    Posts
    4,929
    Thank Post
    860
    Thanked 1,436 Times in 987 Posts
    Blog Entries
    47
    Rep Power
    615
    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.

  16. Thanks to sonofsanta from:

    cooka (25th January 2013)

  17. #11


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,577
    Thank Post
    228
    Thanked 853 Times in 732 Posts
    Rep Power
    294
    Quote Originally Posted by cooka View Post
    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

  18. Thanks to sted from:

    cooka (25th January 2013)

  19. #12

    Join Date
    Jan 2013
    Posts
    73
    Thank Post
    20
    Thanked 9 Times in 9 Posts
    Rep Power
    6
    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:
+ Post New Thread

Similar Threads

  1. Adobe Flash msi failing to install over and over
    By Darylrese in forum Windows 7
    Replies: 8
    Last Post: 6th December 2012, 09:09 AM
  2. Replies: 5
    Last Post: 15th December 2011, 08:12 PM
  3. Deploy Software Through GP And MSI
    By DaveP in forum Windows
    Replies: 12
    Last Post: 30th October 2009, 12:57 PM
  4. Internet bandwidth over broadband
    By KeithFermor in forum Wireless Networks
    Replies: 6
    Last Post: 20th November 2005, 05:38 PM
  5. Head on over to surveys
    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
  •