DISMTools

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

  1. vigipirate

    vigipirate MDL Senior Member

    Feb 24, 2011
    396
    97
    10
    comment

    C:\WinGet>winget installe DISMTools
    Un package existant a déjà été installé. Tentative de mise à niveau du package installé...
    Mise à niveau disponible introuvable.
    Aucune version de package plus récente n’est disponible à partir des sources configurées.

    C:\WinGet>
     
  2. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    328
    1,076
    10
    Do you already have DISMTools installed? If so, you don't have to do anything, as WinGet (hopefully) may pick updated versions in the future
     
  3. vigipirate

    vigipirate MDL Senior Member

    Feb 24, 2011
    396
    97
    10
    simpled github
     
  4. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    328
    1,076
    10
    The nightly installer in the "dt_pre_2412" branch now has detections for this thing.

    What was done in that aspect is:
    • Pass the "/NoRestart" flag to DISM to skip system restarts
    • Added detections for whether the error boxes contain "BC2" and display the following message:
    I haven't tested those things yet, but they should work. Try performing the changes described and tell me if they work correctly.
     
  5. ohault

    ohault MDL Member

    Dec 27, 2022
    192
    52
    10
  6. wuliyen

    wuliyen MDL Novice

    Oct 6, 2009
    14
    4
    0
    Where are the language files?
     
  7. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    328
    1,076
    10
    The language files for what? The program?
     
  8. stayboogy

    stayboogy MDL Addicted

    May 1, 2011
    855
    227
    30
    #129 stayboogy, Jan 22, 2024
    Last edited: Jan 22, 2024
    Does this do anything the DISM doesn't already? It's just a detailed gui for the DISM correct?

    it looks fantastitc and is definitely thorough.

    i was just curious because reading through the thread I didn't see it did anything I can't do already with the DISM.
     
  9. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    328
    1,076
    10
    In its essence, yes. But, like you've stated, it's an advanced front-end.
     
  10. stayboogy

    stayboogy MDL Addicted

    May 1, 2011
    855
    227
    30
    great job on the design and everything.

    I wasn't meaning to be negative towards it at all, mainly just wanted to make sure I didn't miss something.
     
  11. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    328
    1,076
    10
    No problem! I didn't consider that negative feedback
     
  12. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    328
    1,076
    10
    Coming in DISMTools 0.4.1 is the ability to import drivers from an image or an installation to another image. This guarantees that the target image will have the same hardware compatibility:

    upload_2024-1-25_17-26-34.png
    This is in internal testing stages, so it won't come out for a bit.
     
  13. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    328
    1,076
    10
    #136 The Windows Guy, Jan 25, 2024
    Last edited: Jan 25, 2024
    You need to create your folder containing the translated Help contents and identify it with a two-letter language code, like "en" or "fr", and copy the English documentation to it. Then, you have to translate the text in the Markdown files and the navigation contents in mkdocs.yml

    You can also modify the image files, in the "res" directory, to reflect the language you're translating to. You'll need to follow the instructions in the README file
     
  14. nekro666

    nekro666 MDL Novice

    Aug 25, 2013
    20
    2
    0
    can add a context menu setting to the program? I don't like it very much, there are a lot of items that I don't use. I think the menu is overloaded. 1. Sore eyes. 2. inflate the menu with useless items
     
  15. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    328
    1,076
    10
    Right now, the main thing is to add and improve functionality to make it reliable, and not to work purely on the design aspects. Your suggestion will be considered, but will not be implemented for a bit. Still, thanks for the feedback!
     
  16. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    328
    1,076
    10
    The driver import functionality is now fully implemented, with translations and some fixes. Also, if the process fails, you'll see this detailed description:

    Code:
    Either this operation has failed or some drivers were not installed. Consider reloading this project or mode to see whether there are driver changes.
    
    If there are driver changes, consider reading the driver installation logs, stored in the INF directory of the target image. Otherwise, export the drivers you want to add from the source image and add them to the target image manually.
    
    You can also manually customize the export directory by deleting the drivers you don't need. This may be another way to fix this problem, but you will need to temporarily pause the driver addition procedure before it scans the export directory (this can be done by selecting anything from the DISM command prompt window that appears when performing an operation)
     
  17. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    328
    1,076
    10
    You can now access the offline installation management mode from the command line with the new /offline parameter. Specify this parameter and then the drive containing the desired installation, like this:

    Code:
    dismtools.exe /offline:D:\