1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,169
    14,056
    210
  2. shhnedo

    shhnedo MDL Expert

    Mar 20, 2011
    1,406
    1,883
    60
    Nope, they are not.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. bala1

    bala1 MDL Member

    May 2, 2015
    121
    69
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. bala1

    bala1 MDL Member

    May 2, 2015
    121
    69
    10
    @MSMG
    how to use Firefox_w10.tpk and Firefox_w10_x64.reg with MSMG Toolkit ??
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Bira

    Bira MDL Member

    Oct 4, 2017
    147
    80
    10
    Code:
    echo.-------------------------------------------------------------------------------
    echo.####Integrating Firefox ###############################
    echo.-------------------------------------------------------------------------------
    
    for /l %%i in (1, 1, %ImageCount%) do (
        if exist "%InstallMount%\%%i" (
            echo.
            if not %%i gtr 9 echo.===========================[Install.wim, Index : %%i]============================
            if %%i gtr 9 echo.==========================[Install.wim, Index : %%i]============================
            echo.
    
            :: Getting Image Index Information
            call :GetImageIndexInfo "%InstallWim%", %%i >nul
    
            echo.-------------------------------------------------------------------------------
            echo.Integrating Firefox Browser ...
            echo.-------------------------------------------------------------------------------
            call :ApplyImage "%Firefox%\Firefox_%SelectedSourceOS%.tpk", %PackageIndex%, "%InstallMount%\%%i"
            echo.-------------------------------------------------------------------------------
            echo.Importing Firefox Browser Registry Settings...
            echo.-------------------------------------------------------------------------------
            echo.
            echo.Mounting Image Registry...
            call :MountImageRegistry "%InstallMount%\%%i"
            echo.Importing Registry Settings to Image Registry...
            call :ImportRegistry2Image "%Firefox%\Firefox_%SelectedSourceOS%_%ImageArchitecture%.reg"
    
            echo.Un-Mounting Image Registry...
            call :UnMountImageRegistry
            echo.
        )
    )
    
    echo.-------------------------------------------------------------------------------
    echo.####Finished Integrating Firefox Browser######################
    echo.-------------------------------------------------------------------------------
    
    :Stop
    echo.
    echo.===============================================================================
    echo.
    pause
     
  6. bala1

    bala1 MDL Member

    May 2, 2015
    121
    69
    10
    Please where can I find the updated MSMG Toolkit ??
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Bira

    Bira MDL Member

    Oct 4, 2017
    147
    80
    10
    there is 12.9 there, wait for the MSMG to update or put it in some block using the paths and variables, the one I gave you was just an example of how you can install it every time it updates the .tpk and the reg, it will only change the variables, but it's the same thing everything applied the .tpk and import the .reg
     
  8. bala1

    bala1 MDL Member

    May 2, 2015
    121
    69
    10
    #24129 bala1, Nov 24, 2022 at 23:55
    Last edited: Nov 25, 2022 at 00:01
    ok, got it, thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. OpenSourceGhost

    OpenSourceGhost MDL Novice

    Feb 14, 2022
    42
    9
    0
    False alarm. What causes Component Store corruption in Windows 10 is disabling (not removing) Optional Features and then rebasing the image.I am not sure which features are the issue, but its not related to MSMG Toolkit.

    Can you add option for Home editions to have GPEDIT.MSC and Local Sucurity Policy package? Or is it part of RSAT pack? GPEDIT can be added via DISM to any edition of Windows 10/11 like this:
    Code:
    @echo off
    pushd "%~dp0"
    
    dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt
    dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt
    
    for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
    pause
    Is it possible to add BitLocker support via DISM to Home editions?

    The pack for MP3/Multimedia codecs is missing.
     
  10. bala1

    bala1 MDL Member

    May 2, 2015
    121
    69
    10
    I couldn't, thank you
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. thaiteamz

    thaiteamz MDL Novice

    Mar 19, 2018
    2
    1
    0
    I tried solving it for fun.

    Firefox Integrating:D:D:D:D
     
  12. Bira

    Bira MDL Member

    Oct 4, 2017
    147
    80
    10
    Integrate the path variable at that point, putting the firefox folder in packs play all there
    Code:
    :: Setting Toolkit's packs environment path variables
    set "Firefox=%Packs%\Firefox"
    
    Managed and integrated into the menu
    Code:
        echo.  [C]   Firefox Browser
    
        if errorlevel 3  goto :IntFirefox
    
    And with that same code, put it in the block calling it to integrate
    Code:
    ::-------------------------------------------------------------------------------------------
    :: Function to Firefox Browser
    ::-------------------------------------------------------------------------------------------
    :IntFirefox
    
    setlocal
    
    cls
    echo.===============================================================================
    echo.         MSMG ToolKit - Integrate Firefox Browser
    echo.===============================================================================
    echo.
    
    :: Getting Install Image Index Architecture
    call :GetImageArchitecture "%InstallWim%", %DefaultIndexNo% >nul
    
    :: Checking whether Firefox Browser Pack file exist
    if not exist "%Firefox%\Firefox_%SelectedSourceOS%.tpk" (
        echo.Firefox Browser Pack folder is missing the below file...
        echo.
        echo."Firefox_%SelectedSourceOS%.tpk"
        echo.
        echo.Please copy the above file to ^<Packs\Firefox^> folder...
        goto :Stop
    )
    
    if not exist "%Firefox%\Firefox_%SelectedSourceOS%_%ImageArchitecture%.reg" (
        echo.Firefox Browser is missing the below file...
        echo.
        echo."Firefox_%SelectedSourceOS%_%ImageArchitecture%.reg"
        echo.
        echo.Please copy the above file to ^<Packs\Firefox^> folder...
        goto :Stop
    )
    
    echo.-------------------------------------------------------------------------------
    echo.####Started Integrating Firefox Browser#######################
    echo.-------------------------------------------------------------------------------
    echo.
    echo.    Image                    : Install.wim
    echo.    Image Index              : %ImageIndexNo%
    echo.    Image Architecture       : %ImageArchitecture%
    echo.    Image Version            : %ImageVersion%.%ImageServicePackBuild%.%ImageServicePackLevel%
    echo.
    echo.-------------------------------------------------------------------------------
    echo.####Integrating Firefox ###############################
    echo.-------------------------------------------------------------------------------
    
    for /l %%i in (1, 1, %ImageCount%) do (
        if exist "%InstallMount%\%%i" (
            echo.
            if not %%i gtr 9 echo.===========================[Install.wim, Index : %%i]============================
            if %%i gtr 9 echo.==========================[Install.wim, Index : %%i]============================
            echo.
    
            :: Getting Image Index Information
            call :GetImageIndexInfo "%InstallWim%", %%i >nul
    
            echo.-------------------------------------------------------------------------------
            echo.Integrating Firefox Browser ...
            echo.-------------------------------------------------------------------------------
            call :ApplyImage "%Firefox%\Firefox_%SelectedSourceOS%.tpk", %PackageIndex%, "%InstallMount%\%%i"
            echo.-------------------------------------------------------------------------------
            echo.Importing Firefox Browser Registry Settings...
            echo.-------------------------------------------------------------------------------
            echo.
            echo.Mounting Image Registry...
            call :MountImageRegistry "%InstallMount%\%%i"
            echo.Importing Registry Settings to Image Registry...
            call :ImportRegistry2Image "%Firefox%\Firefox_%SelectedSourceOS%_%ImageArchitecture%.reg"
    
            echo.Un-Mounting Image Registry...
            call :UnMountImageRegistry
            echo.
        )
    )
    
    echo.-------------------------------------------------------------------------------
    echo.####Finished Integrating Firefox Browser######################
    echo.-------------------------------------------------------------------------------
    
    :Stop
    echo.
    echo.===============================================================================
    echo.
    pause
    
    endlocal
    
    :: Returning to Integrate Features Menu
    goto :IntFeaturesMenu
    ::-------------------------------------------------------------------------------------------
    
    Installed;
    Code:
    ===============================================================================
             MSMG ToolKit - Integrate Firefox Browser
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ####Started Integrating Firefox Browser#######################
    -------------------------------------------------------------------------------
    
        Image                    : Install.wim
        Image Index              : 1
        Image Architecture       : x64
        Image Version            : 10.0.17763.1.0
    
    -------------------------------------------------------------------------------
    ####Integrating Firefox ###############################
    -------------------------------------------------------------------------------
    
    ===========================[Install.wim, Index : 1]============================
    
    -------------------------------------------------------------------------------
    Integrating Firefox Browser ...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25227.1000
    
    Applying image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Importing Firefox Browser Registry Settings...
    -------------------------------------------------------------------------------
    
    Mounting Image Registry...
    Importing Registry Settings to Image Registry...
    A operação foi concluída com êxito.
    Un-Mounting Image Registry...
    
    -------------------------------------------------------------------------------
    ####Finished Integrating Firefox Browser######################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Press any key to continue.
    
    Hope this helps ...
     
  13. bala1

    bala1 MDL Member

    May 2, 2015
    121
    69
    10
    #24134 bala1, Nov 25, 2022 at 14:29
    Last edited: Nov 25, 2022 at 17:25
    Thank you, now I understand how to do it.

    it worked, thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Bira

    Bira MDL Member

    Oct 4, 2017
    147
    80
    10
    cool... but milling, when he launches the .tpk and the reg just as he is launching for the Toolkit, it will be standard that way, Net6 net7 and others all the same way, just put the path variables, integrate in the menu and the installation part, the same thing, be aware of that e va getting the hang of it, see you later... something else, don't forget to translate here on the forum
     
  15. Dessa

    Dessa MDL Novice

    Nov 1, 2022
    4
    5
    0
    there is an updated Toolkit.cmd on the download.ru.

    changes:
    - re-add .NET 6 (thank you for that, i hope i wasn't too rude trying to explain my reasoning why it should still be supported - its not my time and effort put in this after all)
    - add support for firefox
     
  16. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,018
    1,674
    60
    @MSMG,

    If I'm not mistaken, you commented that you were waiting a moment to be able to make a complete tutorial on how to create .tpk, when the opportunity to convert from a non-MS application, appeared.

    It would be interesting to address the method used in converting Firefox.

    This tutorial is very interesting.

    Is it possible to take advantage of the Sandbox for this procedure?


    Thanks for the attention, man!
     
  17. OpenSourceGhost

    OpenSourceGhost MDL Novice

    Feb 14, 2022
    42
    9
    0
    DotNET 7.0 doesn't work for apps that require DotNET 6.0, even if you use a tweak that forces use of the latest DotNET version. I think that tweaks applies to DotNET 4.8.1 and that's it.
     
  18. thaiteamz

    thaiteamz MDL Novice

    Mar 19, 2018
    2
    1
    0
    i want to file Toolkit.cmd final plz :p:p:p
     
  19. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,535
    9,768
    240
    ^
    then friend wait our Master...;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...