问题
- I've converted my app using
Desktop App Converter
. - Installed
appx
from step 1. 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
.
- Why?
- 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