+ Post New Thread
Page 3 of 5 FirstFirst 12345 LastLast
Results 31 to 45 of 68
Windows Thread, Packaging Java in Technical; In addition to the obvious properties I've got two reg settings (acquired around update 12 and kept ever since, just ...
  1. #31

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115
    In addition to the obvious properties I've got two reg settings (acquired around update 12 and kept ever since, just in case):

    HKLM\SOFTWARE\JavaSoft\Java Update\Policy\EnableAutoUpdateCheck => 0
    HKLM\SOFTWARE\JavaSoft\Java Update\Policy\EnableJavaUpdate => 0

    I didn't have to, and you really don't want to faff around with active setup. Not 100% sure but I think the setting the property EULA_JAVAFX_ACCEPT to "yes", sorted that. If you go to the java.com, do the version check then run the test app and don't get a pop-up eula then it worked.

    I also take out the quick start service footprint with a "jqs.exe -unregister".

    And the fairly important top-secret (unless you RTFM) bit: You can get the EXE installer to spit out different versions of the MSI.. one will install over an existing java (patch in place), another will install alongside... I think you need to read their expanation.

  2. 2 Thanks to PiqueABoo:

    cookie_monster (8th December 2009), Edu-IT (7th December 2009)

  3. #32
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,196
    Thank Post
    392
    Thanked 278 Times in 239 Posts
    Rep Power
    74
    Quote Originally Posted by PiqueABoo View Post
    In addition to the obvious properties I've got two reg settings (acquired around update 12 and kept ever since, just in case):

    HKLM\SOFTWARE\JavaSoft\Java Update\Policy\EnableAutoUpdateCheck => 0
    HKLM\SOFTWARE\JavaSoft\Java Update\Policy\EnableJavaUpdate => 0

    I didn't have to, and you really don't want to faff around with active setup. Not 100% sure but I think the setting the property EULA_JAVAFX_ACCEPT to "yes", sorted that. If you go to the java.com, do the version check then run the test app and don't get a pop-up eula then it worked.

    I also take out the quick start service footprint with a "jqs.exe -unregister".

    And the fairly important top-secret (unless you RTFM) bit: You can get the EXE installer to spit out different versions of the MSI.. one will install over an existing java (patch in place), another will install alongside... I think you need to read their expanation.


    Yes they finally added a switch that will remove old versions a while back but as you say they completly fail to mention it anywhere.

  4. #33

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,121
    Thank Post
    403
    Thanked 619 Times in 566 Posts
    Rep Power
    180
    So, right, to get this straight.

    The package I have from you (thanks!) and those registry edits to install this?

  5. #34
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,196
    Thank Post
    392
    Thanked 278 Times in 239 Posts
    Rep Power
    74
    I missed a setting that you'll need to change. Using Orca edit the property table so the EULA is 0 "EULA"="0" when I do that I don't have to set the below setting.

    I didn't have to, and you really don't want to faff around with active setup. Not 100% sure but I think the setting the property EULA_JAVAFX_ACCEPT to "yes", sorted that. If you go to the java.com, do the version check then run the test app and don't get a pop-up eula then it worked.

    Then the only key i've added using a .bat file or Group Policy Preferences is the one below it seems to work fine now for me. Try it on a couple of PC's and go to java.com and see if the EULA pops up.


    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
    "EnableJavaUpdate"=dword:00000000

    So all you need to do once you've made the EULA change to the msi is.

    1. Deploy the msi using group policy to a test PC not forgetting to add the mst file.
    2. Deploy the reg setting and check using regedit that it has applied.

    That should be it.
    Last edited by cookie_monster; 8th December 2009 at 02:16 PM.

  6. #35

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,121
    Thank Post
    403
    Thanked 619 Times in 566 Posts
    Rep Power
    180
    Right, so I'm going to be using a CMD file to install this and the registry changes.

    Something like:

    pushd "\\srv001\Location\To\Packages\Java\v1.0.0.0"

    start /wait java.msi /S

    regedit /S regedits.reg

    Now.. how can I include the transform file? I never got on with them before so I just edited the MSI directly and saved it as an MSI.

  7. #36
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,196
    Thank Post
    392
    Thanked 278 Times in 239 Posts
    Rep Power
    74
    Quote Originally Posted by Edu-IT View Post
    Right, so I'm going to be using a CMD file to install this and the registry changes.

    Something like:

    pushd "\\srv001\Location\To\Packages\Java\v1.0.0.0"

    start /wait java.msi /S

    regedit /S regedits.reg

    Now.. how can I include the transform file? I never got on with them before so I just edited the MSI directly and saved it as an MSI.


    Are you not going to use group policy to deploy the app?

    If your doing it by command script then its /T to specify a transform but I haven't ever done it this way. You could possibly use Orca to make the transform changes part of the msi. I'd use group policy if at all possible.

    Command-Line Switches for the Microsoft Windows Installer Tool
    http://support.microsoft.com/kb/227091
    Last edited by cookie_monster; 8th December 2009 at 02:22 PM.

  8. #37

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,121
    Thank Post
    403
    Thanked 619 Times in 566 Posts
    Rep Power
    180
    RM CC4. Edit directly in GP at risk of death.

    I'll test /t to apply it on my test area and if that works, then great, otherwise I'll go down the route of editing in Orca like I have done for others.

    Thanks so much for your help. There's a beer with your name on it.

  9. #38
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,196
    Thank Post
    392
    Thanked 278 Times in 239 Posts
    Rep Power
    74
    Quote Originally Posted by Edu-IT View Post
    RM CC4. Edit directly in GP at risk of death.

    I'll test /t to apply it on my test area and if that works, then great, otherwise I'll go down the route of editing in Orca like I have done for others.

    Thanks so much for your help. There's a beer with your name on it.

    I thought RM CC3 and above used msi's for deploying software or you could use WinInstall to create msi's then deploy with RM package manager or whatever it's now called, I haven't used it since 2.4.

    Can you not just deploy an msi with the native RM tools?

  10. #39

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,121
    Thank Post
    403
    Thanked 619 Times in 566 Posts
    Rep Power
    180
    You can indeed. Just last time I tried I couldn't get the transform out. Should the MSI pick up the transform file? There's probably a way to include it.

    I think to be fair if that is the route I am going down then I may as well just edit the MSI and include the changes in there, and scrap the MST.

    In theory could create a new package entirely.

    Run the Java MSI you gave me > Make the registry edits > Package

    All done through WinLE.

    Should do nicely. Ay?

  11. #40

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,121
    Thank Post
    403
    Thanked 619 Times in 566 Posts
    Rep Power
    180
    In the MSI am I to edit the 'Property' table or the 'Registry'?

  12. #41
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,196
    Thank Post
    392
    Thanked 278 Times in 239 Posts
    Rep Power
    74
    Quote Originally Posted by Edu-IT View Post
    In the MSI am I to edit the 'Property' table or the 'Registry'?

    Edit the property table it seems to be more straight forward change EULA to 0. It worked in testing for me yesterday, I didn't see a licence prompt on javea.com.

  13. #42
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,196
    Thank Post
    392
    Thanked 278 Times in 239 Posts
    Rep Power
    74
    Quote Originally Posted by Edu-IT View Post
    You can indeed. Just last time I tried I couldn't get the transform out. Should the MSI pick up the transform file? There's probably a way to include it.

    I think to be fair if that is the route I am going down then I may as well just edit the MSI and include the changes in there, and scrap the MST.

    In theory could create a new package entirely.

    Run the Java MSI you gave me > Make the registry edits > Package

    All done through WinLE.

    Should do nicely. Ay?


    The MST contains allot of changes so you'll have to merge it with the msi file, i'm almost certain RM tools provide a way to add an MST. Put a post on the forums. Or you could repackage it using WinLE but it works so well with the MST i'd try to stick with that.

  14. #43

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,121
    Thank Post
    403
    Thanked 619 Times in 566 Posts
    Rep Power
    180
    Quote Originally Posted by cookie_monster View Post
    The MST contains allot of changes so you'll have to merge it with the msi file, i'm almost certain RM tools provide a way to add an MST. Put a post on the forums. Or you could repackage it using WinLE but it works so well with the MST i'd try to stick with that.
    Yeh I merged them both in Orca.

    Sorry, doing many things at the same time, and as a result I'm asking stupid questions which I could figure out if I sat down and thought. Apologies mate!

    I've merged the transform, saved the MSI, and now I'm going to use LE to make a package that includes the registry changes. Then, if that works, I can put this baby to bed until they decide to release another next week.

  15. #44
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,196
    Thank Post
    392
    Thanked 278 Times in 239 Posts
    Rep Power
    74
    I can put this baby to bed until they decide to release another next week.
    No doubt later today, last time I updated Java a new version arrived the next day.

  16. #45

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,121
    Thank Post
    403
    Thanked 619 Times in 566 Posts
    Rep Power
    180
    HKLM\SOFTWARE\JavaSoft\Java Update\Policy\EnableAutoUpdateCheck => 0
    HKLM\SOFTWARE\JavaSoft\Java Update\Policy\EnableJavaUpdate => 0

    There's no EnableAutoUpdateCheck so I assume I can skip this? Or do I need to add it? I've created it just in case but would be nice to know.

SHARE:
+ Post New Thread
Page 3 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. Application packaging
    By ajbritton in forum Courses and Training
    Replies: 3
    Last Post: 18th August 2010, 02:04 PM
  2. MSI Packaging
    By Kained in forum Windows
    Replies: 16
    Last Post: 10th February 2009, 02:38 PM
  3. [Pics] HP packaging policy
    By sparkeh in forum Jokes/Interweb Things
    Replies: 3
    Last Post: 21st November 2008, 09:24 PM
  4. CC3/4 packaging?
    By powdarrmonkey in forum Network and Classroom Management
    Replies: 5
    Last Post: 20th October 2008, 10:08 PM
  5. Web site packaging
    By plexer in forum Web Development
    Replies: 1
    Last Post: 21st January 2008, 11:50 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
  •