Launch app converted by DAC

本秂侑毒 提交于 2019-12-11 15:22:09

问题


  1. I've converted my app using Desktop App Converter.
  2. Installed appx from step 1.
  3. Launched cmd.exe and entered the following command:

    "C:\Program Files\WindowsApps\MyApp_5.1.30.6486_x86__z4vxg0xscex6e\MyApp\myapp.exe"

Got the following error message: Access is denied.

  1. Why?
  2. What is the proper way to programmatically launch DAC converted app including any EXE inside of it?

回答1:


Once installed, you can launch the app from the app list in the start menu.

If you need to be able to launch the app from a command box, you will need to declare an appExecutionAlias in the manifest, as described here:

https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-extensions#alias



来源:https://stackoverflow.com/questions/45578332/launch-app-converted-by-dac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!