# Install

You need Windows 10 (22H2) or Windows 11 on an x64 PC, or Windows 11 on Arm. No administrator rights are needed.

The program comes in two forms, from the
[latest release](https://github.com/qkvm/qkvm-desktop/releases/latest):

- **The setup**, `qKVM-Desktop-0.2.0-windows-setup.exe`, one for both kinds of PC: it installs the
  x64 program, or on Windows on Arm the ARM64 one, which runs natively. It installs the program for you alone,
  without asking for an administrator, into `%LOCALAPPDATA%\Programs\qKVM Desktop`, and adds it to the Start menu
  (to the desktop only if you tick that) and to Settings, Apps. A copy that the setup installed updates itself
  (see [Updates](https://qkvm.com/docs/desktop-updates)).
- **The ZIP**, `qKVM-Desktop-0.2.0-windows-x64.zip`, or for Windows on Arm
  `qKVM-Desktop-0.2.0-windows-arm64.zip`. Nothing is installed: unpack the whole ZIP into a folder of
  its own and start `qkvm-desktop.exe` in it. A copy from the ZIP shows you new releases; it does not install them.

The same files are at `https://download.qkvm.com/desktop/0.2.0/`.

### Windows on Arm

The ARM64 program runs natively: its own code, Qt, FFmpeg and its WebRTC library are ARM64, and it decodes and
draws on the graphics card as the x64 program does.

- An x64 copy of 0.2.0 or later on Windows on Arm, which Windows runs under its emulation, is offered the ARM64
  program of its own version too, and says that it is for Windows on Arm.
- A ZIP copy of 0.1.x there takes two steps: it is first offered the x64 0.2.0 ZIP, and that copy then offers the
  ARM64 one.
- The ARM64 program is guarded less than the x64 one: Qt's own code in it has no guard of its returns, where on
  x64 the processor's shadow stack guards them on a processor that has one. And the interface's script is
  interpreted there: what of it is not compiled runs slower than on x64 (the pictures do not go through it).

### Windows says it protected your PC

Neither the setup nor the program is signed with a code-signing certificate yet, so Windows SmartScreen may
warn before the first start of either. Choose **More info**, then **Run anyway**. Check the download first,
as below, if you want to be sure of what you run.

### Check the download

Each release lists the SHA-256 of its files in `SHA256SUMS`, on its release page. Before you run the setup or
unpack a ZIP, compare. In PowerShell, in the folder you downloaded it to:

    Get-FileHash .\qKVM-Desktop-0.2.0-windows-setup.exe -Algorithm SHA256
    Get-FileHash .\qKVM-Desktop-0.2.0-windows-x64.zip -Algorithm SHA256
    Get-FileHash .\qKVM-Desktop-0.2.0-windows-arm64.zip -Algorithm SHA256

If the value differs from the line in `SHA256SUMS`, do not run it. `SHA256SUMS` itself is signed with the
release key that the program has built in (`SHA256SUMS.sig`).
