MSMG ToolKit

Discussion in 'MDL Projects and Applications' started by MSMG, Nov 21, 2013.

  1. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    314
    270
    10
    Windows strategy will not make any difference if:

    1) Linux will start provide a satisfactory drivers for any more-less workable HW (10 years old or so).
    2) A big vendors like Adobe, Autodesk, etc. will start looking at Linux side
    3) If users will start feel they can move to Linux in regular work, producing real projects using "hard" soft suites.

    But Linux have to make smth. new and really georious at 1-st time in their long era.
    For example, an easy way to run any Windows "big software" on Linux.
    Then era of "big software" will come on Linux natively.

    Then M$ die. I wish they die from deep of my heart, as soon as possible.
     
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Multiple index removal in WIM Manager is not added since it's a tricky thing, say you want to delete 1,3,4,5 when you delete index 1 then 3 won't be the 3 as 3 will be 2 now, so it needs more careful methods to detect the index number each time.

     
  3. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    314
    270
    10
    I don't think so. Because one screen - one attempt: every time the screen refreshes after input and changes a numbers for the next step.
    I.e. what you exactly see - that you input correspondingly. Spreading the numbers doesn't matter. Matter only current screen (every time).

    Say, I want to delete 1,3,4,5 in 2 steps. I want to keep №2 (Enterprise):
    1) Input: 1,3
    Done. Refreshing screen (now Enterprise is №1).
    2) Input: 2,3

    Just input accordingly to the current screen. Thats it.
     
  4. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    35,561
    59,622
    450
    Could the exporting option be used for this, it exports the indexes the user wants to keep and replaces the original wim with the new one?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    314
    270
    10
    #16665 ingviowarr, Oct 6, 2020
    Last edited: Oct 6, 2020
    @MSMG -Another suggesion:

    Don't exit to the Main menu automatically from the [6] Apply until "Re-Build Source Images" is finished.
    Often there are 3 procedures here and user may want to stay until the last step:

    - Cleanup Source Images
    - Apply & Save Changes to Source Images
    - Re-Build Source Images

    Also it will be fine for the newcomers, they will understand intuitively that they need to compress the image at the 3-rd step.
    No need to go to the [6] Apply once again, this is really confusing (they have no idea the hidden sub-menu has changed for the next step).
    And things will be faster for everybody.
     
  6. mdl052020

    mdl052020 MDL Member

    May 31, 2020
    1,047
    1,140
    60
    #16666 mdl052020, Oct 6, 2020
    Last edited: Oct 6, 2020
    Exactly the same as my script does . first export single index from main wim then move the exported wim to sources directory & rewrite it.
    Win10 Tweaking Scripts Both Online & Offline
     
  7. RaiyvaN

    RaiyvaN MDL Senior Member

    Sep 23, 2009
    302
    347
    10
    #16667 RaiyvaN, Oct 6, 2020
    Last edited: Oct 6, 2020
    Try the MSMG 10.7 Beta. He made available for pre-test the functionality of selecting only the desired indexes in the DVD source.
    I believe that will solve that detail.

    Edit:
    I just tested it.

    The toolkit exports the Index you are editing, but does not delete the unwanted ones.

    @MSMG, after saving the script could perform the deletion of the unselected indexes in the initial assembly.

    Hypothesis: if you have 5 indexes and select to mount 2,4. Soon 1,3,5 are left over and could be excluded.

    Edit 2:
    I was reading what I wrote and I realized that I expressed myself poorly.

    Hypothetically speaking: if you select index 2,4 from 5 options, then index 1,3,5 remains. So if the code reads in advance that these are the disposable indexes.
    When @MSMG finishes implementing the selection of INDEXES in the same way that it is already working for the source assembly, a command could be added to call the WIMExport session right after finishing saving the image.
    Or just take advantage that the necessary indexes are already identified and export directly to the current Install.wim. It makes more sense.

    Maybe I'm thinking in a way that this part of the code might be repeating routines redundantly. It may be that this can be done directly at some previous stage, but I don't see much beyond that.

    Raising hypotheses helps to improve or create solutions.
     
  8. vintage7

    vintage7 MDL Novice

    Sep 28, 2020
    2
    1
    0
    readTime: 47s

    Hello everyone,

    New to using this software as well as windows, but smart enough to evaluate the "readME" file. Wanted to refresh the device from scratch. It ran windows10 perfectly a week ago.

    Process so far wiped the device (surfacePro2 w/512GB) via the microsoftSurfaceDataEraser. Downloaded a fresh copy of the surfaceRecoveryUSB from microsoft technical support site. Followed their odd install instructions of exporting a .zip folder to a prebuilt USB via recoveryDrive. Hard drive still shows as raw or 0-out in diskPart. I think it's missing the surfacePro2 drivers which I also grabbed from their technical support site. But believe I need to install vis MSMGToolKit.

    diskpart/detaildisk/
    disk ID:00000000
    Type: SATA
    Status: Online
    Path:0
    Target:0
    LUN ID:0
    Location Path: PCIROOT(0)#PCI(1F02)#ATA(C00T00L00)
    Current Read-Only State: No
    Read-Only: No
    BootDisk: No
    Pagefile Disk: No
    Hibernation File Disk: No
    Crashdump Disk: No
    Clustered Disk: No
    There are no volumes

    Using ToolKit_v8.8
    After converting the install.SWM files to .WIM and trying to mount the DVD get the following error.

    ##Source Image Information##
    The syntax of the command is incorrect.
    "c:\Users\####\Desktop\project\w81\wim\Bin\x64>"

    QQ: What am I missing?
     
  9. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    298
    89
    10
    Hi,

    Put project folder into C:\ and try again.

    C:\project\
     
  10. vintage7

    vintage7 MDL Novice

    Sep 28, 2020
    2
    1
    0
    #16670 vintage7, Oct 7, 2020
    Last edited: Oct 7, 2020
    Thanks for the rapid response. Tried that, still no dice...
    The host is a win10 machine but the install.wim is a 8.1 pro.

    Using ToolKit_v8.8
    Tried editing the toolkit.cmd wadkToolsPathVariables to point at the win81DISM.exe

    if %HOST_Version% equ "6.1" set "DISM=%~dp0Bin\%HOST_Arch%\DISM81\DISM.exe
    if %HOST_Version% neq "6.1" set "DISM=%~dp0Bin\%HOST_Arch%\DISM81\DISM.exe​

    MSMG Toolkit - StartUp - Confirms this as true
    DISM.exe = c:\project\Bin\x64\DISM81\Dism.exe

    DISM Log
    Dism.exe version: 6.3.9600.17029

    Haven't tried implementing any packs. Don't know where to begin there. At 12.93gb its quite large.

    Thoughts anyone?
     
  11. Creater Cyfire

    Creater Cyfire MDL Novice

    Aug 31, 2017
    15
    5
    0
    Quick question here: Does modifying a Windows installer introduce problems when trying to install Cumulative updates?
     
  12. mdl052020

    mdl052020 MDL Member

    May 31, 2020
    1,047
    1,140
    60
    Yes only if image servicing is done without knowledge . means if user remove defender or firewall then WU always will result in a error on minor CU updates ie Preview Updates & same apply on EDGE too
     
  13. nosirrahx

    nosirrahx MDL Addicted

    Nov 7, 2017
    873
    396
    30
    I have not had any issues for quite some time install CUs on modified images BUT in the past there were cases where you would frequently see issues.

    It is hard to predict what changes MS will make in the future that could cause problems.
     
  14. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    6,208
    7,533
    210
    hmm maybe i'm wrong, but because people complicate things so much unnecessarily; I just think we should follow the master and everything will be solved from the first Toolkit, at least here, there were few times that I had problems ;)
     
  15. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    6,208
    7,533
    210
    Hello great master, I have a question: by the way our master will not update more modifications in the older operating systems will I be correct? because if so I will discard everything we have worked on since the beginning of W8.1 by the way M&FT won once and for all or stay with Windows 10 or any open source system or I am wrong thank you master :);)
     
  16. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    314
    270
    10

    "Acquire new knowledge whilst thinking over the old, and you may become a master for others".


    --- Confucius ---
     
  17. spidernz

    spidernz MDL Senior Member

    May 20, 2011
    371
    103
    10
    @MSMG

    could you look into adding this in
    https://forums.mydigitallife.net/threads/quick-hack-20h2-enablement-without-edge.82154/
    This is what I do with my custom script, export only the ones user ask for.
    move to temp do all the work on that and then delete old and move exported one back into the initial location rename it back to original.
     
  18. 正义羊

    正义羊 MDL Member

    Feb 21, 2016
    115
    52
    10
    I know,I know,

    “温故而知新,可以为师矣”,Acquire new knowledge whilst thinking over the old, and you may become a master for others
     
  19. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    With your example of deleting 1,3,4,5 in 2 steps, see what happens

    1 - 1
    2 - 2
    3 - 3
    4 - 4
    5 - 5

    1) Input: 1,3

    The loop will delete first index and then tries to deletes the 3rd index but instead it will remove the 4th one because as soon as you delete the 1st index 3rd index will become 2nd one

    1 - 2
    2 - 3
    3 - 4
    4 - 5