none
Issue with Enterprise signed apps RRS feed

  • Question

  • We have just started testing with side-loading of enterprise signed Windows Phone apps (using mail or HockeyApp). They are signed with the proper certificates from Symantec and we uploaded the company profile. We can download a version of the app from HockeyApp or mail and it is working fine. However - when we try to update with a new version, this does not work.

    The scenario is as follows:

    1. Download version 1.2.0.0 of the app to the device. Select install, and the app is installed as expected.
    2. Download version 1.3.0.0 of the same app (same pacakge ID) to the device (using HockeyApp or mail). Select install, seems to be working fine.
    3. The app on the device does not update and is still version 1.2.0.0.

    Now, if we delete 1.2.0.0 from the device, and then install 1.3.0.0 we get version 1.3.0.0 on the device. Thus it works, but only if we delete the previous version, and this is not the approach we want (for example for running upgrade tests).

    Signing process:

    1. Associate the app with Store to get the correct package and version information.
    2. Change the Package.StoreAssociation.xml - set the previous version number to be lower than the one we want to build (to avoid "you need to set a higher version number" error).
    3. In Visual Studio -> Project -> Store -> Create Packages to build.
    4. Pick out the binary appx from the bin/release folder.
    5. Sign using the following command:

    powershell.exe -File "%ProgramFiles(x86)%\Microsoft SDKs\WindowsPhoneApp\v8.1\Tools\MDILXAPCompile\BuildMDILAPPX.ps1" -appxfilename C:\temp\filename.appx -pfxfilename C:\temp\cert01.pfx -password XXX

    Any hints or pointers are appreciated :)


    • Edited by nordstro Thursday, February 25, 2016 9:02 AM More formatting
    Thursday, February 25, 2016 8:59 AM