Skip to content

Installer hangs on "Adding Sunshine directories to PATH" when installing to non-C: drive #5544

Description

@inputgain

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the latest beta/pre-release?

This issue is present in the latest pre-release

Describe the Bug

Description

The installer gets stuck indefinitely at the step "Adding Sunshine directories to PATH" when Sunshine is installed to a drive other than C: (e.g., F:\Programs\Sunshine). The update-path.bat script appears to hang without producing any output or error message.

Steps to Reproduce

  1. Download Sunshine installer (e.g., sunshine-windows-installer.exe)
  2. Run the installer
  3. Change installation path to a non-C: drive (e.g., F:\Programs\Sunshine)
  4. Proceed with installation
  5. Observe that the installer hangs at "Adding Sunshine directories to PATH"

Expected Behavior

The installer should complete successfully regardless of the installation drive.

Actual Behavior

The installer hangs indefinitely at the PATH modification step. The update-path.bat script produces no visible output and does not complete.

Workaround

Installing to C:\Program Files\Sunshine works correctly. The issue only occurs with alternative drive letters.

Environment

  • OS: Windows 10/11
  • Sunshine version: [tu versión, ej: v2025.118.151840]
  • Installation path: F:\Programs\Sunshine (or any non-C: drive)
Image

Expected Behavior

The installer should complete successfully regardless of the installation drive.

Additional Context

Manually running update-path.bat as administrator also produces no output when Sunshine is installed on a non-C: drive. This suggests the script may have hardcoded paths or incorrect handling of drive letters.

Host Operating System

Windows

Operating System Version

Windows 10 Pro - 22H2

Architecture

amd64/x86_64

Package

Windows - exe installer

GPU Type

NVIDIA

GPU Model

Nvidia Geforce RTX 2080

GPU Driver/Mesa Version

610.47

Capture Method

None

Apps

Log output

Online logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions