Access MSIX Container
3 TopicsIssue with MSIX Packaged Application Starting Only with Admin Privileges
Hello everyone, I've developed an application that runs perfectly fine with standard user privileges when installed using the traditional setup.exe procedure. However, when I convert and install the same application using the MSIX packaging process, I'm facing an unexpected behavior. The application launches only when executed with administrator privileges, even though the application itself doesn't require such elevated access. Just to provide a bit more context, I've developed the application with lower privilege requirements, as it's designed to be installed in the "Local" folder on the computer. While the MSIX package does an excellent job of simulating the classic installation folder structure, the application, once installed, fails to write essential configuration files to the same folder that contains the executable file. These files are crucial for the program's proper functioning upon its first launch. I've tried experimenting with various privilege settings within the MSIX package, even ticking all available privileges, but unfortunately, the issue persists. Here's where it gets even more intriguing. If I create the package with the Debug mode enabled and start the application with admin privileges, it manages to write the necessary files for its startup. It's as if the debugging environment adds an extra layer of writing permission. Has anyone else encountered such a situation? I would greatly appreciate any insights, recommendations, or potential solutions that the community might have to offer. This issue is making me scratch my head, and I'm hoping that some of you might have encountered something similar and found a workaround. Thank you in advance for your time and assistance. Cris2.6KViews0likes2CommentsMSIX Virtual Container Opening Issue with command "Invoke-CommandInDesktopPackage -PackageFamilyName
Hi All, Any Idea why I am not able to open the virtual cmd.exe/regedit.exe/notepad.exe with below command line. Invoke-CommandInDesktopPackage -PackageFamilyName WS-FTP-Professional_cd0wgck2zs9pm -AppId WS-FTP-Professional -Command "cmd.exe" -PreventBreakaway Invoke-CommandInDesktopPackage : System.ArgumentException occurred when attempting to invoke the provided command in desktop package. Run Invoke-CommandInDesktopPackage -? for usage details. Additional detail: Value does not fall within the expected range.At line:1 char:1 + Invoke-CommandInDesktopPackage -PackageFamilyName WS-FTP-Professional ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : NotSpecified: (:) [Invoke-CommandInDesktopPackage], ArgumentException + FullyQualifiedErrorId : System.ArgumentException,Microsoft.Windows.Appx.PackageCommands.InvokeCommandInDesktopPackageSolved1.6KViews0likes2Comments