VicGar
Posts: 5
Joined: Thu Jan 02, 2025 11:47 am

Run program from an installed app

Hello.

I've created an MSIX package that contains two programs, P1.EXE and P2.EXE.
P1.EXE is the application entry point and it works ok.
At some point of P1.EXE execution, P1.EXE runs P2.EXE.
This works ok if application capabilities is defined as "Full Trust" but I don't want to have such a global access.
Please help me to stablish the proper 'applicaction capabilities' combination than will allow P1.EXE to run P2.EXE

Thanks in advance.

Vicente
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: Run program from an installed app

Hello Vicente and welcome to our forums,

By default, your application runs into a container and does not have access outside of its' own container.

The FullTrust capability basically overwrites that and lets' your app to run outside of the container - meaning it can interract with other applications, just like you need.

Which kinds of apps do app capabilities apply to?

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
VicGar
Posts: 5
Joined: Thu Jan 02, 2025 11:47 am

Re: Run program from an installed app

Catalin wrote: Wed Jan 08, 2025 4:39 pm ... By default, your application runs into a container and does not have access outside of its' own container.
Thanks Catalin for your responese, but in my case, P1.EXE and P2.EXE both are included in the MSIX package.

Best regards.
Vicente
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: Run program from an installed app

Hello Vicente,

The fact that the apps are in the same MSIX package does not really matter here.

Since you're using a Win32 app, the FullTrust capability is required for this scenario to work.

We even enable it by default for you if we detect your app is of Win32 type.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
VicGar
Posts: 5
Joined: Thu Jan 02, 2025 11:47 am

Re: Run program from an installed app

"The fact that the apps are in the same MSIX package does not really matter here.
Since you're using a Win32 app, the FullTrust capability is required for this scenario to work."


Thanks Catalin for the response.

Now I have the rationale requested by the Security Team in order to use FullTrust capability.

Best regards.
Vicente
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: Run program from an installed app

You are always welcome, Vicente! :)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”