+ Post New Thread
Page 1 of 3 123 LastLast
Results 1 to 15 of 38
Windows Thread, Deploying Java 7u45 in Technical; Hi folks, I'm trying to deploy Java 7u45 with GP . Previously I've used Orca to edit the MSI file ...
  1. #1
    Gongalong's Avatar
    Join Date
    Oct 2011
    Location
    United Kingdom
    Posts
    908
    Thank Post
    820
    Thanked 19 Times in 17 Posts
    Rep Power
    10

    Question Deploying Java 7u45

    Hi folks,

    I'm trying to deploy Java 7u45 with GP. Previously I've used Orca to edit the MSI file as per this helpful guide How to package and deploy Java JRE 1.6.0_26 via Group Policy | ivan's blog

    Now when I edit the 7u45 MSI file I get an error that it has "Failed to open MSI database".

    Anyone know if there's a workaround, or an alternative to editing the MSI?

    TIA

  2. #2


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,069
    Thank Post
    232
    Thanked 2,717 Times in 2,005 Posts
    Rep Power
    796
    Do you get the same error with InstEd?

  3. Thanks to Arthur from:

    Gongalong (16th October 2013)

  4. #3
    Gongalong's Avatar
    Join Date
    Oct 2011
    Location
    United Kingdom
    Posts
    908
    Thank Post
    820
    Thanked 19 Times in 17 Posts
    Rep Power
    10
    Yes, a "failed to open" error.

  5. #4

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,730
    Thank Post
    698
    Thanked 1,212 Times in 761 Posts
    Rep Power
    395
    Are you making changes directly to the MSI or creating a transform? Transforms are almost always the recommended approach, and it worked for me when I deployed 7u45 this morning.

  6. Thanks to AngryTechnician from:

    Gongalong (17th October 2013)

  7. #5
    Gongalong's Avatar
    Join Date
    Oct 2011
    Location
    United Kingdom
    Posts
    908
    Thank Post
    820
    Thanked 19 Times in 17 Posts
    Rep Power
    10
    I've never tried transforms, and used the guide above with the Orca editor.

  8. #6
    Gongalong's Avatar
    Join Date
    Oct 2011
    Location
    United Kingdom
    Posts
    908
    Thank Post
    820
    Thanked 19 Times in 17 Posts
    Rep Power
    10
    It looks like Orca is one tool used to create transforms. Are there any others?

  9. #7

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,730
    Thank Post
    698
    Thanked 1,212 Times in 761 Posts
    Rep Power
    395

  10. Thanks to AngryTechnician from:

    Gongalong (17th October 2013)

  11. #8
    Gongalong's Avatar
    Join Date
    Oct 2011
    Location
    United Kingdom
    Posts
    908
    Thank Post
    820
    Thanked 19 Times in 17 Posts
    Rep Power
    10
    As mentioned above though, InstEd won't open the MSI.

    I'm not sure if something has changed, but following Ivan's blog the MSI for u45 is much larger than for u17 (863kB vs. 25 MB) - this is the MSI retrieved from the temp directory How to package and deploy Java JRE 1.6.0_26 via Group Policy | ivan's blog

  12. #9


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,069
    Thank Post
    232
    Thanked 2,717 Times in 2,005 Posts
    Rep Power
    796
    Do you have the following two files?



    Code:
    32-bit: %UserProfile%\AppData\LocalLow\Sun\Java\jre1.7.0_45
    64-bit: %UserProfile%\AppData\LocalLow\Sun\Java\jre1.7.0_45_x64

  13. Thanks to Arthur from:

    Gongalong (17th October 2013)

  14. #10
    Gongalong's Avatar
    Join Date
    Oct 2011
    Location
    United Kingdom
    Posts
    908
    Thank Post
    820
    Thanked 19 Times in 17 Posts
    Rep Power
    10
    Nope, so let me double check the extract.

    I get jre1.7.0_45-c.msi and java_sp.dll

  15. #11


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,069
    Thank Post
    232
    Thanked 2,717 Times in 2,005 Posts
    Rep Power
    796
    Quote Originally Posted by Gongalong View Post
    I get jre1.7.0_45-c.msi and java_sp.dll
    Re-download Java using the download link(s) in the thread below and then try again.

    www.edugeek.net/forums/downloads/125430-java-runtime-environment-7-update-45-released-one-critical.html

  16. Thanks to Arthur from:

    Gongalong (17th October 2013)

  17. #12
    Gongalong's Avatar
    Join Date
    Oct 2011
    Location
    United Kingdom
    Posts
    908
    Thank Post
    820
    Thanked 19 Times in 17 Posts
    Rep Power
    10
    Wunderbar! That seems to have worked. Thanks.

    We've just started adding some 64 bit workstations. Is it just a case of adding both 32 and 64 into the GPO, and the install will just fail for the incorrect machine?

  18. #13
    Gongalong's Avatar
    Join Date
    Oct 2011
    Location
    United Kingdom
    Posts
    908
    Thank Post
    820
    Thanked 19 Times in 17 Posts
    Rep Power
    10
    Also, when removing old versions is it best to tell GP to uninstall immediately, or just leave them in place on the basis that the new version should overwrite? We have had some workstations with multiple versions of Java, so I'm guessing that the former might be the better option.

  19. #14


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,069
    Thank Post
    232
    Thanked 2,717 Times in 2,005 Posts
    Rep Power
    796
    Quote Originally Posted by Gongalong View Post
    Is it just a case of adding both 32 and 64 into the GPO, and the install will just fail for the incorrect machine?
    The 64-bit version is only required if you use a 64-bit browser e.g. IE10 when you have Enhanced Protected Mode enabled. In most cases you could get away with just installing the 32-bit version of Java (even on 64-bit editions of Windows).

    Quote Originally Posted by Gongalong View Post
    Also, when removing old versions is it best to tell GP to uninstall immediately, or just leave them in place on the basis that the new version should overwrite? We have had some workstations with multiple versions of Java, so I'm guessing that the former might be the better option.
    I use SCCM to deploy software. With that we normally uninstall the old version before installing the latest version. There seems to be far less problems that way.
    Last edited by Arthur; 17th October 2013 at 11:59 AM.

  20. Thanks to Arthur from:

    Gongalong (17th October 2013)

  21. #15
    Gongalong's Avatar
    Join Date
    Oct 2011
    Location
    United Kingdom
    Posts
    908
    Thank Post
    820
    Thanked 19 Times in 17 Posts
    Rep Power
    10
    GP gives the option to uninstall when you remove, or just leave installed on the PC. I think I'll go with uninstall moving forwards.

    One day I'll get around to setting up SCCM...

SHARE:
+ Post New Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. deploying java
    By sted in forum Windows
    Replies: 1
    Last Post: 11th September 2013, 02:05 PM
  2. Replies: 0
    Last Post: 27th July 2012, 02:20 PM
  3. Request: Creating a MSI to deploy Java Config
    By linkazoid in forum How do you do....it?
    Replies: 5
    Last Post: 26th February 2011, 09:18 AM
  4. Deploying Java 6 update 23 by msi via GPO
    By farfadet in forum Network and Classroom Management
    Replies: 10
    Last Post: 3rd February 2011, 08:02 PM
  5. Replies: 5
    Last Post: 20th October 2010, 11:36 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
  •