Windows Phone 8.1: Cannot install Company apps


I was helping customers with deploying Company apps to Windows Phone 8.1 through MDM and here are some of the errors encountered while installing apps and resolutions to those issues. 

 

Problem: We signed the company app(appx package) with SignTool and the user initiated dowload by clicking the link in company hub, but after download the installation fails with error:

Error:System.Exception: Install failed. Please contact your software vendor. (Error code: -2147009287 /0x80073CF9) 

Resolution: The appx package was not precompiled before singing and the reason for failure. The issues was resolved using the following PowerShell script to precompile and sign the app which automates the preparation of the package as well as the signing process. Using this script ensures that the package is in the proper state prior to signing.

powershell.exe –File “%ProgramFiles(x86)%\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\BuildMDILAPPX.ps1” -appxfilename C:\temp\fabk.appx -pfxfilename C:\temp\cert01.pfx -password mypassword  

 

Problem: Cannot install Company app(appx Package) on the device. There is no error message but the app doesn’t get installed.

Resolution: There is known issue signing company apps(appx package) using the Visual Studio 2013 update 2 tools, it doesn’t sign the appx package correctly. The issues is resolved using the updated sign tools that is installed with Visual Studio 2013 update 3 .

 

 

Problem: Trying to install company  app(xap package) using InstallationManager.AddPackageAsync() fails with following exception:

“An attempt was made to reference a token that does not exist. (Exception from HRESULT: 0x800703f0)”

Resolution: The error occurs if you are using the debug build of xap package. You have to use release build of xap to resolve this issue.

 

Don’t forget to follow the Windows Store Developer Solutions team on Twitter @wsdevsol.


Comments (2)

  1. HITACHI CONSULTING SOFTWARE SERVICES INDIA says:

    HI I have made appx using Visula studio 2013 update 4 but still unable to install the app in the phone stating "cant install company app".Any workaround?

  2. Sebastian says:

    You have to register your device to the company that the package is for. You can achieve this in two different ways:  

    1) If you have the Symantec certificate, you can generate the .aetx token file and install it in your device (by attaching it to an email and opening the attachment in your phone).

    2) Add a Workplace account to your phone with the information provided by the company that generated the app.

Skip to main content