Shortcuts to Modern/Metro applications

Discussion in 'Windows 8' started by noncentz705, Nov 7, 2012.

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,211
    84,862
    340
    #21 abbodi1406, Mar 8, 2014
    Last edited by a moderator: Apr 20, 2017
    to show features of ProfessionalEdition you need to specify the Package name in the command:
    Code:
    dism /online /get-Features /PackageName:Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~6.3.9600.16384 /format:table >%userprofile%\Desktop\Features.txt
    and for the matter of mum editing, that will require some long explanation :D
     
  2. RanCorX2

    RanCorX2 MDL Addicted

    Jul 19, 2009
    999
    554
    30
    #22 RanCorX2, Mar 8, 2014
    Last edited by a moderator: Apr 20, 2017
    cheers for the reply, i had a look on the msfn links and found the install_wim_tweak app and have started removing packages with that.

    i removed one i didn't want to though, the windows photo viewer, i thought it was the photo metro app, doh. is it possible to re-add a removed package? using windows 8.1 btw.
     
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,211
    84,862
    340
    #25 abbodi1406, Mar 8, 2014
    Last edited by a moderator: Apr 20, 2017
    Get SxSExtract.vbs + SxSExpand.exe + cabarc.exe
    mount windows image at C:\Mount
    open admin cmd and change directory to where you saved the above files
    run this command:
    Code:
    cscript /nologo SxSExtract.vbs /IMAGE:C:\Mount\Windows C:\Mount\Windows\Servicing\Packages\Microsoft-Windows-PhotoBasicPackage~31bf3856ad364e35~amd64~~6.3.9600.16384.mum Photo.cab
     
  4. RanCorX2

    RanCorX2 MDL Addicted

    Jul 19, 2009
    999
    554
    30
    #26 RanCorX2, Mar 8, 2014
    Last edited by a moderator: Apr 20, 2017
    how do you mount the windows image? sorry i'm still learning this stuff, sofar i know how to get features, remove the default features, run component cleanup, make updates permanent.
     
  5. RanCorX2

    RanCorX2 MDL Addicted

    Jul 19, 2009
    999
    554
    30
    nvm, figured it out.
     
  6. RanCorX2

    RanCorX2 MDL Addicted

    Jul 19, 2009
    999
    554
    30
    #28 RanCorX2, Mar 8, 2014
    Last edited: Mar 8, 2014
    ok, i have the cab, how do I get the photo viewer installed again?

    there's only two files in the cab, what about the app files that used to be in winsxs? why are they not in the cab?
     
  7. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,681
    18,589
    340
    #29 Tito, Mar 8, 2014
    Last edited by a moderator: Apr 20, 2017
    Code:
    dism /online /add-package /packagepath:XXX.cab
    But the CAB seems wrong. :g:
     
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,211
    84,862
    340
    then there is something wrong, the package contains +20 file and 7 or 8 folders
     
  9. RanCorX2

    RanCorX2 MDL Addicted

    Jul 19, 2009
    999
    554
    30
    #31 RanCorX2, Mar 8, 2014
    Last edited by a moderator: Apr 20, 2017
    yeah, it says the referenced assembly could not be found.
     
  10. RanCorX2

    RanCorX2 MDL Addicted

    Jul 19, 2009
    999
    554
    30
    all sorted, thanks abbodi1406.
     
  11. RanCorX2

    RanCorX2 MDL Addicted

    Jul 19, 2009
    999
    554
    30
    don't suppose anyones made a GUI of some sort that makes the removal of packages a bit more easier than copying & pasting them into a batch file to use with the install wim tweak app?
     
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,211
    84,862
    340
    WinToolkit
     
  13. spidernz

    spidernz MDL Senior Member

    May 20, 2011
    389
    112
    10
    #35 spidernz, Mar 9, 2014
    Last edited by a moderator: Apr 20, 2017
    So i tried the install_wim_tweak.exe to shw packages and then try remove them with dism but it didnt work :(

    Code:
    Echo "Listing Packages/Apps"
    "%APPS%\GetWaikTools\install_wim_tweak.exe" /p "%MOUNT%" /d>"%BUILD%\Wmc Builder\8.1 Features\PreRegTweak-2.txt"
    "%APPS%\GetWaikTools\x64\Dism\Dism.exe" /Image:%MOUNT% /Get-Packages /Format:Table>"%BUILD%\Wmc Builder\8.1 Features\PrePackages-2.txt"
    "%APPS%\GetWaikTools\x64\Dism\Dism.exe" /Image:%MOUNT% /Get-Features /Format:Table>"%BUILD%\Wmc Builder\8.1 Features\PreFeatures-2.txt"
    "%APPS%\GetWaikTools\x64\Dism\Dism.exe" /Image:%MOUNT% /Get-ProvisionedAppxPackages /Format:Table>"%BUILD%\Wmc Builder\8.1 Features\PreProvisionedAppx-2.txt"
    "%APPS%\GetWaikTools\x64\Dism\Dism.exe" /Image:%MOUNT% /Get-Drivers>"%BUILD%\Wmc Builder\8.1 Features\PreDrivers-2.txt"
    
    
    Echo "Removing Hidden Packages"
    "%APPS%\GetWaikTools\x64\Dism\Dism.exe" /Image:%MOUNT% /Remove-Package /PackageName:Adobe-Flash-For-Windows-Package~31bf3856ad364e35~amd64~~6.3.9600.16384 /PackageName:Checkpoint-VpnPlugin-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /PackageName:Checkpoint-VpnPlugin-Package~31bf3856ad364e35~amd64~~6.3.9600.16384 /PackageName:F5-VpnPlugin-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /PackageName:F5-VpnPlugin-Package~31bf3856ad364e35~amd64~~6.3.9600.16384 /PackageName:Juniper-VpnPlugin-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.1638 /PackageName:Juniper-VpnPlugin-Package~31bf3856ad364e35~amd64~~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-ClientEdition-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-ClientEdition-Package~31bf3856ad364e35~amd64~~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Common-Drivers-Package~31bf3856ad364e35~amd64~~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Guest-Integration-Drivers-Package~31bf3856ad364e35~amd64~~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Management-PowerShell-Package-net~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Management-PowerShell-Package-net~31bf3856ad364e35~amd64~~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Management-PowerShell-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Management-PowerShell-Package~31bf3856ad364e35~amd64~~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Package-ds~31bf3856ad364e35~amd64~~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Package-minkernel~31bf3856ad364e35~amd64~~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Package-net~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Package-net~31bf3856ad364e35~amd64~~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Package-redist~31bf3856ad364e35~amd64~~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Package-termsrv~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Package-termsrv~31bf3856ad364e35~amd64~~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Server-Drivers-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384 /PackageName:Microsoft-Hyper-V-Server-Drivers-Package~31bf3856ad364e35~amd64~~6.3.9600.16384 >"%BUILD%\Wmc Builder\Logs\Remove.txt"
    "%APPS%\GetWaikTools\install_wim_tweak.exe" /p "%MOUNT%" /h
    
    
    Here's the error i get
     
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,211
    84,862
    340
    You have to delete owners keys so you can remove the packages, i mean don't use /d parameter in install_wim_tweak
    and to be sure it's working, it's better you open PrePackages-2.txt files before proceeding to removal

    sounds like we need a separate thread for install_wim_tweak and further discussion, we hijacked this thread enough :D
     
  15. RanCorX2

    RanCorX2 MDL Addicted

    Jul 19, 2009
    999
    554
    30
    doesn't do online removal though.
     
  16. RanCorX2

    RanCorX2 MDL Addicted

    Jul 19, 2009
    999
    554
    30
    hi, I still can't get a proper cab created, not sure why it's working for you guys. I tried the bubbles tool, I select the mum file from the mounted servicing folder and it outputs a cab but it's only got cat & mum files in it, no other data.

    why isn't it working for me? i followed the instructions.


    trying to create a cab for "Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~amd64~~11.0.9600.16384" to re-add it as it broke open file location. :confused:
     
  17. RanCorX2

    RanCorX2 MDL Addicted

    Jul 19, 2009
    999
    554
    30
    can anyone explain exactly how to make a full cab with all the needed files to install a package?

    i've tried several times now and each time end up with a cab of a few kb with cats & mums, nothing else. i have the install.wim mounted, i have the bubbles gui tools with the sxs extractor script, do i need anything else?
     
  18. RanCorX2

    RanCorX2 MDL Addicted

    Jul 19, 2009
    999
    554
    30
    #40 RanCorX2, Mar 12, 2014
    Last edited: Mar 12, 2014
    ok, tried running from the command prompt, here's some errors it throws up;

    [information] couldn't find any associated assembly folders
    [ Error ] SxSExpand call failed - error code: 1
    [ Error ] Couldn't decompress manifest

    maybe something wrong with my install.wim? it installed 8.1 fine though...

    help! :confused:

    is this right?

    >cscript sxsextract.vbs /vicioushacks /image:c:\offline\windows "c:\offline\Windows\Servicing\Packages\Microsoft-Windows-InternetExplorer-

    Package~31bf3856ad364e35~amd64~~11.0.9600.16384.mum" IE11.CAB


    tried in a virtual machine and it still fails to build a full cab.

    perhaps some kind person on this forum can build me the cab for IE11 on win8.1 and upload it somewhere?