[TIMOB-26782] Windows: Error thrown when installing a packaged application to device using wptools
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | High |
| Status | Closed |
| Resolution | Won't Do |
| Resolution Date | 2020-06-30T14:40:18.000+0000 |
| Affected Version/s | Release 8.0.0 |
| Fix Version/s | n/a |
| Components | Windows |
| Labels | n/a |
| Reporter | Josh Longton |
| Assignee | Christopher Williams |
| Created | 2019-01-30T17:22:20.000+0000 |
| Updated | 2020-06-30T14:40:18.000+0000 |
Description
When installing a packaged windows application to a device the error below is thrown
{noformat}
C:\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
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: Unspecified error
'Microsoft Platform Extensions' violates pattern constraint of '\bms-resource:.{1,256}'.
0x80131505 - Unspecified error
'Microsoft Platform Extensions' violates pattern constraint of '\bms-resource:.{1,256}'.
0x800705B4 - Unspecified error
'Microsoft Platform Extensions' violates pattern constraint of '\bms-resource:.{1,256}'.
{noformat}
*Steps to Reproduce*
Package the application to windows phone
Install the packaged application to device
Confirmed that adding
PackageDependencymanually doesn't work, but\-\-skipInstallDependenciesdoes 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\-\-skipInstallDependenciesoption 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\-\-skipInstallDependenciesbackward compatibility option?https://github.com/appcelerator/titanium_mobile_windows/pull/1389