1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Ok will check with that image too and reply back.

    Then do integrate the .Net Framework 3.5 only after the component removal i.e at the last stage.

     
  2. Zanza-kun

    Zanza-kun MDL Junior Member

    May 28, 2012
    87
    15
    0
    Awesome ! For RS2 please. Personally I like how it is (but maybe 7z would be better?).
     
  3. kubbik

    kubbik MDL Novice

    May 30, 2016
    18
    5
    0
  4. dertoddster

    dertoddster MDL Novice

    Apr 17, 2015
    3
    0
    0
    In MSMG 7.1 and Redstone2 im missing the option to remove "Windows Content Delivery Manager" (Candy Crush, Twitter Aps...).
    Is this feature not possible/implemented with Redstone2 ?
     
  5. R23

    R23 MDL Member

    Apr 5, 2017
    124
    28
    10
    No missing this option
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Windows 10 User

    Windows 10 User MDL Guru

    Feb 2, 2017
    2,005
    122
    90
    #2048 Windows 10 User, May 3, 2017
    Last edited: May 6, 2017
    Ok, and what did you want to say with the Defender app? If I remove Windows Defender won't it be removed?
     
  7. GodHand

    GodHand MDL Addicted

    Jul 15, 2016
    534
    926
    30
    I do not remove features that are basically cornerstones of the OS itself - with regular end-user dism commands - especially when it takes a couple minutes to mount the offline registry hive(s) and add any registry entries you need to completely disable a feature along with its services. For packages that are immersed in the OS itself then yes, the API is used.

    I was not going to get into the DISM.API since that may confuse people further, but since you brought it up, some cmdlets do use it - as an example one of my more "exclusive" PShell scripts I use for images on my enterprise server uses PShell to allocate all structures into a "heap." Moreover, the DismMountImage function then maps the entire offline image contents to a supported directory on my deployment server, and then runs the DismOpenSession function which then allows for the removal of packages with a final call to the DismDelete function. Then the changes are committed and the session is closed. Finally the image is unmounted and "shut down."

    Sounds complicated but writing C++ scripts to do such basic tasks of removing and adding packages, installing drivers and enabling features is very simple and can be used within a PShell script, too. Especially with PowerShell ISE and Visual Studio.

    But this is well beyond the simplicity 99% of automated tools do in retrospect of what they remove - the same packages, apps, etc. to make and OS lighter and less bloated. In that light using the cookie-cutter dism commands suffices fine.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. kubbik

    kubbik MDL Novice

    May 30, 2016
    18
    5
    0
    i'm trying to integrate the Windows Store app to Windows 10 Enterprise 2016 LTSB x64.
    i tried many ways but none of them work.
    All dependencies are in the Packs\Apps\w10 directory (Microsoft.NET.Native.Framework, Microsoft.NET.Native.Runtime & Microsoft.VCLibs)
    i applied & saved changes to source, the new install.wim contains the Program Files\WindowsApps directory.
    When i install the new iso on a VM, Windows Store appears in the start menu but doesn't work/open and there is no C:\Program Files\WindowsApps dir.

    if i install manually the app with its dependencies on a new install, it works.

    Anyone tried with succes the integration of the Windows Store app on a LTSB ISO ?
     
  9. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,735
    240
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. GodHand

    GodHand MDL Addicted

    Jul 15, 2016
    534
    926
    30
    #2052 GodHand, May 3, 2017
    Last edited: May 3, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. kuroda

    kuroda MDL Senior Member

    Aug 25, 2012
    445
    32
    10

    .....I tried here and not works ,just like you... Exactly as I had said before for MSMG here, store does not work if you use the MSMG toolkit to integrate into an offline image, I do not know why ....
     
  12. dhjohns

    dhjohns MDL Guru

    Sep 5, 2013
    3,262
    1,733
    120
    Adjust path to your install.esd
    Code:
    dism /Export-Image /SourceImageFile:C:\install.esd /SourceIndex:1 /DestinationImageFile:C:\install.wim /Compress:maximum
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Iirc Win 7 dism doesn't support ESDs and there are problems running Win 10 ADK files on Win 7 :g:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. dhjohns

    dhjohns MDL Guru

    Sep 5, 2013
    3,262
    1,733
    120
    Ah, I didn't know that. Such are the problems of an out-of-date OS.:p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. THUMPer1

    THUMPer1 MDL Junior Member

    Mar 8, 2011
    68
    9
    0
    Yeah I found out that hard way. I converted the file on my win 10 machine and copied it back over to my win 7 machine.. But I keep getting Error 6 (the handle is invalid) when trying to remove the default apps. Maybe I should do this whole thing on windows 10 instead?
     
  16. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,093
    24,397
    340
    Yep, better try on Win 10.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...