-1

I've created an UWP app in VS2017, that runs in upboard where I've installed Windows Iot Core. The app's target version is 1803 and min version is Creator Update (Build 15063). I would like to update the app by clicking button and reading the new appxbundle via USB.

I tried to follow this article but the solution doesn't work.

Note: if I create app packages is not possible to checked the "Enable automatic updates".

Is it possible that this is the cause of my problem?

EDIT

The update process begins, but nothing happens

Community
  • 1
  • 1
Emanuele Leoni
  • 168
  • 1
  • 12
  • define "doesn't work" – Daniel A. White Jan 28 '19 at 15:24
  • @DanielA.White the update process begins, but nothing happens. – Emanuele Leoni Jan 28 '19 at 15:28
  • Hi Emanuele Leoni, how do you determine "update process begins", what have you seen? Any exception information showed via `Result.Text` if you use the same code with [article](https://stackoverflow.com/questions/53585879/update-uwp-app-from-usb-drive-on-raspberry-pi). – Rita Han Jan 29 '19 at 09:58
  • Hi @RitaHan-MSFT , I suppose that the process begin because there is no exception showed via Result.Text. Instead before I have seen several exceptions when I tried to update – Emanuele Leoni Jan 30 '19 at 09:02
  • @EmanueleLeoni What's your windows iot core version of your device and what's kind of your device? – Rita Han Jan 30 '19 at 09:37
  • @RitaHan-MSFT iot core version is 15603 and the device is an upboard squared. As I asked in my question is it possible that the version does not allow the update? – Emanuele Leoni Jan 30 '19 at 09:57
  • @EmanueleLeoni I don't test 15063. You can test 17763 to see if it is version related. – Rita Han Jan 31 '19 at 05:36
  • @RitaHan-MSFT thank you. Now I'm testing 17763 version, In order to enable the update Do I have to check "Enable automatic updates" or not? – Emanuele Leoni Jan 31 '19 at 08:34
  • @RitaHan-MSFT The `Result.Text` says **the provided package is already installed and reinstallation of the package was blocked**, but I have created a new package in order to install the old that is running in upboard – Emanuele Leoni Jan 31 '19 at 08:44
  • @EmanueleLeoni The customer in the article you linked has encounter the same error with yours. You can read the comments in that article. – Rita Han Jan 31 '19 at 09:41
  • @RitaHan-MSFT I solved it follow your instructions. Now It works – Emanuele Leoni Jan 31 '19 at 13:34

1 Answers1

1

The Result.Text says the provided package is already installed and reinstallation of the package was blocked

This error indicate you are installing the same version with the one has already installed on the device.

To solve this error you need increase the package version:

enter image description here

The operation will fail if you want to update the app which deployed from Visual Studio. It can only update the app installed with packaged appxbundle. For example, you can install it via device portal, here is a document you can reference.

Rita Han
  • 9,574
  • 1
  • 11
  • 24