DISMTools

Discussion in 'MDL Projects and Applications' started by Tito, Aug 1, 2023.

  1. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    329
    1,080
    10
    DISMTools does support servicing Windows 11 version 24H2 images, so this is a bit weird. Can you send in some screenshots?
     
  2. pawlakbest

    pawlakbest MDL Novice

    Feb 22, 2011
    12
    1
    0
    #222 pawlakbest, May 9, 2024
    Last edited: May 9, 2024
    Here are links to screenshots and logs(I don't know how to paste them here). Edit: I gave up on this.
     
  3. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    329
    1,080
    10
    Important news for developers using JetBrains IDEs: all projects are supported by Rider so you can open, build, and contribute to them.

    rider64_mDwCsKGtsG.png

    I've also performed a test refactor and a cleanup in the modified UnpEax project (C# project) and Visual Studio didn't seem to complain. If you encounter any issues, feel free to report them.
     
  4. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    329
    1,080
    10
    This change is now implemented in the latest nightly installer of DT 0.5. It will also make its way on an update to 0.4.2
     
  5. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    329
    1,080
    10
    In the hypothetical case that you were to add another installation image to your PE media, the PE helper now asks you what image to apply:

    Windows 10 x64-2024-05-18-13-17-34.png
    You won't see this by default though - only if you have added multiple installation images to the "sources" folder. Also, since it is in that folder, "boot.wim" is excluded.

    After you've selected the image, you may not be able to go back to change it. This is because there hasn't been implemented a review screen so, unfortunately, you need to reboot if you chose the wrong image file.
     
  6. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    329
    1,080
    10
    I'm working on an experiment, which is in a separate project, that I think you'll like:

    Some features include custom properties and are currently shown as plain text. However, this experiment replaces that with a tree view:

    CustomPropertyViewer_aBiZNm2xhG.png
    What do you think should be the way to show custom properties though? Let me know your feedback
     
  7. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    329
    1,080
    10
    You may encounter HTTP code 403 (Forbidden) when trying to get the feed news from the DISMTools subreddit:

    DISMTools_Ev5QMivlac.png
    The weird thing is that getting feed news still works on Visual Studio and other places:

    devenv_8ZIIIoJNNg.png
    All versions that support getting RSS feed news (0.4 - 0.5), including the updates to v0.4.2, are affected. I think it may be available for everyone in a few days but, if this is intentional from Reddit, I will explore other ways to provide not just feed news, but a dedicated website.

    If you run into this issue now and it is fixed in a few days, please let me know.
     
  8. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    329
    1,080
    10
    Fortunately, it was just a fluke on my end because it displays correctly for some reason now. Still, if you experience issues with this feature, please let me know.
     
  9. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,326
    2,507
    120
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. chib-ba

    chib-ba MDL Novice

    Nov 15, 2022
    11
    10
    0
    I have a deployed windows located at V:\ The program qoutes this path when executing Dism. It gives an error. For example this command (similar to what the program tries to run) returns an error:
    Code:
    C:\Users\******>Dism /image="V:\" /remove-provisionedappxpackage /packagename=Microsoft.BingNews_4.2.27001.0_neutral_~_8wekyb3d8bbwe
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.2792
    
    
    Error: 1639
    
    The command-line is missing a required servicing command.
    For more information, refer to the help by running DISM.exe /Image=<path_to_offline_image> /? where <path_to_the_offline_image> is the full path to an offline Windows image.
    
    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
    
    Yet this one succeeds (when the path is not quoted):
    Code:
    
    C:\Users\******>Dism /image=V:\ /remove-provisionedappxpackage /packagename=Microsoft.BingNews_4.2.27001.0_neutral_~_8wekyb3d8bbwe
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.2792
    
    Image Version: 10.0.22631.3447
    
    The operation completed successfully.
    
    Is there some workaround for this?

    Thanks in advance.
     
  11. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    329
    1,080
    10
    Thanks for reporting this issue. It's all because I assumed that the program should add quotes every time an image was passed to the DISM command line. Now, I fixed a similar issue regarding captures of entire drives. Back then, I thought that would be it, but this was an oversight. I've implemented a possible fix for this which should come out as a nightly installer shortly. Performing deployment operations on standard mount paths still works after this change, but I haven't tested this with offline installations.