Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Install directory option ignored on Windows #311

Open
rasa opened this issue Jun 24, 2018 · 1 comment
Open

Install directory option ignored on Windows #311

rasa opened this issue Jun 24, 2018 · 1 comment
Assignees
Labels

Comments

@rasa
Copy link

rasa commented Jun 24, 2018

Both
HaskellPlatform-8.4.3-core-x86_64-setup.exe /D=C:\haskell
and
HaskellPlatform-8.4.3-core-x86_64-setup.exe /S /D=C:\haskell
install in C:\Program Files.
If


was replaced with IfSilent it might fix the issue.

@randen
Copy link
Contributor

randen commented Jun 24, 2018

For HP 8.4.3, we had to change the installer a bit for #279 which unfortunately broke the /S functionality (the changes are in PR #308). With NSIS, it is non-trivial to distinguish whether the user specified /D= or not (since the NSIS framework strips it out of the params it makes available to the client), so we never supported just the /D= functionality, but /D= used with /S is supported and will be fixed.

randen added a commit to randen/haskell-platform that referenced this issue Jun 24, 2018
The changes for haskell#279 (Windows installer should add MSYS to
extra-prog-path/extra-lib-dirs/...) broke silent installs.

* hptool/os-extras/win/templates/Bootstrapper.nsi.mu
  * Force /D= to the launched sub-installer to fix haskell#311
  * Add many comments about the weirdness of handling
    $INSTDIR
@randen randen self-assigned this Jul 6, 2018
@randen randen added the Windows label Jul 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants