Comments (5)
@kaidoatgit would Install location vitualization work?
from msix-packagesupportframework.
@kaidoatgit would Install location vitualization work?
Hello mate, I will give a try and research about it, thanks for your answer, i will give feedback as soon as possible
from msix-packagesupportframework.
@kaidoatgit would Install location vitualization work?
Hello mate, I will give a try and research about it, thanks for your answer, i will give feedback as soon as possible
It does not work :(
from msix-packagesupportframework.
Coolio. Thank you for trying my suggestion. Before I continue with suggestions I want to make sure I understand your problem.
What is the main issue? playwright can't be installed?
from msix-packagesupportframework.
Coolio. Thank you for trying my suggestion. Before I continue with suggestions I want to make sure I understand your problem.
What is the main issue? playwright can't be installed?
Im currently deploying my MSIX Package, everything works perfect in localhost however when I install using the package itself some funcionalities of my WPF dont work. After some researches I found that all MSIX package are deployed into this super protected folder with read-only permissions: C:\Program Files\WindowsApps.
My problem is that im using a nugget package from Microsoft to install Microsoft.Playwright which is a tool to automate browser tasks. The following code installs the binaries for chromium browser:
var exitCode = Microsoft.Playwright.Program.Main(new[] { "install", "chromium" });
if (exitCode != 0)
{
output.Text += "Failed to install browsers" + Environment.NewLine;
}
However because of the super protected folder C:\Program Files\WindowsApps the code above does not work.
I've tried another approach that was to install the binaries manually and then use the following code to create the object to automate browser task:
using var playwright = await Playwright.CreateAsync();
await using var browser = await playwright.Chromium.LaunchAsync(new BrowserTypeLaunchOptions() { Headless = false });
await using var browserContext = await browser.NewContextAsync();
var page = await browserContext.NewPageAsync();
await page.GotoAsync(website_url);
await page.WaitForTimeoutAsync(10000f);
Even this way it still doesnt work. I did give permission myself to write on this super protected folder: C:\Program Files\WindowsApps and this is the only way that works, but this is a big NO, because this folder shouldnt be unsecured.
from msix-packagesupportframework.
Related Issues (20)
- Multiple issues when trying to package .NET 5 WPF project with a Windows Packaging project HOT 3
- PSF Nuget should contain the fix of Develop (#146) HOT 1
- SDK Version obsolete HOT 1
- PSF Launcher and Working Directory HOT 2
- At least one of the ways that CRT behavior changes when running in a packaged process is broken HOT 1
- Add PSF to .netcore 3.1 MSIX packaging through Visual Studio
- Licensing: migrate to detours 4 HOT 2
- PSF Launcher - Launch notification HOT 1
- Any chance we can get a c# version of the PSF Launcher ? HOT 4
- The ability to use a XML config file rather than JSON HOT 3
- Throw error if config.json is not found
- Env Var Fixup not working HOT 14
- Msix psf HOT 2
- StartingScriptWrapper.ps1 fails when workingdirectory specified
- This repo is missing important files
- No ARM64 version, PSF doesn't work at all on ARM64 HOT 1
- PSF does not work when app requires UAC prompt
- ReplaceRegistrySyntax returns incorrect data
- RegLegacy Fixups | Case - Insensitive
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msix-packagesupportframework.