{ "id": "159441", "key": "TIMOB-23181", "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": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" }, { "id": "18026", "name": "windowslib 0.4.6", "archived": false, "released": true, "releaseDate": "2016-04-13" }, { "id": "18028", "name": "windowslib 0.4.7", "archived": false, "released": true, "releaseDate": "2016-04-13" }, { "id": "18036", "name": "windowslib 0.4.8", "archived": false, "released": true, "releaseDate": "2016-04-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-04-13T13:12:11.000+0000", "created": "2016-04-09T00:00:48.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.3.0", "usability" ], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [ { "id": "52376", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "162529", "key": "TIMOB-23762", "fields": { "summary": "Windows: Install of app to Windows 10 Mobile device fails on second build of application ", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-08-11T12:46:34.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 a app to a Windows 10 Mobile device a second time the application fails to install with the below error\r\n\r\n{code}\r\n[ERROR] Failed to install app (code 0x80073CFB): Deployment of package com.prod.classic_1.0.0.0_arm__d7c8pgvss6ysm was blocked because the provided package has the same identity as an already-installed package but the contents are different. Increment the version number of the package to be installed, or remove the old package for every user on the system before installing this package.\r\n{code}\r\n\r\nIt seems that we should either increment the packages version number each build or handle the fail case accordingly and uninstall and reinstall the app. \r\n\r\nI tried to use {{WinAppDeployCmd update}} to update the app, but that command failed with {{Windows cannot update package com.prod.classic_1.0.0.0_neutral_~_d7c8pgvss6ysm because the previous version is not installed. Install package com.prod.classic_1.0.0.0_neutral_~_d7c8pgvss6ysm instead of updating it.}}, despite me using the same file as the install command used.\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Build to a Windows 10 Mobile phone using {{appc run -p windows -T wp-device --wp-sdk 10.0}}\r\n2. Rebuild the app using {{appc run -p windows -T wp-device --wp-sdk 10.0}}\r\n\r\nh5.Actual result\r\n\r\nThe app fails to install, a developer will currently have to uninstall their app each build\r\n\r\nh5.Expected result\r\n\r\nThe app should be reinstalled, a developer should not have to remove the same application each time they build", "attachment": [], "flagged": false, "summary": "Windows: Install of app to Windows 10 Mobile device fails on second build of application ", "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\nAppc Core: 5.2.0, 5.3.0-12\r\nAppc NPM: 4.2.5-1\r\nTi SDK: 5.3.0.v20160311122340\r\nLumia 930 10.0.14295.1000", "closedSprints": [ { "id": 618, "state": "closed", "name": "2016 Sprint 08 SDK", "startDate": "2016-04-09T00:30:18.262Z", "endDate": "2016-04-23T00:30:00.000Z", "completeDate": "2016-04-25T02:38:28.511Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "382424", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/windowslib/pull/36", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-12T05:24:10.000+0000", "updated": "2016-04-12T05:24:10.000+0000" }, { "id": "382539", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Merged to windowslib, published 0.4.6. Need to update titanium_mobile 5_3_X branch to use that now...", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-04-12T23:55:45.000+0000", "updated": "2016-04-12T23:55:45.000+0000" }, { "id": "382541", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~cwilliams]\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/7938\r\nhttps://github.com/appcelerator/titanium_mobile/pull/7939\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-13T00:22:45.000+0000", "updated": "2016-04-13T00:22:45.000+0000" }, { "id": "382756", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-04-14T22:13:08.000+0000", "updated": "2016-04-14T22:13:08.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }