ESD <> WIM Conversion batch

Discussion in 'Scripting' started by liliactr, Apr 16, 2014.

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
    crashing = integrity failed
     
  2. AsaadSoft

    AsaadSoft MDL Senior Member

    Joined:
    Jul 29, 2015
    Messages:
    349
    Likes Received:
    93
    Trophy Points:
    10
    okay, thank you so much
     
  3. patapout

    patapout MDL Novice

    Joined:
    Jun 23, 2014
    Messages:
    45
    Likes Received:
    23
    Trophy Points:
    0
    I tried the "ESD2WIM-WIM2ESD-5.zip" to compress a .wim to .esd and Wow :)
    I was surprised ... a big 45% much faster than with dism (I've just drag&drop my .wim on convert.cmd) :clap:, but the final size stay almost the same (compared to dism) !!

    A huge thanks for this great script and for saving me a lot of waiting time :)
     
  4. Fowler

    Fowler MDL Junior Member

    Joined:
    Apr 1, 2013
    Messages:
    97
    Likes Received:
    74
    Trophy Points:
    0
  5. AsaadSoft

    AsaadSoft MDL Senior Member

    Joined:
    Jul 29, 2015
    Messages:
    349
    Likes Received:
    93
    Trophy Points:
    10
    how to replace it in ESD2WIM-WIM2ESD-wimlib-imagex-5 ??

    cuz there are two files named: wimlib-imagex.exe
     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
    wimlib-imagex.exe & libwim-15.dll from wimlib-1.10.0-windows-i686-bin.zip -> \bin

    wimlib-imagex.exe & libwim-15.dll from wimlib-1.10.0-windows-x86_64-bin.zip -> \bin\bin64
     
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
  8. 正义羊

    正义羊 MDL Member

    Joined:
    Feb 21, 2016
    Messages:
    115
    Likes Received:
    52
    Trophy Points:
    10
    This is a very useful script! especially when I translate this script's propt words into Chinese,this script is useful a lot! thank you very much!
     
  9. syahendra

    syahendra MDL Novice

    Joined:
    Oct 26, 2013
    Messages:
    7
    Likes Received:
    2
    Trophy Points:
    0
    Hi i got bug or error.

    1. using ESD2WIM-WIM2ESD-wimlib (last version) ---> Error
    2. using ESD2WIM-WIM2ESD-dism (last version) ---> This runing well

    I am using the same image, and I chose the second option.
    why is there a difference ?.

    - Wimlib weak in the detection of the same image name ..?

    - Or Dism who can not filter the image the same name ..?

    please help and enlightenment?

    see pic :


    Prepare Test.png Compare.png
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
    As shown, Wimlib does not allow images with same name in same wim
    nothing i can do to workaround that
     
  11. syahendra

    syahendra MDL Novice

    Joined:
    Oct 26, 2013
    Messages:
    7
    Likes Received:
    2
    Trophy Points:
    0
    Can be concluded:each has advantages and disadvantages.
    - If find the case, then using Dism as a solution, although the speed and density of the file can not be expected, such as when using wimlib .

    Thanks.
     
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
    Nothing bad would happen if you add architecture to the name :)
     
  13. syahendra

    syahendra MDL Novice

    Joined:
    Oct 26, 2013
    Messages:
    7
    Likes Received:
    2
    Trophy Points:
    0
    ok thanks for the advice and guidance.
    I apologize in advance and ask for permission to use the technique and your script ESD <> WIM, I used to develop the tool. But my priority only to convert ESD> WIM.

    thanks:worthy:
     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
    WIM <> ESD updated

    - added new option "Export randomly selected indexes"
    - removed "Export 1st index", single index option will cover it
    - updated wimlib to latest 1.12.0
     
  15. amin fear

    amin fear MDL Novice

    Joined:
    Nov 2, 2011
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    0
    I am getting this error/warning when converting windows 10 RS4 wim to esd , what is this ?
    Should i ignore it ? the conversion completes even with this error.

    ===============================================================================
    Exporting WIM index 1 to install.esd...
    ===============================================================================
    *** This will require some time, high CPU and RAM usage, please be patient ***
    [WARNING] Ignoring children of non-directory file "\Users\Administrator\AppData\Local\Packages\Microsoft.Windows.HolographicFirstRun_cw5n1h2txyewy\LocalCache"
     
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
    The image should not contain that temporary user cache or the Administrator user account

    did you ran sysprep before capturing install.wim?
     
  17. yomoma2

    yomoma2 MDL Senior Member

    Joined:
    Feb 27, 2010
    Messages:
    347
    Likes Received:
    114
    Trophy Points:
    10
    #117 yomoma2, Sep 19, 2018
    Last edited: Sep 19, 2018
    Hi,
    When using the install.wim file from the MSDN 17134.228 consumer iso (Aug Update) as source, ESD2WIM-WIM2ESD-7 lists all the 7 indexes present. But then, when creating an install.esd with all indexes ("2") and opening it with esd-decrypter-wimlib-39 to create a esd compressed iso, only the last 4 original indexes are present (Education/EducationN and Pro/ProN, while missing Home/Home N/Home Single Language).
    Is this behavior expected? Thanks!
     
  18. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,561
    Likes Received:
    59,620
    Trophy Points:
    450
    ESD decrypter is meant for ESD>ISO conversion, not for creating esd compressed iso from a non esd compressed iso.
     
  19. yomoma2

    yomoma2 MDL Senior Member

    Joined:
    Feb 27, 2010
    Messages:
    347
    Likes Received:
    114
    Trophy Points:
    10
    Thank you. Meanwhile I've confirmed with Dism /Get-WimInfo that the install.esd has all 7 indexes present, so there's nothing wrong with it or ESD2WIM-WIM2ESD-7.
     
  20. TeamOS

    TeamOS MDL Guru

    Joined:
    May 27, 2013
    Messages:
    3,046
    Likes Received:
    1,739
    Trophy Points:
    120
    Code:
    ===============================================================================
    Exporting all WIM indexes to install.esd...
    ===============================================================================
    
    *** This will require some time, high CPU and RAM usage, please be patient ***
    
    [ERROR] There is already an image named "Windows 10 Pro" in the destination WIM
    ERROR: Exiting with error code 11:
           Tried to add an image with a name that is already in use.
    
    Errors were reported during export.
    Press any key to continue . . .
    
    is any solution of this issue , when i convert my win 10 aio install.wim to esd , its not the 1st time , getting it last 4-5mnths i think