I want to do sideloading for my Metro style app using WIX installer. I have created a package for the app and it is already validated using Windows App Certification Kit. After creating the package I got PS1 file, .cer file, .appx file and few other files.
I have a WIX installer project where I want to add a custom action which will execute the .appx file and install the metro app using Powershell. But when I am running the installer, it throws an exception "Add-AppxPackage : Deployment
failed with HRESULT: 0x800B0109, A certificate chain processed, but terminated in a root
certificate which is not trusted by the trust provider. (Exception from HRESULT: 0x800B0109)
error 0x800B0109: The root certificate of the signature in the app package must be trusted..."
Can anybody please tell me how to proceed from here?