Skip to content

Instantly share code, notes, and snippets.

@ducke
Created November 25, 2016 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ducke/c8435399922f5de2d393e52ed1bb68d5 to your computer and use it in GitHub Desktop.
Save ducke/c8435399922f5de2d393e52ed1bb68d5 to your computer and use it in GitHub Desktop.
Desktop Bridge PoC
DesktopAppConverter.exe -Setup -BaseImage "C:\Users\mhenke\Downloads\BaseImage-14393.wim"
DesktopAppConverter.exe -Installer C:\dev\7-Zip.16.0.4\7z1604-x64.msi -PackageName "MyApp" -Publisher "CN=7zip" -Version "16.0.4.0" -MakeAppx -Destination "c:\dev" -verbose
& "C:\Program Files (x86)\Windows Kits\10\bin\x64\makecert.exe" -r -h 0 -n "CN=7zip" -eku 1.3.6.1.5.5.7.3.3 -pe -sv myapp.pvk myapp.cer
& "C:\Program Files (x86)\Windows Kits\10\bin\x64\pvk2pfx.exe" -pvk .\myapp.pvk -spc .\myapp.cer -pfx .\myapp.pfx
& "C:\Program Files (x86)\Windows Kits\10\bin\x64\signtool.exe" sign -f .\myapp.pfx -fd SHA256 -v C:\dev\MyApp\MyApp.appx
#Import Cert in Store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment