{ "id": "168824", "key": "TIMOB-24934", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-09-25T13:59:11.000+0000", "created": "2017-07-05T13:38:26.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "merge-6.3.0" ], "versions": [ { "id": "19572", "description": "Important fixes for 6.1.0", "name": "Release 6.1.1", "archived": false, "released": true, "releaseDate": "2017-06-16" }, { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-09T15:18:45.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen 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)\r\n\r\n{code}\r\n[ 'install',\r\n '-file',\r\n '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',\r\n '-ip',\r\n '127.0.0.1' ]\r\n2148734208\r\nWindows App Deployment Tool\r\nVersion 10.0.0.0\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\n\r\nOpening connection to device at '127.0.0.1'.\r\n\r\nInstalling app...\r\nDisconnecting.\r\n\r\n0x80131500 - 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.\r\n0x80073d06\r\n0x80131500 - 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.\r\n0x80073d06\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n*The setup here is kinda difficult*\r\n# Ensure you have VCLibs 14.0.25023.0 on your device (you can do this by building with VS2017\r\n# Build an application to the device using a machine with VS2015\r\n\r\nh5.Actual\r\n\r\nBuild process errors with {{A debug application is already installed, please remove existing debug application}}\r\n\r\nh5.Expected\r\n\r\nBuild 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)", "attachment": [], "flagged": false, "summary": "Windows: App fails to install to device if newer VCLibs package exists", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 10 Pro\r\nTi SDK: 6.2.0.v20170630062735\r\nLumia 550 10.0", "closedSprints": [ { "id": 948, "state": "closed", "name": "2017 Sprint 19 SDK", "startDate": "2017-09-10T21:24:51.562Z", "endDate": "2017-09-24T21:24:00.000Z", "completeDate": "2017-09-25T17:49:27.460Z", "originBoardId": 114 }, { "id": 939, "state": "closed", "name": "2017 Sprint 17 SDK", "startDate": "2017-08-13T23:08:29.095Z", "endDate": "2017-08-27T23:08:00.000Z", "completeDate": "2017-08-27T21:10:54.125Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "423498", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~eharris] I'm wondering if you could use {{--skipInstallDependencies}} in this case. It is introduced as of {{6.1.0}} to skip installing dependency packages. (See also [Windows Build Options|http://docs.appcelerator.com/platform/latest/#!/guide/Appcelerator_Command-Line_Interface_Reference-section-src-43294287_AppceleratorCommand-LineInterfaceReference-WindowsBuildOptions])", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-05T14:43:38.000+0000", "updated": "2017-07-05T14:43:38.000+0000" }, { "id": "423500", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~kiguchi] Yes the {{--skipInstallDependencies}} flag works but to me this seems like an issue that we should solve for a user if possible as it's a dependency of the SDK", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-07-05T15:04:31.000+0000", "updated": "2017-07-05T15:04:31.000+0000" }, { "id": "427618", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1096", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-09-06T10:21:50.000+0000", "updated": "2017-09-06T10:21:50.000+0000" }, { "id": "428593", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "6_3_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1124", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-09-29T00:03:32.000+0000", "updated": "2017-09-29T00:03:32.000+0000" }, { "id": "428829", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified in 6.3.0.v20171006185117 and 7.0.0.v20171009065347", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-10-09T15:18:40.000+0000", "updated": "2017-10-09T15:18:40.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }