Skip to content

Windows MSIX: CDP fails with --remote-debugging-port (access denied / 0x800704C7) #42

Description

@rbbentes-design

Problem

TradingView Desktop on Windows is now exclusively MSIX (Microsoft Store).
The download from tradingview.com/desktop installs to WindowsApps —
no classic installer exists anymore.

Installed path:
C:\Program Files\WindowsApps\TradingView.Desktop_3.0.0.7652_x64__n534cwy3pjxzj\TradingView.exe

Everything tried

  1. Direct execution → Access Denied (even as admin)
  2. launch_tv_debug.bat → same
  3. Invoke-CommandInDesktopPackage with correct PackageFamilyName + AppId:

Invoke-CommandInDesktopPackage -PackageFamilyName "TradingView.Desktop_n534cwy3pjxzj"
-AppId "TradingView.Desktop" -Command "TradingView.exe"
-Args "--remote-debugging-port=9222"

→ COMException 0x800704C7 (ERROR_CANCELLED)
Even with Developer Mode ON and running as Administrator.

Questions

  • Is there a pre-MSIX installer (v2.x) that used the classic Squirrel format?
  • Does this tool currently work on Windows at all, or only Mac/Linux?
  • Any alternative to the flag? (registry key, user-data dir config, env var?)

Environment

Windows 10 Pro 10.0.19045 · TradingView Desktop 3.0.0.7652 (MSIX) · Developer Mode: enabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions