I'm having problems trying to deploy any kind of HTML application for Windows Phone 8.1 as a Company App. The application I have developed is using a Visual Studio Apache Cordova Apps project, but I've also tested a manually created .appx
, a Blank App (Universal Windows 8.1) and a Blank App (Windows Phone)... the last two seem to effectively be the same project type, the Universal one is just in a Solution with a Windows 8.1 project in as well.
I always get the error message detailed below when I try and install it (tried variously from email, web and the phone's local folders.
Installing a C# Windows Phone 8.1 Hub App project works perfectly using the same workflow.
Error Message
Can't install company app
There's a problem with this company app. Contact your company's support person for help
Dev Environment
- Windows 8.1 Enterprise
- Visual Studio Enterprise 2015 with Cross Platform Mobile Development > HTML/JavaScript (Apache Cordova) Update 1
- Windows Enterprise Developer account with Symantec Code Signing Certificate for Windows® Phone Private Enterprise
- Developer Unlocked Nokia Lumia 635 or Company MDM Enrolled Nokia Lumia 635
Working Project Types
- Hub App (Windows Phone) [Templates > Visual C# > Windows > Windows 8 > Windows Phone]
- presumably any other C# project type (not tested)
Erroring Project Types
- Blank App (Apache Cordova) [Templates > Other Languages > TypeScript > Apache Cordova Apps]
- Blank App (Universal Windows 8.1) [Templates > Other Languages > JavaScript > Windows > Windows 8 > Universal]
- Blank App (Windows Phone) [Templates > Other Languages > JavaScript > Windows > Windows 8 > Windows Phone]
- Manually created an appx with a single HTML file in, using an AppxManifest.xml base template from Microsoft and MakePri.exe, MakeApp.exe
Workflow
- Create the relevant project type from Visual Studio
- Alter the Phone.appxmanifest file to have the Publisher match the Symantec Certificate
Subject
and to have our PhonePublisherID - Right-click project, "Store > Create App Packages..."
- Go through the wizard selecting "No" to Windows Store, to never bundle and build the Release version
- Use either SignTool.exe or BuildMDILAPPX.ps1 to sign the package using our certificate
- Install the AET.aetx file on the phone if it hasn't been already
- Install the application on the phone (from email, web or local folder)
- Error