Method AppInstallManager.StartProductInstallAsync() not working on a service in release mode

Rhuan Inocêncio 0 Reputation points
2025-03-05T05:06:31.34+00:00

Hi team, I’m trying to download a product using the method appinstallmanager.startproductInstallasync() on my service, but it seems to not be working. Actually, when I use it in debug, it works properly. But when I generate an msix and run it in release, the method stops working.

I’m already using the runfulltrust capability.

Similar methods like appinstallmanager.SearchForUpdateAsync works properly…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,333 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.