Windows: TradingView installs as MSIX package, WindowsApps folder blocks CDP launch (Access Denied) #331
Replies: 2 comments 3 replies
-
|
You hit a known Windows failure class, and it's already fixed on What changed (PRs #52, #316, #317, all verified against real MSIX installs):
To answer your questions directly:
$pkg = (Get-AppxPackage TradingView.Desktop).InstallLocation
Copy-Item "$pkg\*" "$env:LOCALAPPDATA\tradingview-mcp\TradingView" -Recurse -Force
& "$env:LOCALAPPDATA\tradingview-mcp\TradingView\TradingView.exe" --remote-debugging-port=9222
The SETUP_GUIDE has been updated with all of this (#332) — it was indeed still describing the legacy non-MSIX path, thanks for surfacing that. Two more tips:
|
Beta Was this translation helpful? Give feedback.
-
|
The guide/script no longer needs a non-MSIX install, but launching an MSIX app by directly executing the In Windows packaged apps, & "C:\Program Files\WindowsApps\TradingView.Desktop_...\TradingView.exe" --remote-debugging-port=9222The repo's current Windows launcher tries to avoid enumerating Get-AppxPackage -Name 'TradingView.Desktop'then starts the resolved start "" "%TV_EXE%" --remote-debugging-port=%PORT%So I would try the bundled script instead of running the scripts\launch_tv_debug.bat 9222If TradingView starts but CDP never appears, the script's own message points to the next workaround: use the One more practical check: after launching, test If that gets CDP reachable, please mark it as answered. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Setting up the MCP on Windows 10 and hit a blocker at the TradingView launch step.
Issue:
TradingView Desktop (downloaded both from Microsoft Store and directly from
tradingview.com) installs as an MSIX package into:
C:\Program Files\WindowsApps\TradingView.Desktop_3.3.0.7992_x64__\TradingView.exe
Windows locks this folder tightly (package SID isolation), so launching
with the debug flag fails even from an elevated/Administrator PowerShell:
& "C:\Program Files\WindowsApps\TradingView.Desktop_3.3.0.7992_x64__\TradingView.exe" --remote-debugging-port=9222
Result:
Program 'TradingView.exe' failed to run: Access is denied
Also tried granting execute permission directly via icacls (as admin):
icacls "C:\Program Files\WindowsApps\TradingView.Desktop_3.3.0.7992_x64__" /grant "$env:USERNAME:(OI)(CI)RX" /T
Result:
Access is denied.
Successfully processed 0 files; Failed processing 1 files
Environment:
Question:
Does the setup guide assume a non-Store/non-MSIX install of TradingView Desktop
on Windows? If so, is there a known source for that build, or a documented
workaround for launching an MSIX-packaged app with --remote-debugging-port
on Windows 10? Happy to test any suggested approach and report back.
Beta Was this translation helpful? Give feedback.
All reactions