{ "id": "172934", "key": "TIMOB-26782", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": [], "resolution": { "id": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2020-06-30T14:40:18.000+0000", "created": "2019-01-30T17:22:20.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [ { "id": "57134", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "166223", "key": "TIMOB-24422", "fields": { "summary": "Windows: Deployment fails with \"violates pattern constraint of bms-resource\"", "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": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2020-06-30T14:40:18.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": "When installing a packaged windows application to a device the error below is thrown\r\n\r\n{noformat}\r\nC:\\Users\\jlongton\\apps\\TIMOB-26776>\"C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x86\\WinAppDeployCmd.exe\" install -file C:\\Users\\jlongton\\Desktop\\Packaged\\Smokeysmoke_1.0.0.0_ARM.appxbundle -ip 127.0.0.1\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: Unspecified error\r\n\r\n'Microsoft Platform Extensions' violates pattern constraint of '\\bms-resource:.{1,256}'.\r\n\r\n0x80131505 - Unspecified error\r\n\r\n'Microsoft Platform Extensions' violates pattern constraint of '\\bms-resource:.{1,256}'.\r\n\r\n0x800705B4 - Unspecified error\r\n\r\n'Microsoft Platform Extensions' violates pattern constraint of '\\bms-resource:.{1,256}'.\r\n{noformat}\r\n\r\n*Steps to Reproduce*\r\n# Create an alloy application\r\n# Package the application to windows phone {{appc run -p windows -T dist-phonestore}}\r\n# Follow the prompts \r\n# Install the packaged application to device {{\"C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x86\\WinAppDeployCmd.exe\" install -file -ip 127.0.0.1}}\r\n", "attachment": [], "flagged": false, "summary": "Windows: Error thrown when installing a packaged application to device using wptools", "creator": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "environment": "SDK: 8.0.0.v20190130052111\r\nAppc NPM: 4.2.13\r\nAppc CLI: 7.0.10-6\r\nTi CLI: 5.1.1\r\nNode: 8.12.0\r\nXcode: 10.1\r\nNPM: 6.5.0", "closedSprints": [ { "id": 1170, "state": "closed", "name": "2019 Sprint 23", "startDate": "2019-11-04T18:38:14.526Z", "endDate": "2019-11-17T18:38:00.000Z", "completeDate": "2019-11-18T16:38:18.423Z", "originBoardId": 114 }, { "id": 1123, "state": "closed", "name": "2019 Sprint 7", "startDate": "2019-03-18T17:27:25.993Z", "endDate": "2019-03-30T17:27:00.000Z", "completeDate": "2019-03-29T18:02:37.441Z", "originBoardId": 114 }, { "id": 1172, "state": "closed", "name": "2019 Sprint 25", "startDate": "2019-12-02T23:08:39.644Z", "endDate": "2019-12-15T23:08:00.000Z", "completeDate": "2019-12-16T05:54:54.518Z", "originBoardId": 114 }, { "id": 1109, "state": "closed", "name": "2019 Sprint 3", "startDate": "2019-01-28T17:38:43.075Z", "endDate": "2019-02-09T17:38:00.000Z", "completeDate": "2019-02-08T21:37:29.498Z", "originBoardId": 114 }, { "id": 1141, "state": "closed", "name": "2019 Sprint 12", "startDate": "2019-06-03T22:00:37.435Z", "endDate": "2019-06-14T22:00:00.000Z", "completeDate": "2019-06-15T03:44:20.826Z", "originBoardId": 114 }, { "id": 1157, "state": "closed", "name": "2019 Sprint 16", "startDate": "2019-07-29T15:35:47.313Z", "endDate": "2019-08-11T15:35:00.000Z", "completeDate": "2019-08-12T07:57:02.552Z", "originBoardId": 114 }, { "id": 1146, "state": "closed", "name": "2019 Sprint 13", "startDate": "2019-06-18T06:36:49.723Z", "endDate": "2019-07-01T06:36:00.000Z", "completeDate": "2019-07-01T16:45:24.126Z", "originBoardId": 114 }, { "id": 1149, "state": "closed", "name": "2019 Sprint 14", "startDate": "2019-07-01T16:55:04.813Z", "endDate": "2019-07-14T16:55:00.000Z", "completeDate": "2019-07-15T15:41:02.311Z", "originBoardId": 114 }, { "id": 1118, "state": "closed", "name": "2019 Sprint 5", "startDate": "2019-02-24T18:36:06.435Z", "endDate": "2019-03-08T18:36:00.000Z", "completeDate": "2019-03-07T22:19:47.057Z", "originBoardId": 114 }, { "id": 1136, "state": "closed", "name": "2019 Sprint 11", "startDate": "2019-05-18T17:39:52.830Z", "endDate": "2019-05-31T17:39:00.000Z", "completeDate": "2019-06-04T21:37:11.485Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "445774", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-01-30T17:51:05.000+0000", "updated": "2019-01-30T17:51:05.000+0000" }, { "id": "445780", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Confirmed that adding {{PackageDependency}} manually doesn't work, but {{\\-\\-skipInstallDependencies}} does work to prevent this error. So historically manual installation of dependencies were needed to install apps to device but it's no longer needed at some point...that's why we introduced {{\\-\\-skipInstallDependencies}} option as of 6.1.0 to keep backward compatibility. Sounds like Windows SDK behavior keeps changing and maybe it's time to stop manually installation of dependencies and remove {{\\-\\-skipInstallDependencies}} backward compatibility option?", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-01-31T02:17:19.000+0000", "updated": "2019-01-31T02:17:51.000+0000" }, { "id": "448187", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1389", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-05-06T07:07:26.000+0000", "updated": "2019-05-06T07:07:26.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }