DISMTools

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

  1. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,527
    2,765
    120
    In english ... language and regional setting no work in default winpe

    Use deepl @vigipirate
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    383
    1,227
    10
    Another long-standing bug has been fixed. The program would randomly freeze for no reason and extended periods, and would also not return. Now it has been fixed. The following comment in the source code for the latest nightly installers explains the process of fixing this issue:

    devenv_0UCWz41I8J.png

    Now, you'll find a temporary freeze more frequently. This is because the mounted image detector stops and then restarts after a delay. Now, it can be lived with better than before.

    This will make its way into Beta 2 of DISMTools 0.6 and Update 2 of version 0.5.1, which will come out around October 26 (a special day in Windows history)
     
  3. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    383
    1,227
    10
    To add to the previous post, the events that would trigger a freeze were:
    • A change in the color scheme
    • UAC prompts
    • Pressing CTRL+ALT+DEL
    • Closing the laptop lid (or putting your device to sleep)
    • Random occurrences
    These happened at random. Sometimes they would freeze the program, other times the UI still responded. This meant that I wasn't ready to respond when it happened.

    These all trigger the UserPreferenceChanged application event (WM_SETTINGCHANGE in C++). Further testing of the change has concluded that the fix was successful on Windows 11 and 8.1 (it should also work fine on Windows 10 and the servers), so I can finally end the endless debugging sessions.
     
  4. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    383
    1,227
    10
    Now that we're getting closer to Beta 2 of DISMTools 0.6, I would like to ask you what you would like to see in either this version or future versions. So, what do you want to see in DT?
     
  5. vigipirate

    vigipirate MDL Senior Member

    Feb 24, 2011
    404
    100
    10
    hello that I can put the keyboard in WinPE in my language fr-fr no US-us or Chinese? my language
     
  6. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    383
    1,227
    10
    For now, you will need to boot to the PE and set the keyboard layout from there, using wpeutil, but I've already told you
     
  7. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    383
    1,227
    10
    An easier way to load the registry hives of images is on its way:

    Image registry hives_b1.png
    This control panel makes it easier to manage the registry hives. With this, you will no longer have to load a command prompt window and run REG LOAD and UNLOAD commands. This is still in the design phase, however
     
  8. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    383
    1,227
    10
    Here's a revised design of this control panel:
    Image registry hives 1_b1.png
    You can now use it with the latest nightly installer, by going to "Tools > Manage imageregistry hives...". Translation support will be added later on
     
  9. vigipirate

    vigipirate MDL Senior Member

    Feb 24, 2011
    404
    100
    10
    hello thank you but what is hive location and path in the registry please excuse but a little novice video please
     
  10. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    383
    1,227
    10
    @vigipirate, thanks for asking. "Hive location" is the path of any registry hive. These are stored, in most cases, in "Windows\system32\config":

    bYTfoiuiJm.png
    "Path in the registry" will tell you where the hive will be loaded. These are loaded in "HKEY_LOCAL_MACHINE\z<Name of Hive>" (to not conflict with the hives loaded by the OS). Here is the final result:

    DISMTools_jqJYlcgUeJ.png
     
  11. vigipirate

    vigipirate MDL Senior Member

    Feb 24, 2011
    404
    100
    10
    hello so if I understood correctly I am mounting my image with dism tool boot.wim I'm going to look for my image, I'm looking for Windows-system32-config after I dry it, I figured out how I but my boot.wim mounted in my swaddle I have the WinPE_OCs in my language can you please make a video how to change the language with your remote software I am new to this field any demo language suits me if possible fr-fr my language thank you again for your work Sir
    google translate
     
  12. vigipirate

    vigipirate MDL Senior Member

    Feb 24, 2011
    404
    100
    10
  13. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    383
    1,227
    10
    New ISO images you create with the ISO creation tools will now feature a README file:

    Notepad_saALN31p2G.png
    The README contents are translated into every language currently supported by DT (English, Spanish, French, Portuguese, and Italian)
     
  14. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    383
    1,227
    10
  15. vigipirate

    vigipirate MDL Senior Member

    Feb 24, 2011
    404
    100
    10
  16. redsunset

    redsunset MDL Member

    Mar 16, 2022
    182
    86
    10
    Hi. I'm getting this error when I press any of the get info buttons. Also, there are no items listed in the remove windows. It's definitely something on my end but I have no idea what. I'm on LTSC 2024, .net is up to date.
    System.NullReferenceException: Object reference not set to an instance of an object.
    at DISMTools.GetDriverInfo.SearchDrivers(String sQuery, Boolean OriginalNames)
    at DISMTools.GetDriverInfo.SearchBox1_TextChanged(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
    at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e)
    at System.Windows.Forms.Control.set_Text(String value)
    at System.Windows.Forms.TextBoxBase.set_Text(String value)
    at System.Windows.Forms.TextBox.set_Text(String value)
    at DISMTools.GetDriverInfo.GetDriverInfo_Load(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.Form.WmShowWindow(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    Error Message: Object reference not set to an instance of an object.

    Error Code (HRESULT): 80004003

    Program information:
    - DISMTools Version: 0.5.1.2493
    - Preview release? No
    - Branch: stable
    - Build time: 240928-0825
     
  17. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    383
    1,227
    10
    @redsunset, I'll work on a possible patch for this. I'll also improve the reporting slightly more
     
  18. The Windows Guy

    The Windows Guy MDL Senior Member

    Dec 7, 2020
    383
    1,227
    10
    Exception reporting will include basic information about the image you are servicing. This will only happen when managing images and offline installations.

    @redsunset, could you try this nightly installer from the "dt_pre_24101" branch?
     
  19. redsunset

    redsunset MDL Member

    Mar 16, 2022
    182
    86
    10
    tried it
    System.NullReferenceException: Object reference not set to an instance of an object.
    at DISMTools.GetPkgInfoDlg.GetPkgInfoDlg_Load(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.Form.WmShowWindow(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    Error Message: Object reference not set to an instance of an object.

    Error Code (HRESULT): 80004003

    Program information:
    - DISMTools Version: 0.6.0.24101
    - Preview release? Yes
    - Branch: dt_preview
    - Build time: 241011-1158
    Information about the image loaded in this project:
    - Image name: Windows 11 Enterprise LTSC
    - Image description: Windows 11 Enterprise LTSC
    - Image version: 10.0.26100.1742