+ Post New Thread
Results 1 to 2 of 2
Windows Server 2008 R2 Thread, Group policy settings application sequence in Technical; Hello all I'm planning to deploy Java v7 update 45 via an msi using Group Policy Software Installation. The previous ...
  1. #1
    R06 is offline

    Join Date
    May 2013
    Thank Post
    Thanked 0 Times in 0 Posts
    Rep Power

    Group policy settings application sequence

    Hello all

    I'm planning to deploy Java v7 update 45 via an msi using Group Policy Software Installation.

    The previous Java version was deployed via a script running msiexec, and invoked via Scripts in Group Policies (software installation was not used, for reasons that are not relevant to the current problem).

    I'd like to uninstal the existing version before deploying update 45.

    I'd appreciate some ideas on how to do the uninstal? Once thought is to run a script containing 'msiexec /x' in the policy that is deploying update 45. But how to ensure the Script section runs before the Software Installation? And I'd be grateful if someone can point out a document that details the order in which settings within a single policy are applied.

    Another thought is to have a separate policy running 'msiexec /x' which runs before the deployment policy. But again, how to ensure that the first policy is completed before the second policy kicks in?

    Thank you.

  2. #2

    Join Date
    Dec 2009
    Thank Post
    Thanked 35 Times in 33 Posts
    Rep Power
    Well I'm sure there are a number of ways to accomplish this, but this should work.

    Put the uninstall command in as you intended.

    Create a new GPO, under this GPO create a preference item to run a scheduled task, that will install the application as desired, set this item to “Apply once and do not reapply”

    Then under Item level targeting, choose file match, and put in the path to the old file that was previous uninstalled, and under item options choose “Not”. This should ensure the option changes to “Does not exist”.

    Now this should only carry out the install if the previous install file path does not exist.

+ Post New Thread

Similar Threads

  1. Group Policy Settings References
    By DaveP in forum Windows Server 2000/2003
    Replies: 1
    Last Post: 24th November 2009, 08:07 AM
  2. Replies: 0
    Last Post: 21st November 2008, 03:28 PM
  3. Replies: 2
    Last Post: 12th November 2007, 05:52 PM
  4. Office XP Group Policy Settings
    By ZeroHour in forum How do you do....it?
    Replies: 0
    Last Post: 5th July 2007, 10:32 AM
  5. Group Policy Settings Examples
    By mattpant in forum Wireless Networks
    Replies: 20
    Last Post: 18th September 2005, 12:12 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