+ Post New Thread
Results 1 to 9 of 9
Windows Thread, Cant extract .msi from Java file in Technical; I've extracted it in the past fine, but the latest version is just extracting an 859KB .msi and a 27MB ...
  1. #1
    Gaz
    Gaz is offline

    Join Date
    Feb 2011
    Location
    Preston
    Posts
    477
    Thank Post
    82
    Thanked 44 Times in 40 Posts
    Rep Power
    12

    Cant extract .msi from Java file

    I've extracted it in the past fine, but the latest version is just extracting an 859KB .msi and a 27MB .cab file. The .msi is suspicously the same size as the online updater.

    It used to extract just 1 big .msi file and I could deploy that via Impero and it would install silently just fine. I've no idea how to deploy these files.

    This is the file I'm trying to use. http://download.oracle.com/otn-pub/j...ndows-i586.exe

  2. IDG Tech News
  3. #2

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,213
    Thank Post
    594
    Thanked 1,015 Times in 633 Posts
    Rep Power
    345
    I've always had a .msi and .cab file from the Java installers. It's not at all unusual for Windows Installers to be separated out this way: a .msi on its own just has a .cab embedded into it.

    I'm sure Impero must be able to deploy a setup with more than 1 file, so if you just include the .cab alongside the .msi it should work fine.

  4. Thanks to AngryTechnician from:

    Gaz (16th January 2013)

  5. #3
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    560
    Thank Post
    95
    Thanked 114 Times in 103 Posts
    Rep Power
    32
    I dont extract the java .exe I just script an install in a bat file:

    jre-7u11-windows-i586.exe /s AgreeToLicense=YES REBOOT=Suppress JAVAUPDATE=0

  6. Thanks to themightymrp from:

    Gaz (16th January 2013)

  7. #4


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    5,893
    Thank Post
    180
    Thanked 1,785 Times in 1,328 Posts
    Rep Power
    466
    Quote Originally Posted by AngryTechnician View Post
    if you just include the .cab alongside the .msi it should work fine.
    ^ This. The MSI will install the files from the .cab as long as it is in the same folder.

  8. Thanks to Arthur from:

    Gaz (16th January 2013)

  9. #5
    Gaz
    Gaz is offline

    Join Date
    Feb 2011
    Location
    Preston
    Posts
    477
    Thank Post
    82
    Thanked 44 Times in 40 Posts
    Rep Power
    12
    Quote Originally Posted by AngryTechnician View Post
    I've always had a .msi and .cab file from the Java installers. It's not at all unusual for Windows Installers to be separated out this way: a .msi on its own just has a .cab embedded into it.

    I'm sure Impero must be able to deploy a setup with more than 1 file, so if you just include the .cab alongside the .msi it should work fine.
    OK I must be losing the plot, I tried it earlier and it said it failed, I've just tried it again and its worked.

    Now to see if it works for the Win7 machines...

    EDIT: I know why its working now, I copied the .cab file to C:\ and then deployed the .msi and it worked, so it looks like Impero doesn't read the .cab from the same location as the .msi under deploy. Now I just need to remember that.
    Last edited by Gaz; 16th January 2013 at 11:32 AM.

  10. #6
    Cache's Avatar
    Join Date
    Apr 2008
    Location
    Cumbria
    Posts
    832
    Blog Entries
    2
    Thank Post
    330
    Thanked 103 Times in 102 Posts
    Rep Power
    48
    You could run the msi with /a and it will build you an administrative install point to deploy it from. I used to do it this way until I realised the cab file worked (not using impero though)

  11. #7


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    5,893
    Thank Post
    180
    Thanked 1,785 Times in 1,328 Posts
    Rep Power
    466
    Quote Originally Posted by Gaz View Post
    so it looks like Impero doesn't read the .cab from the same location as the .msi under deploy.
    Considering how much Impero costs you would have thought it would be able to do this?

  12. #8
    Gaz
    Gaz is offline

    Join Date
    Feb 2011
    Location
    Preston
    Posts
    477
    Thank Post
    82
    Thanked 44 Times in 40 Posts
    Rep Power
    12
    Quote Originally Posted by Arthur View Post
    Considering how much Impero costs you would have thought it would be able to do this?
    I intend to submit is as a feature request. When you deploy an .msi it copies it to C:\ of the target computer all I have to do to make it work is to copy the data1.cab file to C:\ and then deploy the .msi and it installs.
    As you say it needs to be in the same folder.

  13. #9

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,213
    Thank Post
    594
    Thanked 1,015 Times in 633 Posts
    Rep Power
    345
    I'd say you need a proper deployment system.

SHARE:
+ Post New Thread

Similar Threads

  1. batch file to extract data from robocopy log
    By projector1 in forum Scripts
    Replies: 2
    Last Post: 26th May 2012, 05:30 PM
  2. Extract an MSI from smartboard software 9.7
    By FN-GM in forum Educational Software
    Replies: 14
    Last Post: 9th December 2008, 10:15 AM
  3. Extracting data from an MIS
    By MikeBostock in forum MIS Systems
    Replies: 76
    Last Post: 27th February 2008, 09:18 PM
  4. need to extract text from a string in excel
    By projector1 in forum How do you do....it?
    Replies: 7
    Last Post: 14th February 2007, 01:41 PM
  5. Replies: 2
    Last Post: 3rd February 2006, 10:01 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
  •