question

Hoshima13-3748 avatar image
0 Votes"
Hoshima13-3748 asked Hoshima13-3748 commented

Why displayed "Search for app in the Store?" when an execution file is double-clicked.

I created a desktop client application and distributed it for some peoples.
One of them reported following message was displayed when he double-clicked the app to start.
He selected "No" and the app normally started.

Search for app in the Store? You need to install an app for this task. Would you like to search for one in the store?

Would you tell me why the message displayed?
I tried following work around and finally resolved the problem.
But I don't understand the root cause.

< Work Around >
1. Right-click the execution file and select "properties".
2. At "General" tab, check the box "Unblock" next to the text below.

This file came from another computer and maybe blocked to protect this computer.

3. "Apply" > "OK"
4. After this operation, the message above is not displayed.

< Environment >
Edition: Windows 10 Pro
Version: 21H2
Install Date: 2022/02/09
OS Build: 19044.1526
Experience: Windows Feature Experience Pack 120.2212.4170.0

windows-10-general
· 7
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.

Did you develop this application?
Is this Windows Application or Microsoft Store App (UWP)?

0 Votes 0 ·

Yes I developed. It is Windows Application (WPF).

0 Votes 0 ·

I believe there are some programming related issue in your code.
I add relevant tags.

0 Votes 0 ·

Hi,@Hoshima13-3748 . Could you show project code that reproduces the problem? Can you show more detailed steps? For example which publishing method and distribution?

0 Votes 0 ·

Hi, @HuiLiu-MSFT . I'm afraid that I can't fully show project code because it's commercial application.

When I distribute, do following steps.
1. Run build at Azure DevOps.
2. Download build artifacts(dll, exe, pdb etc.) and compress(zip).
3. Copy them into a USB-HDD. (at my PC)
4. Connect the USB-HDD to another PC, and copy them into a file server. (The server is separated from my PC on TCP/IP network)
5. Decompress them.
6. Users copy build artifacts from file server and use them.





0 Votes 0 ·

Hi,@Hoshima13-3748 . This question has nothing to do with wpf, maybe someone related to windows will answer his question.

0 Votes 0 ·

Thanks, everyone. I'll ask this issue for microsoft support.
So close this case.

0 Votes 0 ·

0 Answers