MSMG ToolKit

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

  1. delft 1985

    delft 1985 MDL Novice

    Oct 20, 2021
    15
    7
    0
  2. graver.x

    graver.x MDL Senior Member

    Jan 18, 2020
    337
    464
    10
  3. delft 1985

    delft 1985 MDL Novice

    Oct 20, 2021
    15
    7
    0
  4. delft 1985

    delft 1985 MDL Novice

    Oct 20, 2021
    15
    7
    0
    graver.x
    I tried several times and all without success.
    With version Toolkit_v12.2, everything is fine.
     
  5. inTerActionVRI

    inTerActionVRI MDL Addicted

    Sep 23, 2009
    854
    1,312
    30
    The new method is nSudo inside the Toolkit.cmd launching itself Run as Trusted Installer by nSudo too.

    I have proposed for MSMG, a new way for this autolaunch and bring back the Start.cmd as alternative.



    @delft 1985,

    Grab the Start.cmd from 12.2 and launch the Toolkit 12.3 with it or:


    Edit Toolkit.cmd with notepad and please, replace this line (begin of the code):
    Code:
    start /b "" "Bin\%HostArchitecture%\nSudo.exe" -U:T -P:E "%~f0"
    
    for this one and try again:
    Code:
    for %%# in ("%~f0") do (Start "%%~nx#" /I "%~dp0Bin\%HostArchitecture%\nSudo.exe" -U=T -P=E -CurrentDirectory=%%~dp# "%%~f#" %*)
    
     
  6. inTerActionVRI

    inTerActionVRI MDL Addicted

    Sep 23, 2009
    854
    1,312
    30
    #23227 inTerActionVRI, Jun 23, 2022 at 19:09
    Last edited: Jun 23, 2022 at 19:40
    New Custom Toolkit 12.3 [2022-06-23_2].

    I was commenting on these days that launch with multiple corrections in a row is very bad for the user who has to download again and again ... :sorry:
    But it is better to maintain the availability of corrections. Sure! :worthy::wavetowel2::p


    EDIT:
    Note: the typo fix is only for the "GenericStart_LauncherMenu.cmd".
    This one is correct to use within "Toolkit.cmd" or "CustomToolkit.cmd".
     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,060
    13,489
    210
    Ok will explorer the option for storing environment variables path settings.
     
  8. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,060
    13,489
    210
    In Windows 11 v22H2 the QuickAssist is shifted to Windows Apps section.
     
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,060
    13,489
    210
    It's left to users choice, this will cleanup temp files inside the mounted image folder.
     
  10. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,060
    13,489
    210
    Ok will revert back to the old start.cmd style and also will check with the packs download scripts.
     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,060
    13,489
    210
    Just don't have much time to work on it, thinking of adding support for at least Windows 7 and Windows 8.1
     
  12. inTerActionVRI

    inTerActionVRI MDL Addicted

    Sep 23, 2009
    854
    1,312
    30
    No need to revert, only update the code and put the Start.cmd in the Toolkit Package again. Check the change I made in Toolkit_Start.cmd
     
  13. hiepbg

    hiepbg MDL Novice

    Nov 29, 2008
    47
    23
    0
    Is it the same Cleanup Source Image option ?
     
  14. delft 1985

    delft 1985 MDL Novice

    Oct 20, 2021
    15
    7
    0
    inTerActionVRI
    I followed your advice - I took Start.cmd from 12.2 and launched Toolkit 12.3 with it . The
    removal of components was successful, although there was a slight delay at the beginning of the process,
    but everything ended well! Thank you!
     
  15. inTerActionVRI

    inTerActionVRI MDL Addicted

    Sep 23, 2009
    854
    1,312
    30
    No, it is not the same. That CleanUp Source (for Temporary files) asked after select Save Source, is safe to perform. This "Cleanup Source Image option" is trouble.

    This is Normal.
     
  16. hiepbg

    hiepbg MDL Novice

    Nov 29, 2008
    47
    23
    0
    Just remove only Windows Apps and make some tweaks.
    Everything is fine.

    Screenshot 2022-06-23 114817.png
     
  17. iamspa

    iamspa MDL Novice

    Mar 20, 2017
    19
    0
    0
    sry for bad report.
    iam still edit windows 10, not windows 11
     
  18. mhussain

    mhussain MDL Member

    Oct 1, 2012
    249
    84
    10
    @MSMG
    error when removeing components via tk way.
    error is belo.
    ran toolkit via toolkit.cmd
    path to toolkit is c:\t\
    error below.

    dialog System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not find file 'C:\t\Mount\Install\3\Windows\SystemApps\Microsoft.BioEnrollment_cw5n1h2txyewy\AppxManifest.xml'.
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
    at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
    at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
    at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
    at System.Threading.CompressedStack.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
    at System.Xml.XmlTextReaderImpl.OpenUrl()
    at System.Xml.XmlTextReaderImpl.Read()
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at System.Xml.XmlDocument.Load(String filename)
    at ‡–.‡Œ”(Object , String , ‡– )
    at ž..‡ˆ(String )
    at ‡•.‡Œ”(String , ‡• )
    at ž..‡‹(String , String )
    at ‡Ž“.‡Œ”(String , String , ‡Ž“ )
    at ž..‡Œ(String , String )
    at ‡Ž“.‡Œ”(String , String , ‡Ž“ )
    at ž..Main(String[] args)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at _._.___()
    Majid
     
  19. mhussain

    mhussain MDL Member

    Oct 1, 2012
    249
    84
    10
    @MSMG
    disregard,
    unmounted then remounted the image
    all works as expected.
    thanks again for msmg toolkit sir.
    if you believe in calma, then surly you will have gained much of it for helping us meer mortals.
    a question,
    what is this app?
    found in the system apps dir?
    Microsoft.Windows.PrintQueueActionCenter_cw5n1h2txyewy
    thanks again for the toolkit!
    I would donate but don't have a card.
    but cirtenly would doo so if i had that ability.
    Majid