desktop-bridge

How do I get UWP Uninstall to remove database completely?

走远了吗. 提交于 2019-12-01 03:58:54
问题 I have managed to get an XAF application into the Windows Store via the Desktop Bridge. When a user installs my software from the Windows Store and then chooses to uninstall, I want them to have the option to completely uninstall the software including the database. So that they won't have any problem should they later decide to re-install? Currently, the UWP uninstall does not give an option to delete the database ( or even explain how to delete it ) Thus the user may be tempted to delete

UWP App Communication with Windows Service

夙愿已清 提交于 2019-11-30 10:03:46
We are fixing to re-architect an application and are debating whether or not it is possible to use UWP instead of an ordinary WPF application. Our application needs the ability the access the entire filesystem and all system resources. This is an issue since UWP apps are sandboxed. However, we are trying to bypass that issue by trying to approach it in this manner: Windows Service -> Running on the system at all times. This will host the core functionality when it comes to accessing and modifying system resources. UWP Application -> Since UWP is sandboxed, the UWP app will forward all system

How to access Windows.Services.Store namespace from a Win32 app converted to UWP with the “Project Centennial converter” to enable in-app purchases?

最后都变了- 提交于 2019-11-29 18:57:58
问题 I have a native C++/MFC app that is developed in VS 2008, no .NET stuff, that I converted into a UWP app using the Project Centennial converter. So now I have an .appx package that runs in Windows 10 v 1607 as a UWP app. My next goal is to add in-app purchase support before submission to Windows Store. The question though is how do I access Windows.Services.Store namespace from a pure Win32 app from a native C or C++ code? 回答1: Use WRL. Here's an example on how to purchase an in app purchase:

How to launch .exe file in uwp app using fulltrustlauncher?

一世执手 提交于 2019-11-29 10:24:59
问题 for now, i need to execute a .exe file in my uwp app. I know a solution is using fulltrustlauncher, but i have searched for many times for this solution, but my programming level seem too low, so It is very difficult for me to understand their explaination (for example: Running an EXE from C# using UWP ). So, how do you have a simple sample code for this solution? can you sharing? Thank you! 回答1: Finally, I can launch my .exe file in my UWP Application. I will describe my workaround step by

How to launch .exe file in uwp app using fulltrustlauncher?

梦想的初衷 提交于 2019-11-29 02:40:14
for now, i need to execute a .exe file in my uwp app. I know a solution is using fulltrustlauncher, but i have searched for many times for this solution, but my programming level seem too low, so It is very difficult for me to understand their explaination (for example: Running an EXE from C# using UWP ). So, how do you have a simple sample code for this solution? can you sharing? Thank you! Finally, I can launch my .exe file in my UWP Application. I will describe my workaround step by step like this: 1. Create your executable .exe file (for example console application) 2. copy .exe file to

How to launch a full-trust (desktop bridge) app from UWP with arbitrary parameters

三世轮回 提交于 2019-11-28 11:32:46
Is it possible for a UWP app to launch its Desktop Bridge (full-trust application component) with arbitrary command-line arguments? I see the ability to specify "argument groups" (see https://docs.microsoft.com/en-us/uwp/api/Windows.ApplicationModel.FullTrustProcessLauncher ), but it looks like that only supports using a predefined ParameterGroup . I need to launch a UWP with programmatically-determined (at launch time) arbitrary command-line arguments. Is this possible, and if so, how? No this is not possible today. One quick way to accomplish the scenario is to have the UWP write the command

Determine if C++ application is running as a UWP app in Desktop Bridge (Project Centennial)

百般思念 提交于 2019-11-28 10:30:36
I've packaged a C++/Win32 application as an appx and it runs OK. However, since some paths are unavailable I must somehow determine if the application is running as a packaged UWP application and adapt. Is there a simple runtime check one can do to determine if you are running as a packaged UWP application? Is there a simple runtime check one can do to determine if you are running as a packaged UWP application? Yes, you can check for package identity via GetPackageFamilyName function The value APPMODEL_ERROR_NO_PACKAGE is returned if not packaged. 来源: https://stackoverflow.com/questions

Determine if C++ application is running as a UWP app in Desktop Bridge (Project Centennial)

↘锁芯ラ 提交于 2019-11-27 06:21:57
问题 I've packaged a C++/Win32 application as an appx and it runs OK. However, since some paths are unavailable I must somehow determine if the application is running as a packaged UWP application and adapt. Is there a simple runtime check one can do to determine if you are running as a packaged UWP application? 回答1: Is there a simple runtime check one can do to determine if you are running as a packaged UWP application? Yes, you can check for package identity via GetPackageFamilyName function The

How to launch a full-trust (desktop bridge) app from UWP with arbitrary parameters

萝らか妹 提交于 2019-11-27 06:17:42
问题 Is it possible for a UWP app to launch its Desktop Bridge (full-trust application component) with arbitrary command-line arguments? I see the ability to specify "argument groups" (see https://docs.microsoft.com/en-us/uwp/api/Windows.ApplicationModel.FullTrustProcessLauncher), but it looks like that only supports using a predefined ParameterGroup . I need to launch a UWP with programmatically-determined (at launch time) arbitrary command-line arguments. Is this possible, and if so, how? 回答1: