Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26782] Windows: Error thrown when installing a packaged application to device using wptools

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionWon't Do
Resolution Date2020-06-30T14:40:18.000+0000
Affected Version/sRelease 8.0.0
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterJosh Longton
AssigneeChristopher Williams
Created2019-01-30T17:22:20.000+0000
Updated2020-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*

Create an alloy application

Package the application to windows phone appc run -p windows -T dist-phonestore

Follow the prompts

Install the packaged application to device "C:\Program Files (x86)\Windows Kits\10\bin\x86\WinAppDeployCmd.exe" install -file <appxbundle location> -ip 127.0.0.1

Comments

  1. Christopher Williams 2019-01-30

  2. Kota Iguchi 2019-01-31

    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?
  3. Kota Iguchi 2019-05-06

    https://github.com/appcelerator/titanium_mobile_windows/pull/1389

JSON Source