Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have some software that requires a .NET 4 install before them. I wonder what is the best way to make a GPO order list. I also have some software that needs certain files, so I need to prepare them first, (via batch file).

I have done some quick research however I haven't found the answer.

For example:

  1. batch file cleans some folder
  2. install .NET Framework 4
  3. install apps through MSI (commercial software)

I can't pack everything in the MSI and I also need to make sure that all the steps succeed.

share|improve this question
    
How about expanding on your question. Are you saying that you want to deploy an application with GPO but that the application has dependencies that you need to install first and that you want to install these dependencies with GPO and that you need to know the order in which GPO's are processed so that you can make sure the dependencies are installed before the application? –  joeqwerty Oct 26 '12 at 21:12
    
Hi joeqwerty, Could you explain a little bit so I could read around a bit? I can see that this can be two separate question however I need to deal with them in one:) Thank you –  Andras Sebestyen Oct 26 '12 at 21:20

2 Answers 2

First of all, let me suggest that what you want is a script. A script that (as in your example) will perform some file/folder process, check to see that they've been performed, then call the .NET 4 framework installer, check that it installed, then call your .msi, and check that it's installed.

You won't be able to create something that aborts future steps if an earlier step fails by relying on GPO order/precedence.

Having said that, "what order do my GPOs apply in" is a common enough stumbling block or question that it deserves answered, so... see Application of Group Policy.

The big takeaway is:

If you link more than one GPO to an Active Directory container, the GPO processing order (priority) is as follows: the GPO highest in the Group Policy Object Links list, displayed in the Group Policy page of the Active Directory container’s Properties page, has precedence by default. If you set the No Override option in one or more of the GPOs, the highest GPO that is set to No Override takes precedence.

Oh, but that's only if you have a very simple domain and OU structure. See Order of processing settings and Group Policy processing and precedence if you've got a more complicated setup.

Yeah, things get unsimple and unshort pretty fast with GPOs. And domains.

share|improve this answer
    
thanks very much I am learning so I will get back as I can check this out on the system. Really appreciate your answer. –  Andras Sebestyen Oct 27 '12 at 9:34

if you want to install and deploy OS+softwares in the new machines you can use IMAGEX - (please read this article) command and modify WIM images - (this article) and use SCCM and edit unattend file , SIM you can use task sequence and define steps and requirement for install perquisites before other .msi files need dot net

1- Deploy the image using the task sequence

2- use necessary post-install scripts (that were specified in the original unattend file)

3- before that read : System Requirements for .Net Framework 4

share|improve this answer
    
thanks very much I am learning so I will get back as I can check this out on the system. Really appreciate your answer –  Andras Sebestyen Oct 27 '12 at 9:34
    
so if answer is use full please plus 1 that. thanks –  saber tabatabaee yazdi Oct 28 '12 at 4:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.