Can't install Enterprise App developed in cordova(phonegap) on windows phone 8.1 RRS feed

  • Question

  • I have developed a cordova app for windows phone 8.1 by adding `windows` platform. 

    Cordova Version: 6.0.0, 
    Windows Platform Version: 4.3.1,
    Visual Studio 2015 Update 2

    The app runs successfully when running in Debug Mode with `ARM` or `AnyCpu` selected on developer registered windows phone 8.1.

    **Steps performed while signing the app :** 

    1.Add the required values(Package Name, Package Display Name, Version) on the following line in the 


        <Identity Name="xxxxxxxxxxxxxx" Publisher="xxxxxxxxxx" Version="" />

    - Left below line as it is(ie. the one that was generated while project creation) 

    `<mp:PhoneIdentity PhoneProductId="xxxxxxxxxxxxxxxxxxxxxxxxxx" PhonePublisherId="xxxxxxxxxxxxxxxxxxx" />`

    - Kept Id same as Name in Identity.

    `<Application Id="xxxxxxxxxxxxxx" StartPage="www/index.html">`

    - Added Display Name, Publisher Display Name, Description, default language

    - Changed the following in `config.xml`. This id in the widget tag is same as Name in the Identity Tag. 

    `<widget id="xxxxxxxxxxxxxx" version="" xmlns="" xmlns:cdv="">
        <name>App Name</name>

    2. Clean Solution and Build it in **Release** mode `(ARM)` and the `appx` file gets generate successfully at below location of 

    project : 

       ` PathToProject\platforms\windows\build\phone\Release\ARM `

    3. Installed software "Microsoft Intune Company Portal for Windows Phone"

    4.Place AET.aet , AET.aetx , AET.xml file in  "C:\Program Files (x86)\Microsoft Corporation\Microsoft Intune Company Portal for 

    Windows Phone"

    5. Open `PowerShell` from start menu and Run as Administration.

    6. Navigate to "C:\Program Files (x86)\Microsoft Corporation\Microsoft Intune Company Portal for Windows Phone" in power shell.

    7. Run command

     `Set-ExecutionPolicy -ExecutionPolicy AllSigned`

    8.Run following script in PowerShell:

    `.\Sign-WinPhoneCompanyPortal.ps1 -InputAppx "PathToAppxFile\App.appx" -PfxFilePath "PathToPFXFile\PFXName.pfx" -PfxPassword 

    xxxxxxxxxx -AetxPath "C:\Program Files (x86)\Microsoft Corporation\Microsoft Intune Company Portal for Windows Phone\AET.aetx"`

    8. Give Output Parameter name of signed .appx file you want to generate. For example MyApp.appx

    9. Copy .aetx file to phone storage and tap on .aetx file. This will enroll device to access company app.

    10. After installing .aetx file in device copy signed .appx file to phone storage and tap on file for installation.

    I have also tried Project-->Store-->Create App Packages-->No and got successful Validation Result while creating App Package. I 

    even tried uploading  .appxupload file to Windows Dev Center and it was successful.

    **Issue :** While signing the app using enterprise certificate and installing it on the device I get the an Error. Please find 

    attached screenshot for the same.

    **Note:** The project has been developed using command line and not by using default template of Visual Studio

    Thanks in advance.
    Thursday, April 21, 2016 1:28 PM

All replies