1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    If you open the addon vcredist_x64 SxS_Win810.WA with 7-zip program, there will be tasks.txt file.

    Open the tasks.txt with notepad to see which folder or file goes to which folder, then make the changes in the script to copy command.

    copy msdia90.dll to Program Files\Common Files\microsoft shared\VC folder
    copy VC to Program Files (x86)\Common Files\microsoft shared folder
    copy Installer to Windows folder
    copy WinSxS to Windows folder




     
  2. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    272
    288
    10
    Access denied
    Failed to create directory: C: \ Win \ Integrator10 \ Mount \ Windows \ WinSxS
    all others are copied
     
  3. mhussain

    mhussain MDL Senior Member

    Oct 1, 2012
    368
    144
    10
    @MSMG
    thanks for another greate release!
    would it be possible for you to reduce time taken when removeing components?
    thank you for msmg toolkit, you are ausom :)
    how do you make the addon packs for the toolkit?
    could a script be released that will be able to create addon packs for other applications?
    just curious :)
    Majid
     
  4. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Code:
    md "%MOUNT%\Program Files\Common Files\microsoft shared\VC"
    md "%MOUNT%\Program Files (x86)\Common Files\microsoft shared\VC"
    copy "%~dp0Addons\%HostArchitecture%\Temp\vcredist_x64_SxS_Win810\Files\msdia90.dll" "%MOUNT%\Program Files\Common Files\microsoft shared\VC"
    xcopy "%~dp0Addons\%HostArchitecture%\Temp\vcredist_x64_SxS_Win810\Files\VC\*" "%MOUNT%\Program Files (x86)\Common Files\microsoft shared\VC" /cherkyi
    xcopy "%~dp0Addons\%HostArchitecture%\Temp\vcredist_x64_SxS_Win810\Files\Installer\*" "%MOUNT%\Windows\Installer" /cherkyi
    xcopy "%~dp0Addons\%HostArchitecture%\Temp\vcredist_x64_SxS_Win810\Files\WinSxS\*" "%MOUNT%\Windows\WiSxS" /cherkyi
    
     
  5. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #17585 MSMG, Nov 22, 2020
    Last edited: Nov 22, 2020
    (OP)
    1) To reduce the speed

    I need to automate the process of removal data at runtime so that the code will be reducded and gets loaded into memory faster.

    or

    Port the code to C++ to run in native mode.

    2) The Toolkit pack contains two things

    - A pack file .tpk which is a WIM image with ESD compression, contains the pack file or folders with original file or folder permissions.
    - A registry file which contains the registry entries for the pack.

    Will release a tutorial for How to create a pack for Toolkit.

     
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    In NSudo did you choose user as TrustedInstaller and choose Enable All Privileges.

     
  7. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    345
    362
    10
    @MSMG

    Proper integrating of .NET 4.8 into LTSC at the LAST STEP is impossible in present logic due to this:
    I.e. when I have CU (KB) for .NET in the WHD folder and proceeding within all needed WU, then MSMG scenario trying to apply all General updates (including .NET CU) while .NET is not yet integrated.
    Then there (logically) will be integrating error 0x800f081e for DotNetRollup
    See my question 2) here

    If I proceed with integrating .NET first and continue with applying all necessary WU (incl. .NET) at the next step, then none of broken logic.
    But .NET 4.8 will be integrated at the beginning, not at the LAST STEP of whole scenario during ISO prepearing.

    This is a logic collision I talking about.

    P.S. Though, in my previous experiments, when I proceeded with integrating .NET 4.8 at the beginning of scenario (the step before WU integration), there were no SFC or other errors in the OS.
    (Of course, I always have 2 cab files for .NET 4.8 in the Packs folder to integrate. The problem is only within .NET CU in WHD folder + steps sequence).
     
  8. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Yes you need to integrate .NET 4.8 at first, that's what I have specified in the Readme.txt

    .NET FX 3.5/4.8 are feature packs not update, so you need to integrate it before the updates.

     
  9. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    345
    362
    10
    @MSMG

    Do I need integrate both [x64/x86] files or [x64] only for LTSC ?

    • DirectX9c
    • PowerShell7
     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    The Toolkit pack contains usually 3 indexes

    1 - 32 bit
    2 - 64 bit
    3 - ARM64

    For DirectX9c Index 2 is used for 64-bit OS.
    For PowerShell7 Index 2 is used for 64-bit OS.

    PS. The PowerShell7 w10 pack index 2 which is the x64 contains both the 32-bit and 64-bit PowerShell 7

     
  12. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    345
    362
    10
    #17592 ingviowarr, Nov 22, 2020
    Last edited: Nov 22, 2020
    @MSMG - Got your post editions. Now I'm fine :)
    Thank you very much!

    (I unserstand things as I should skip [x86] *.reg files for DX9 and PS7 in my LTSC)
     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Is this the ISO you are using?

    en_windows_10_consumer_editions_version_20h2_x64_dvd_ab0e3e0a.iso
    en_windows_10_business_editions_version_20h2_x64_dvd_4788fb7c.iso

     
  14. digitalized

    digitalized MDL Novice

    Nov 17, 2017
    30
    9
    0
    No, I am using this one:

    SW_DVD9_Win_Pro_10_20H2_64BIT_English_Pro_Ent_EDU_N_MLF_-2_X22-41520.ISO
     
  15. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    272
    288
    10

    The specified file cannot be found.
    File not found: *
    Files copied: 0.
    File not found: *
    Files copied: 0.
    File not found: *
    Files copied: 0.
    C:\Win\Integrator10\Addons\amd64\Temp\vcredist_x64_SxS_Win810\Files\Program Files\Common Files\microsoft shared\VC\msdia90.dll
    C:\Win\Integrator10\Addons\amd64\Temp\vcredist_x64_SxS_Win810\Files\Program Files (x86)\Common Files\microsoft shared\VC\msdia80.dll
    C:\Win\Integrator10\Addons\amd64\Temp\vcredist_x64_SxS_Win810\Files\Program Files (x86)\Common Files\microsoft shared\VC\msdia90.dll
    C:\Win\Integrator10\Addons\amd64\Temp\vcredist_x64_SxS_Win810\Files\Program Files (x86)\Common Files\microsoft shared\VC\amd64\msdia80.dll
    C:\Win\Integrator10\Addons\amd64\Temp\vcredist_x64_SxS_Win810\Files\Windows\Installer\466c6.msi
    C:\Win\Integrator10\Addons\amd64\Temp\vcredist_x64_SxS_Win810\Files\Windows\Installer\466d0.msi
    C:\Win\Integrator10\Addons\amd64\Temp\vcredist_x64_SxS_Win810\Files\Windows\Installer\466da.msi
    C:\Win\Integrator10\Addons\amd64\Temp\vcredist_x64_SxS_Win810\Files\Windows\Installer\466e4.msi
    C:\Win\Integrator10\Addons\amd64\Temp\vcredist_x64_SxS_Win810\Files\Windows\Installer\SourceHash{5FCE6D76-F5DC-37AB-B2B8-22AB8CEDB1D4}
    C:\Win\Integrator10\Addons\amd64\Temp\vcredist_x64_SxS_Win810\Files\Windows\Installer\SourceHash{710f4c1c-cc18-4c49-8cbf-51240c89a1a2}
    C:\Win\Integrator10\Addons\amd64\Temp\vcredist_x64_SxS_Win810\Files\Windows\Installer\SourceHash{9BE518E6-ECC6-35A9-88E4-87755C07200F}
    C:\Win\Integrator10\Addons\amd64\Temp\vcredist_x64_SxS_Win810\Files\Windows\Installer\SourceHash{ad8a2fa1-06e7-4b0d-927d-6e54b3d31028}
    C:\Win\Integrator10\Addons\amd64\Temp\vcredist_x64_SxS_Win810\Files\Windows\Installer\{5FCE6D76-F5DC-37AB-B2B8-22AB8CEDB1D4}\DisplayIcon
    C:\Win\Integrator10\Addons\amd64\Temp\vcredist_x64_SxS_Win810\Files\Windows\Installer\{710f4c1c-cc18-4c49-8cbf-51240c89a1a2}\DisplayIcon
    C:\Win\Integrator10\Addons\amd64\Temp\vcredist_x64_SxS_Win810\Files\Windows\Installer\{9BE518E6-ECC6-35A9-88E4-87755C07200F}\DisplayIcon
    C:\Win\Integrator10\Addons\amd64\Temp\vcredist_x64_SxS_Win810\Files\Windows\Installer\{ad8a2fa1-06e7-4b0d-927d-6e54b3d31028}\DisplayIcon
    Access denied
    Unable to create directory: C:\Win\Integrator10\Mount\Windows\WinSxS
     
  16. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    345
    362
    10
    @MSMG

    What is always annoing for me and my feedback how to improve UI.

    1) Switch "Press any key..." to "Enter" only.
    Why? When I want to copy the output info (incl. for you to show / copy the errors) and want press Ctrl+A (to Select all text), it immediatly closed and I always loosing the screen.
    (Forget always about this thing, very unfriendly)

    2) Always back to PREVIOUS menu instead of MAIN.
    Why? To proceed faster. To do everything inside the chosen section, then just press [X] at the end and go to the next part.
    At the present logic I need walk around the same tree 10 times.
     
  17. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    382
    161
    10
    @MSMG

    Where do we find EdgeChromium.cab Update..??
     
  18. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    345
    362
    10
    @sergey130270

    Just my 2 cents from my experience about MS Visual C++

    I never had an idea to integrate MS Visual C++ into the image.
    Why? These libraries update often, so there is no need for me put this into ISO.

    I'm using smart all-in-one installer on LIVE system with very handy hacks to keep all bundles updated (in-place) + smart hack that prevents a chaos with big amount of packages or with app stupid attempts to install the same or even old versions.
    I mean such all-in-one bundle is self-protected from damage/reinstalling from 3-rd party apps.

    Search over Internet this one I use for years:

    Microsoft Visual C++ 2005-2019 Redistributable Package [x86/x64] by Lisabon (qazwsxe)
    The most rescent version is dated 11.11.2020 at present time.

    Just install on live system. Later download a new (updated) and install over existing (in-place update) with one click.

    Or send me PM, I'll give you a link, if you want.
     
  19. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    272
    288
    10
    Thanks, but I still want to finalize the script. I hope that someone can help me figure it out.
     
  20. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Hope you used NSudo with TrustedInstaller as user and Enabled All Privileges to run the script.

    Do check this script have used xcopy /s for VC, Installer and WinSxS

    Code:
    md "%MOUNT%\Program Files\Common Files\microsoft shared\VC"
    md "%MOUNT%\Program Files (x86)\Common Files\microsoft shared\VC"
    copy "%~dp0Addons\%HostArchitecture%\Temp\vcredist_x64_SxS_Win810\Files\msdia90.dll" "%MOUNT%\Program Files\Common Files\microsoft shared\VC"
    xcopy /s "%~dp0Addons\%HostArchitecture%\Temp\vcredist_x64_SxS_Win810\Files\VC\*.*" "%MOUNT%\Program Files (x86)\Common Files\microsoft shared\VC" /cherkyi
    xcopy /s "%~dp0Addons\%HostArchitecture%\Temp\vcredist_x64_SxS_Win810\Files\Installer\*.*" "%MOUNT%\Windows\Installer" /cherkyi
    xcopy /s "%~dp0Addons\%HostArchitecture%\Temp\vcredist_x64_SxS_Win810\Files\WinSxS\*.*" "%MOUNT%\Windows\WiSxS" /cherkyi