1. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    345
    363
    10
    @Tiger-1 - Sorry me too. I'm far not "an English man in NewYork" (C) and my EN language skills sucks.
    So reading the endless sausages with no punctuation marks and no paragraphs scares me a bit :tv_horror:
    Though your tips and experience are always welcome. :cheers:
     
  2. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    300
    397
    10
  3. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    300
    397
    10
    #17623 sergey130270, Nov 24, 2020
    Last edited: Nov 24, 2020
    In the ConvertReg.ps1 script, I changed the lines on:
    "[HKEY_LOCAL_MACHINE\SOFTWARE" = "[HKEY_LOCAL_MACHINE\wSOFTWARE";
    "[-HKEY_LOCAL_MACHINE\SOFTWARE" = "[-HKEY_LOCAL_MACHINE\wSOFTWARE";
    "[HKEY_CLASSES_ROOT" = "[HKEY_LOCAL_MACHINE\wSOFTWARE\Classes";
    "[-HKEY_CLASSES_ROOT" = "[-HKEY_LOCAL_MACHINE\wSOFTWARE\Classes";
    "[HKEY_LOCAL_MACHINE\SYSTEM" = "[HKEY_LOCAL_MACHINE\wSYSTEM";
    "[-HKEY_LOCAL_MACHINE\SYSTEM" = "[-HKEY_LOCAL_MACHINE\wSYSTEM";
    "[HKEY_LOCAL_MACHINE\wSYSTEM\CurrentControlSet\" = "[HKEY_LOCAL_MACHINE\wSYSTEM\ControlSet001\";
    "[-HKEY_LOCAL_MACHINE\wSYSTEM\CurrentControlSet\" = "[-HKEY_LOCAL_MACHINE\wSYSTEM\ControlSet001\";
    "[HKEY_CURRENT_USER" = "[HKEY_LOCAL_MACHINE\wNTUSER";
    "[-HKEY_CURRENT_USER" = "[-HKEY_LOCAL_MACHINE\wNTUSER";
    "[HKEY_USERS\.Default" = "[HKEY_LOCAL_MACHINE\wDEFAULT";
    "[-HKEY_USERS\.Default" = "[-HKEY_LOCAL_MACHINE\wDEFAULT"}
     
  4. miketunes

    miketunes MDL Novice

    Aug 23, 2010
    41
    5
    0
    I compiled 20H2 with MSMG10.8. It passes sfc at first, but not after installing updates. This is a Microsoft update issue correct, or does 10.9 address that at all?
     
  5. digitalized

    digitalized MDL Novice

    Nov 17, 2017
    30
    9
    0
    Can the tweaks (option 4 > option 8 >...) be run with the ToolkitHelper executable only? (i.e. ToolkitHelper D:\Deployment\Toolkit_v10.9\Mount\Install\5 [tweak_name?])?

    If so, what are the names for the tweaks?

    Thanks
     
  6. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    @sergey130270,

    The use of "if exist" and "if not exist" pointing to the same thing can cause conflicts. I went through this recently. Until I found out what was going on it was a lot of work. Even if it is not causing problems in your script, it is best to avoid it. In the use of "if defined" and "if not defined", it is the same.

    Suggestions:
    Code:
    If exist "%WinDir%\SysWOW64" (
    SET "HostArchitecture=amd64"
    ) else (
    SET "HostArchitecture=x86"
    )
    
    Code:
    SET "InstallWIM=%DVDSOURCES%\install.wim"
    SET "InstallTempWIM=%DVDSOURCES%\install_temp.wim"
    move /y "%InstallTempWIM%" "%InstallWIM%" >nul
    
    then replace all:

    %DVDSOURCES%\install.wim
    to
    %InstallWIM%

    %DVDSOURCES%\install_temp.wim
    to
    %InstallTempWIM%

    if you want to.

    Why this for loop without any loop?
    for /l %%i in (1, 1, 1) do (
    Forget I asked this if you have plans for multi index.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    I don't think so, because this part of the system is done via script with a system for comparing variables, without going through ToolkitHelper.exe.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #17628 inTerActionVRI, Nov 24, 2020
    Last edited: Jan 9, 2021
    https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-793#post-1606110

    Sent an 2020-11-24 updated file in the link above.

    Merged with Toolkit 10.9.

    @MSMG decided to remove the rebuild source session.
    It has also been removed from CustomTollkit. And, according to the nomenclature defined by him, it was also implemented in CustomToolkit.
    Its functionality has been integrated with the "Apply & Save Changes to Source Images". Now, during the process, it is called "Optimizing Source".

    Implemented the correction made by MSMG, mentioned in this post, after the release of 10.9.
    https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-881#post-1631832

    I said that I like a black background with yellow letters, so I did it on CustomToolkit and GenericStart_LauncherMenu.

    At the beginning of the month, the merge was performed with Toolkit 10.7 and then with 10.8.
    But CustomToolkit was not released due to implementations that were completed on 2020-11-16.

    The menu paths mentioned or described in tutorial mode, both in the CustomTookit download topic and here in the changelogs, have been updated due to the Menu reorganization update promoted by @MSMG in the Official Toolkit.

    * Removed that function of applying the tweaks through questions and answers. In exchange for this, it was implemented in the entire script that when you are working on a specific menu when completing a task, you return to the previous menu (in this case, the menu you were already in). To return to the main menu, just press X - X - X ... This makes it a little easier.

    * Added a question for those who work with the images, to be able to select the preferred indexes. "Do you want to remove the Indexes from unselected images?" Yes that's right. Removal of those not selected immediately after the initial selection! If you don't want to, at this point, for any reason, just use the Trim function within the Apply Menu before proceeding to save.
    I believe that the exclusion is recommended at the beginning, except for the example I mention in the question during the script, in Select Source.

    * Previously, in a version that was not even released, it was necessary to make the choices so that they were arranged in an ascending manner. Then a feature called "Sorting to Ascending Order" was implemented. Now, you can select 10,7,2,4 and after the removal the selected images 2,4,7,10 will be there from 1 to 5. After that the Image Index Number will be set as "A" and the mounting process will start.

    * The "Rebuild Source" session was merged with "Save Source": when saving, the service will be executed in full. There is no need to remember to do one last task. So, to make it clearer, at the end, it will be carried out in the rebuild source procedure that is already part of the saving process.

    * Palliative fix: Added the function to select the Index, in the ExtractSourceMCT session.

    * In the sessions of conversion or extracting from ESD to Wim, the compression is Default (smaller) with the parameter "fast".
    The purpose is to perform the task more quickly, the maximum compression will only be defined for tasks to finalize your modifications and save. Other tasks like export, trim of Image Indexes, etc ... continue with Maximum compression with the parameter "max"


    Note: About changelogs: which mention details about obsolete things (no longer present in CustomToolkit) will be removed from the list. I will leave only the changelogs that still have pertinent information.

    Thnks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. daren1234

    daren1234 MDL Novice

    Jun 6, 2018
    2
    0
    0
    Hi, first of all thanks for great work!
    One question: is there a way to fully automate packages removal, update integration, image creation...
    Thanks!
     
  10. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    300
    397
    10
    #17630 sergey130270, Nov 24, 2020
    Last edited: Nov 24, 2020
    Good afternoon RaiyvaN. Thank you very much, I'll fix it now. Maybe somewhere else there are errors in the script? You can view?
     
  11. TA2DF

    TA2DF MDL Novice

    Nov 14, 2016
    11
    13
    0
    Hi @MSMG ...

    I want to share one of my impressions from my last attempt/experiment...

    I think you need to make a more selective arrangement in the condition and/or order of "if" queries below.
    Because, as such, it choosing the "DebugTools_10.0.18362.tpk" for the "10.0.17763.xxx" image, each time:
    Code:
    :: Setting Microsoft DaRT Tools Debug Tools Package filename
    if "%SelectedSourceOS%" equ "w10" (
       if "%ImageBuild%" neq "18363" if "%ImageBuild%" neq "19042" set "DebugTools=DebugTools_%ImageVersion%.tpk"
       if "%ImageBuild%" neq "18363" set "DebugTools=DebugTools_10.0.18362.tpk"
       if "%ImageBuild%" equ "19042" set "DebugTools=DebugTools_10.0.19041.tpk"
    )
    
    I would like to take this opportunity to thank you and all participants once again for all your devoted contributions!
     
  12. TA2DF

    TA2DF MDL Novice

    Nov 14, 2016
    11
    13
    0
    Until you approve or say otherwise, I made a change on my side as follows:
    Code:
    :: Setting Microsoft DaRT Tools Debug Tools Package filename
    if "%SelectedSourceOS%" equ "w10" (
        if "%ImageBuild%" equ "18363" set "DebugTools=DebugTools_10.0.18362.tpk"
        if "%ImageBuild%" equ "19042" set "DebugTools=DebugTools_10.0.19041.tpk"
        if "%ImageBuild%" neq "18363" if "%ImageBuild%" neq "19042" set "DebugTools=DebugTools_%ImageVersion%.tpk"
    )
    

     
  13. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    8,326
    11,613
    270
    @ingiowarr same here i'm also a regret in scoring materia is that I have a problem in my right hand when I got into the bush, the 240 khh on top of a bike 750 that I turned into 940cc ;):D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    491
    284
    10
    Just my 2 cents worth.

    With all due respect

    Is the program slower? Hell yes. Is it a problem? Hell no.

    It is what it is. How much did you pay for it?

    When I want to customize my image it takes about the best part of a whole day. I just do it while doing other things.

    True, anyone determined enough may be able to hack the code, but this is not the only program with code protection. Many programs would be faster if not for that fact.

    Perhaps it's also prudent to keep in mind @MSMG is doing this for the love of it. He's not a commercial software developer making mega-bucks from it.

    I wish you all the best in finding a different product.

     
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Specify which updates you integrated to 20H2 image before the component removal and the list of components you removed and also the which updates you did installed later.

    If image cleanup is done then it will generate a ghost SFC error.

     
  16. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    With ToolkitHelper you can only the components.

     
  17. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Right now no, in future it will be done.

     
  18. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Yes it has been fixed in next release

    Code:
    if "%ImageBuild%" neq "18363" set "DebugTools=DebugTools_10.0.18362.tpk"
    
    should have been

    Code:
    if "%ImageBuild%" equ "18363" set "DebugTools=DebugTools_10.0.18362.tpk"
    

     
  19. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    300
    397
    10
    #17640 sergey130270, Nov 25, 2020
    Last edited: Nov 25, 2020
    Good afternoon, kind people. No, I am not getting errors. I wrote a script that is universal for all indexes, for any need. Added two more add-ons 7zip and Unlocker_x64, reg-files that are inside the add-on have already been converted to avoid additional conversions.
    \ wCOMPONENTS
    \ wDEFAULT
    \ wNTUSER
    \ wSOFTWARE
    \ wSYSTEM

    This is for experiments I use one index, and in practice seven indices for / l %% i in (1, 1, 7) do (
    Are there any other points in the script that need to be fixed?