+ 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
    733
    Thank Post
    129
    Thanked 65 Times in 57 Posts
    Rep Power
    18

    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. #2

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,722
    Thank Post
    695
    Thanked 1,206 Times in 759 Posts
    Rep Power
    393
    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.

  3. Thanks to AngryTechnician from:

    Gaz (16th January 2013)

  4. #3
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    941
    Thank Post
    177
    Thanked 179 Times in 154 Posts
    Rep Power
    43
    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

  5. Thanks to themightymrp from:

    Gaz (16th January 2013)

  6. #4


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,099
    Thank Post
    203
    Thanked 2,383 Times in 1,763 Posts
    Rep Power
    703
    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.

  7. Thanks to Arthur from:

    Gaz (16th January 2013)

  8. #5
    Gaz
    Gaz is offline

    Join Date
    Feb 2011
    Location
    Preston
    Posts
    733
    Thank Post
    129
    Thanked 65 Times in 57 Posts
    Rep Power
    18
    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.

  9. #6
    Cache's Avatar
    Join Date
    Apr 2008
    Location
    Cumbria
    Posts
    1,116
    Thank Post
    414
    Thanked 149 Times in 147 Posts
    Blog Entries
    3
    Rep Power
    59
    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)

  10. #7


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,099
    Thank Post
    203
    Thanked 2,383 Times in 1,763 Posts
    Rep Power
    703
    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?

  11. #8
    Gaz
    Gaz is offline

    Join Date
    Feb 2011
    Location
    Preston
    Posts
    733
    Thank Post
    129
    Thanked 65 Times in 57 Posts
    Rep Power
    18
    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.

  12. #9

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,722
    Thank Post
    695
    Thanked 1,206 Times in 759 Posts
    Rep Power
    393
    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
  •