question

NotAvailableCurrently-0186 avatar image
0 Votes"
NotAvailableCurrently-0186 asked RoyLi-MSFT answered

Can't UWP app with custom capability be installed without internet connection?

Hi,

We have a UWP app that is using custom capability for H/W driver.

When we try to install the app using msixupload bundle file which is downloaded from MS store test flight, it is working well with internet connection.

But at offline, installer is just stop and exit.

When I check the event-log, there is the crash report from the Windows Desktop Installer.

I could find one article.

https://docs.microsoft.com/en-us/windows-hardware/drivers/devapps/faq-on-custom-capabilities

"3. Windows verifies that an app is authorized to use a custom capability when the app installs. For other capabilities, this verification happens when the Windows Store receives the app submission."

It seems the internet connection is the mandatory thing for the app that is using custom capability, am I right?

If the app is only downloadable type from the store, then there is no issue because that means user is on-line at that moment.

But if we preload this app to the Windows Image using DISM, it may install the app by script.

So the app would be already installed by script.

If a user run this app without internet connection at the very first time, the app is not started but just exited.

Once launched with internet connection, after that there is no issue even though the internet is not connected.

Does is also related to the custom capability verification described above faq?

Is there any work around to avoid this problem?

windows-uwp
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RoyLi-MSFT avatar image
0 Votes"
RoyLi-MSFT answered

Yes, it should be as the expected behavior mentioned in the document you post. Currently, as you've tested, there is no way to avoid this.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.