简体   繁体   中英

MSIX: Start other Application in Multiple-Application Package?

So a Windows Application Packaging Project in Visual Studio can have references to multiple projects, which will be included in the package. One of those references/applications then gets defined as the entry point/startup application.

Is it possible to know where the other application in the package is located, so that I can start it from the entry point/startup application?

Hope this makes sense...

I assume you want to programmatically launch your other application, right?

By design, the binaries from an installation folder of an MSIX folder are not directly accessible through their direct path. I know this is how we did it for Win32 applications, but for containerized ones things have changed.

The correct way to run an app, installed by an MSIX package, programmatically or from the command line is with the use of an execution alias . The following article contains more details about how an execution alias works and how you can define it in your package, no matter the tool you use to build the MSIX package.

- App Execution Alias

Also, here is a related question on SO and another similar one .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM