Windows Integration Guide - murphy78

Discussion in 'Windows 8' started by murphy78, Sep 5, 2013.

  1. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,744
    10,319
    210
    #521 murphy78, Jun 28, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Do you have at least 5 gigs of free memory?
    Hmm... You might check the dism log in the logs directory and see what error it kicks out at the end of the log where it fails.
     
  2. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    6,435
    14,195
    210
    #522 Mr.X, Jun 28, 2014
    Last edited: Jun 28, 2014
    That's exactly what I was suspicious of, the amount of RAM, but I needed an expert to confirm this. Oh my, I use a 32 bit Windows 8.1 with 4GB RAM so go figure :biggrin: Then I've got 3.21 GB usable RAM minus 600 MB used by OS, hahahaha. Now what the h... I'm going to do? It's a rhetorical question :D
    Just a suggestion: you could add this info at first post this way people would know what to expect when doing esd files.
    Thanks murphy once again.
     
  3. nima1024

    nima1024 MDL Member

    Sep 18, 2010
    141
    18
    10
    #523 nima1024, Jul 10, 2014
    Last edited: Jul 10, 2014
    So, which way you recommend?

    Enabling NetFx first and then adding updates and let them have Pending status OR Adding updates first and then enabling NetFx?

    Is it really important for packages to have Pending or Installed status? After successful installation of Windows, all of them will be "installed" at last.

    And another thing,

    Does ComponentCleanUp and /ResetBase recommended on install.wim at all?
    Imagine there is no pending.xml

    Like: Adding all updates, then ResetBase, NetFx.
     
  4. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,134
    24,038
    340
    Afaik it's recommended to activate .NET first then add the Updates.

    The only time updates didn't set the pending flag was last Patch Day (july), so in most cases you aren't able to ResetBase the Image. Workaround would be to install in Audit Mode, Sysprep/Generalize and re-capture.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. nima1024

    nima1024 MDL Member

    Sep 18, 2010
    141
    18
    10
    Does it worth that much hassle at first place?
    Think we never do CleanupComponent & ResetBase in Offline mode, will we loose any special benefit or what?
     
  6. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,134
    24,038
    340
    It's more a matter of the size of the WIM :cool2:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. nima1024

    nima1024 MDL Member

    Sep 18, 2010
    141
    18
    10
    Hello,
    How can I merge multiple *.swm files into one *.wim?
     
  8. LiteOS

    LiteOS MDL Expert

    Mar 7, 2014
    1,665
    710
    60
    try with dism /export...
    its should take all swm and pack them to one wim
     
  9. nima1024

    nima1024 MDL Member

    Sep 18, 2010
    141
    18
    10
    Can you give me full command?

    I still use ImageX for this but I am very sure DISM is now capable of doing it much easier.
    imagex /ref install*.swm /check /export install.swm * install.wim "UniqueName"

    Maybe this command:
    dism /export-image /sourceimagefile:C:\install*.swm /sourceindex:* /destinationimagefile:C:\install.wim /checkintegrity /compress:maximum
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    9,808
    37,182
    300
    #530 abbodi1406, Jul 19, 2014
    Last edited by a moderator: Apr 20, 2017
    No, imagex is easier. dism require identifying each index alone:
    Code:
    dism /Export-Image /SourceImageFile:C:\install.swm /SWMFile:C:\install*.swm /SourceIndex:1 /DestinationImageFile:C:\install.wim /CheckIntegrity
    dism /Export-Image /SourceImageFile:C:\install.swm /SWMFile:C:\install*.swm /SourceIndex:2 /DestinationImageFile:C:\install.wim /CheckIntegrity
    
     
  11. ryouga

    ryouga MDL Member

    Apr 15, 2008
    144
    2
    10
    #531 ryouga, Jul 20, 2014
    Last edited: Jul 20, 2014
    Sorry to butt in but can you give me a simple way of doing this, i.e imagex is a command prompt item so how do I load it and once into it where do I type where the install wims are located i.e lets say I move the 2 wims to root of my G drive then want to merge them.

    May sound stupid but I am inexperienced.

    EDIT sorry part of what confuses me is does the star correspond to the swm number i.e I type in install1.swm but does that automatically see the 2nd swm too.
     
  12. Wazoo

    Wazoo MDL Senior Member

    Nov 5, 2013
    488
    248
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. ryouga

    ryouga MDL Member

    Apr 15, 2008
    144
    2
    10
    Thanks 2 quick final things, what do I select in that, capture or mount or something else?

    Finally since the ADK is a large file(though I have fast internet) what is the minimum I need to download and install to get imagex to work.
     
  14. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,134
    24,038
    340
    #534 s1ave77, Jul 20, 2014
    Last edited: Jul 20, 2014
    You only need 'Assessment and Deployment Tools' from the adk (several MB to install), then run imagex or dism from it's own CMD (in Start Screen/Menu All Apps/Programs 'Assessment and Deployment Tools Command Prompt'; run as admin).

    For GimageX afaik nothing needs to be installed additionally :g:. Not sure if there was an option to merge SWMs :cool2:.


    ===============
    EDIT: Seems there is no option in GimageX :cool2:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. ryouga

    ryouga MDL Member

    Apr 15, 2008
    144
    2
    10
    Thanks thanks, still a tiny but unclear on navigating to the folder i.e do I do it like a normal command prompt i.e go to H drive if that is where my swm files are then copy and paste/type that command from above and thats it and as above does it just add all the swm files as one or do I hate to type like "install.swm1 install swm2" and I assume "uniquename" is just what I want to call the wim
     
  16. Wazoo

    Wazoo MDL Senior Member

    Nov 5, 2013
    488
    248
    10
    Yes, seems as if it only works with wim files and does not replicate all the functions of imageX.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,134
    24,038
    340
    #537 s1ave77, Jul 20, 2014
    Last edited by a moderator: Apr 20, 2017
    You only need to open the Assessment and Deployment Toolkit CMD and there enter (as is):

    Code:
    imagex /ref "h:\install*.swm" /check /export "h:\install.swm" * "h:\install.wim" "UniqueName" 
    This assumes the SWM files residing on h: and writes install.wim to same location.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. ryouga

    ryouga MDL Member

    Apr 15, 2008
    144
    2
    10
    Thanks, I did it the way of H: then cd sources(as I moved the sources folder to root of drive) then the command from a page ago.

    Seems to be ok but seems to be taking ages, I have a i7 2700k and 16gb ram and no other processes running and it said 25 images processed in end and 35 minutes I assume thats normal?
     
  19. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,134
    24,038
    340
    That can take a while for that much indices :g:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. ryouga

    ryouga MDL Member

    Apr 15, 2008
    144
    2
    10
    I think it was because I had it on a usb external hdd and AV enabled, I did the Windows 8 version stored to D drive and no AV and it took 6 minutes.

    By the way I notice that the file is about 4.2 gig and I need to add about 20 meg of drivers to 2 installations and .net 4.5.2 and directx9 but still want to fit it on 1 disc so I may just go a little over so wanted to convert it to esd, once I have integrated the drivers and software to the wim what is the command to convert it to esd? I assume it will just work automatically with setup also.