Partilhar via


Create a CAB file for Windows Mobile from a certificate chain with Powershell

At his blog Scott Yost treated us with a very cool powershell script to create xml files reqiured to build a .cab and install root certificates on windows mobile.

Since a customer just asked me for it, I thought I'll finish his script to allow several certificates to be inserted and actually create the .cab file (if you have cabarc.exe somewhere on your path)

use :
makecab.ps1 <file>
or
makecab.ps1 <folder>

To create a cab file with the same name.

Enjoy

Guillaume

makecab.ps1