libretro / libretro/RetroArch

Installer ignores /D flag from commandline, unable to specify install directory for silent installs

Open
#12,781 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

installer platform: windows
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Description

Windows installer does not respect the /D flag when used from the command line.
It will install to the default directory of C:\RetroArch-Win64\

Expected behavior

RetroArch to be installed to the path specified by /D

Actual behavior

Path specified by /D is ignored and the installer places the files in the default folder C:\RetroArch-Win64\

Steps to reproduce the bug
  1. Download 64bit installer
  2. run .\RetroArch-Win64-setup.exe /S /D C:\TEST\ from PowerShell or Command Prompt
  3. dir C:\ to see that the default folder has been created and contains the RetroArch files
Bisect Results

Unsure as repo with the .nsi file is private

Version/Commit

You can find this information under Information/System Information

  • RetroArch: 1.9.7
Environment information
  • OS: Windows 10, 21H1, build 19043.1110
  • Compiler: N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with .\RetroArch-Win64-setup.exe /S /D C:\TEST\ on Windows 10 and compare the install location with the default C:\RetroArch-Win64. The issue notes that the installer’s .nsi source is private; done means a silent install places RetroArch in the path supplied by /D.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.