Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24934

Windows: App fails to install to device if newer VCLibs package exists

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 6.1.1, Release 6.2.0
    • Fix Version/s: Release 6.3.0
    • Component/s: Windows
    • Labels:
    • Environment:

      Windows 10 Pro
      Ti SDK: 6.2.0.v20170630062735
      Lumia 550 10.0

    • Story Points:
      5
    • Sprint:
      2017 Sprint 17 SDK, 2017 Sprint 19 SDK

      Description

      Description

      When building to a device currently my build fails with A debug application is already installed, please remove existing debug application which is not the case. Running winappdeploycmd manually worked so I dug into it and logged the output, the install of VCLibs is failing because I have a newer on the device (I assume this is because I used the device for my VS2017 testing)

      [ 'install',
        '-file',
        'C:\\Users\\ewan\\.titanium\\vsbuild\\testApp\\win10.ARM\\AppPackages\\TestApp\\TestApp_1.0.0.0_Debug_Test\\Dependencies\\ARM\\Microsoft.VCLibs.ARM.Debug.14.00.appx',
        '-ip',
        '127.0.0.1' ]
      2148734208
      Windows App Deployment Tool
      Version 10.0.0.0
      Copyright (c) Microsoft Corporation. All rights reserved.
       
      Opening connection to device at '127.0.0.1'.
       
      Installing app...
      Disconnecting.
       
      0x80131500 - Failed to install or update package: Windows cannot install package Microsoft.VCLibs.140.00.Debug_14.0.24210.0_arm__8wekyb3d8bbwe because it has version 14.0.24210.0. A higher version 14.0.25023.0 of this package is already installed.
      0x80073d06
      0x80131500 - Windows cannot install package Microsoft.VCLibs.140.00.Debug_14.0.24210.0_arm__8wekyb3d8bbwe because it has version 14.0.24210.0. A higher version 14.0.25023.0 of this package is already installed.
      0x80073d06
      

      Steps to reproduce

      The setup here is kinda difficult

      1. Ensure you have VCLibs 14.0.25023.0 on your device (you can do this by building with VS2017
      2. Build an application to the device using a machine with VS2015
      Actual

      Build process errors with A debug application is already installed, please remove existing debug application

      Expected

      Build process should either error telling a user to uninstall the VCLibs (not preferable as they didn't but them there, we did), or (preferably) we handle this error by ignoring the failure for VCLibs or only adding when needed (check if they exist before even installing)

        Attachments

          Activity

            People

            • Assignee:
              kiguchi Kota Iguchi
              Reporter:
              eharris Ewan Harris
              Reviewer:
              Ewan Harris
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-10868
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code