Nov 17 2020 03:28 AM
Hi,
Using the MSIX latest packaging tool, I managed to convert our Win32 installer, which contains a Windows service, into an app package. We'd like to take advantage of the app installer functionality to automatically update this app package. So far, when I tried to install the app package from our Azure website, it returns 'unknown error'. So I can't debug anymore. I use a very simple app installer file.
A few months ago, I was able to handle the auto update with our Azure website on a different Win32 application containing a background process.
So, is it possible to auto update an app package which contains a Windows service using the app installer feature?
Thanks
Adel.
Nov 18 2020 04:34 PM
SolutionHi @adelkeita
Installing a package with a Windows service using the App Installer file is supported. Restarting your machine may fix the error. To help us investigate the issue, can you please make a Feedback Hub submission in the Developer Platform > App Deployment category, while reproducing the error. And then can you please post the link to your Feedback Hub submission on here when you're done.
Thanks,
Tanaka
Nov 20 2020 07:32 AM
Nov 24 2020 01:32 AM
Can you please help me solve this issue?
Here's the Feedback hub as requested: http://aka.ms/AAaeifp
I have attached a video of the issue, the app package file and more.
I don't know what's wrong with my Azure config.
Thank you.
Nov 24 2020 02:20 PM
Hi @adelkeita
Thanks for filing the feedback. I'm forwarding it to our devs to look into the issue. Did a machine restart not change anything for you?
Glad to hear the video tutorials were helpful :)
Cheers,
Tanaka
Nov 25 2020 02:19 AM
Two days ago I was still having the issue after restarting my PC.
Yesterday I tried many things... I did restart my workstation, I have reset the Feedback hub (had some issues), I've done all of the updates in the Store, I made some changes in the Azure App Service configuration settings (changed from ASP to .NET Core, 64-bit with Web sockets).
Then after restarting my workstation, and modifying the "UpdateSettings" part of the app installer file, I managed to make it work with this configuration:
<UpdateSettings>
<OnLaunch HoursBetweenUpdateChecks="0" ShowPrompt="false" UpdateBlocksActivation="false"/>
</UpdateSettings>
We would like to always update this app package silently without any user input.
I noticed that I'm getting error 0x80D05011, if I do this:
<UpdateSettings>
<OnLaunch HoursBetweenUpdateChecks="0"/>
</UpdateSettings>
And I get error 0xC00CEE01:
error 0xC00CEE01: The XML in the .appinstaller file is not valid ... Reason: Unexpected end of input. (0xc00cee01)
if I do this:
<UpdateSettings>
<OnLaunch HoursBetweenUpdateChecks="0" ShowPrompt="false" UpdateBlocksActivation="false"/>
<ForceUpdateFromAnyVersion>true</ForceUpdateFromAnyVersion>
</UpdateSettings>
or this:
<UpdateSettings>
<OnLaunch HoursBetweenUpdateChecks="0" ShowPrompt="false" UpdateBlocksActivation="false"/>
<AutomaticBackgroundTask />
</UpdateSettings>
I don't know why I can't use these 2 attributes "ForceUpdateFromAnyVersion" and "AutomaticBackgroundTask".
Would it be possible to get "ForceUpdateFromAnyVersion" to work?
Thanks.
Dec 03 2020 03:37 AM
Dec 15 2020 05:27 PM
Nov 18 2020 04:34 PM
SolutionHi @adelkeita
Installing a package with a Windows service using the App Installer file is supported. Restarting your machine may fix the error. To help us investigate the issue, can you please make a Feedback Hub submission in the Developer Platform > App Deployment category, while reproducing the error. And then can you please post the link to your Feedback Hub submission on here when you're done.
Thanks,
Tanaka