Hi Matteo Pagani,
I finally managed to install our app package containing a windows service.
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>
However I don't know why I can't use these XML attributes and elements "HoursBetweenUpdateChecks" and "ForceUpdateFromAnyVersion".
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 "ForceUpdateFromAnyVersion" ?
Thanks.