Installer ignores /D flag from commandline, unable to specify install directory for silent installs
Nobody has claimed this yet.
- 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
- Download 64bit installer
- run
.\RetroArch-Win64-setup.exe /S /D C:\TEST\from PowerShell or Command Prompt 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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