Windows Integration Guide - murphy78

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

  1. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,394
    11,615
    240
    #1 murphy78, Sep 5, 2013
    Last edited by a moderator: Apr 20, 2017
  2. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,394
    11,615
    240
    #2 murphy78, Sep 5, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  3. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
  4. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,394
    11,615
    240
    Thanks guys. I'll probably cover advanced topics such as wim splitting, permissions, set-edition, etc in the 2nd post if there's enough interest from people in this thread.
     
  5. Alphawaves

    Alphawaves Super Moderator/Developer
    Staff Member

    Aug 11, 2008
    6,218
    22,277
    210
    Nice.. maybe add ability to add LDR versions for updates integration ;)
     
  6. Gmas79

    Gmas79 MDL Novice

    Jan 16, 2012
    26
    11
    0
    #7 Gmas79, Sep 5, 2013
    Last edited by a moderator: Apr 20, 2017
    Nice basic tutorial.
    Using OSCDIMG for creating bootable iso image is too much trouble for nothing. Especially for first timers.
    In untouched iso just replace your customized wim image with install.wim of sources folder.
    Its not recommended. But if someone want to remove unneeded metro applications from offline image (Windows 8)
    Commands to use
    Code:
    dism /Image:D:/Dism/Mount /Get-ProvisionedAppxPackages
    Code:
    Dism /Image:D:\Dism\Mount /Remove-ProvisionedAppxPackage /PackageName:microsoft.bingfinance_1.2.0.135_x64__8wekyb3d8bbwe
    Pretty sure its working fine especially with older Windows images, but its already time to ditch
    GImageX for Dism.
    Offline customization options somewhat limited compared to online. In this area your guide have
    much room to grow. Using very flexible virtual mashines as reference PC or VHD boot for customization.
    CopyProfile.xml, merging images, applying large images using bootable Winpe.....
    Good luck.
     
  7. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,394
    11,615
    240
    I read a big long thread somewhere with a bunch of IT guys trying to remove all of the Appx packages and were having tons of problems.
    do you have any recommendations regarding removing appx packages gmas79? some dependencies or something that could be causing people issues?

    I've spent most of my integration time adding things to Windows, it'd be interesting to hear from people with a lot of experience in removing things.
     
  8. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    #9 Mr Jinje, Sep 5, 2013
    Last edited by a moderator: Apr 20, 2017
  9. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,962
    904
    60
    #10 Flipp3r, Sep 5, 2013
    Last edited by a moderator: Apr 20, 2017
    In your example your copying drivers to the mounted wim. You could just integrate them instead:
    Code:
    Dism /image:c:\mount /Add-Driver /driver:C:\Drivers.x64 /recurse /forceunsigned
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,394
    11,615
    240
    It was a long time ago. I do know they changed the default apps for win8.1, so that would no longer be accurate... You could do the /Get-ProvisionedAppxPackages with a >file.txt to point the output at a file and copy paste the newer version numbers and names into your script. It could be that they were trying to remove-package them instead of remove-provisionedappxpackage
     
  11. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,394
    11,615
    240
    #12 murphy78, Sep 5, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Yes I use that for offline integration for my win7 stuff without the /forceunsigned tag. I haven't ran into a situation where I needed to add unsigned drivers.
     
  12. rrohela

    rrohela MDL Expert

    Sep 1, 2009
    1,612
    1,408
    60
    #13 rrohela, Sep 5, 2013
    Last edited by a moderator: Apr 20, 2017
    Very nice tutorial....

    To save space after integration convert .WIM to .ESD.... tested on windows 8 & you need windows 8.1 to run this command..

    Code:
    dism /Export-Image /SourceImageFile:"d:\install.wim" /SourceIndex:1 /DestinationImageFile:"d:\install.esd" /Compress:recovery
     
  13. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,394
    11,615
    240
    #14 murphy78, Sep 5, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    HOLY CRAP I didn't know you could do that!
    I think I love you rrohela.
    I'm gonna go test that right now.
    I'm not seeing anything about /compress:recovery option. Is that new?
     
  14. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,412
    15,485
    210
  15. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,682
    18,581
    340
  16. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,682
    18,581
    340
  17. FaiKee

    FaiKee Misinformation spreader

    Jul 24, 2009
    4,303
    5,816
    150
    #20 FaiKee, Sep 5, 2013
    Last edited by a moderator: Apr 20, 2017
    I believe for win8, if you save it to ESD, it's still a wim format, because DISM win8 is unable to open/mount a real esd., I don't know if DISM win8.1 can open ESD or not, no ESD on hand to test. :D Interesting thing is, win8 installer can read ESD.