[Question:] How to find the OPTIMAL way to know, which updates to integrate....

Discussion in 'Windows 8' started by moderate, May 27, 2014.

  1. moderate

    moderate MDL Guru

    Aug 31, 2009
    2,636
    2,143
    90
    #1 moderate, May 27, 2014
    Last edited: May 27, 2014
    Hello,

    here is the question for you guys specialized on updates.

    When I want to have the actual win811xXX.iso with all (necessary ones but also not too much superceded ones) updates, I do the following procedure:

    1. I build win811_PREPARATION.ISO based on ENG W811 "Update 1" version with:
    a) my language pack integrated to install.wim
    b) my language pack setup (from WinPE-ADK) integrated to boot.wim
    c) enabled desired features (TelnetClient, SimpleTCP, NetFX3)
    d) reintegrated "Update 1" KB-442, KB-087, 6x KB from KB-355 (to avoid re-requests because of lng packs and features)
    e) integrated NET FW v4-52 KB-499 (LngPack), KB-520

    2. I install PREPARATION.ISO within Virtual Machine, then run Windows Update and note all MSUs updates requested.

    3. I download all requested MSUs via Microsoft Update Catalog

    4. I build win811_FINAL.ISO which has:
    A> all a)-e) from preparation.iso
    B> integrated all downloaded MSUs in step 3.

    However there are disadvantages:
    a) the process is complicated
    b) there are still many already superceded updates integrated...

    So questions are:
    I. Is there easier way?
    II. Is there any tool, which can draw graphic tree of update dependency?
    III. Is there any way how to avoid superceded updates? (Here is what I mean: When Windows has DLL with version 6.3.9600.17031 and there are two KB updates to that DLL [1st KB update has version 6.3.9600.17041 and 2nd KB update has version 6.3.9600.17051 of it.], Windows will offer both in step 2. of above procedure, so I am integrating one redundant update in such scenario in step 4.)
     
  2. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,787
    10,376
    210
    #2 murphy78, May 27, 2014
    Last edited by a moderator: Apr 20, 2017
    You can do all this with a sysprep/capture method on a vm.
    make a vhd in diskmgmt.msc or diskpart.
    detach the vhd and use it as the only hard disk in a vm (I use vmware workstation 10.0.2)

    1) Install the desired OS.
    2) Do a dism /online feature change of your netfx3 and other features you want to turn on
    3) Install the desired language in control panel.
    Let it download from the language pack from the WU servers.
    4) Run wuapp and download any and all hotfixes and let them install/reboot until you no longer need to install anything.
    5) run dism /online /cleanup-image /startcomponentcleanup /resetbase
    This will remove any superseded updates.
    6) run %windir%\system32\sysprep\sysprep.exe /audit /reboot
    7) In audit mode, go into control panel and delete the user account you setup the system with, deleting the user files
    8) run the sysprep program (usually present whenever you start audit-mode) with oobe and shutdown options
    Whether or not to generalize is up to you. Generalizing removes the Hardware Abstraction Layer configuration info for your specific machine.
    I'm sure it probably does other stuff too. It's usually safer to use Generalize option.
    9) When machine is shut down, go back into diskmgmt.msc and attach the vhd you used.
    10) delete the users\administrator folder from the windows partition of the vhd (usually 2nd drive added since first is the boot drive)
    11) capture the vhd using dism
    Code:
    dism /capture-image /capturedir:H: /imagefile:install.wim /name:"Whatever you want to name it" /description:"The long description that appears at the bottom of the screen during setup"
    12) detach the vhd and do whatever you want with the new install.wim

    I would recommend staying away from installing any non-ms products in audit mode if you want them to function correctly after setup.
    I've found that things that mess with any sort of system settings without installing a proper package such as MS Office, will not work as intended.
    Things like winrar file associations or other similar programs that mess with your file associations should be avoided.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    7,549
    23,981
    240
    #3 abbodi1406, May 27, 2014
    Last edited by a moderator: Apr 20, 2017
    wimscript.ini is better :)
    Code:
    [ExclusionList]
    \Users\Administrator
    \Windows\Logs\CBS\*
    \Windows\Logs\DISM
    \Windows\Logs\PBR
    \Windows\Panther
    \Windows\Prefetch
    \Windows\System32\Sysprep\Panther
    \Windows\System32\Sysprep\Sysprep_succeeded.tag
    \Windows\System32\winevt\Logs\*
    \Windows\WinSxS\ManifestCache\*
     
  4. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,787
    10,376
    210
    #4 murphy78, May 27, 2014
    Last edited by a moderator: Apr 20, 2017
    I use a config.ini as well, but I didn't wanna confuse him if he isn't used to capturing any images.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. moderate

    moderate MDL Guru

    Aug 31, 2009
    2,636
    2,143
    90
    Thanks for answer. :)
    After I have read it I have added:
    dism /image:C:\mount /cleanup-image /startcomponentcleanup /resetbase
    to my procedure as step 4. C> :))

    Thanks again... :)