Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CaPTk installer does not accept "--accept" option #1222

Open
MarkBergman-cbica opened this issue Aug 3, 2020 · 2 comments
Open

CaPTk installer does not accept "--accept" option #1222

MarkBergman-cbica opened this issue Aug 3, 2020 · 2 comments
Assignees

Comments

@MarkBergman-cbica
Copy link
Collaborator

[bergman@huajiao tmp]$ ./CaPTk_1.8.0.Beta_Installer.bin --help
Makeself version 2.4.0
 1) Getting help or info about ./CaPTk_1.8.0.Beta_Installer.bin :
  ./CaPTk_1.8.0.Beta_Installer.bin --help   Print this message
  ./CaPTk_1.8.0.Beta_Installer.bin --info   Print embedded info : title, default target directory, embedded script ...
  ./CaPTk_1.8.0.Beta_Installer.bin --lsm    Print embedded lsm entry (or no LSM)
  ./CaPTk_1.8.0.Beta_Installer.bin --list   Print the list of files in the archive
  ./CaPTk_1.8.0.Beta_Installer.bin --check  Checks integrity of the archive

 2) Running ./CaPTk_1.8.0.Beta_Installer.bin :
  ./CaPTk_1.8.0.Beta_Installer.bin [options] [--] [additional arguments to embedded script]
  with following options (in that order)
  --confirm             Ask before running embedded script
  --quiet               Do not print anything except error messages
  --accept              Accept the license
  --noexec              Do not run embedded script
  --keep                Do not erase target directory after running
                        the embedded script
  --noprogress          Do not show the progress during the decompression
  --nox11               Do not spawn an xterm
  --nochown             Do not give the extracted files to the current user
  --nodiskspace         Do not check for available disk space
  --target dir          Extract directly to a target directory (absolute or relative)
                        This directory may undergo recursive chown (see --nochown).
  --tar arg1 [arg2 ...] Access the contents of the archive through the tar command
  --                    Following arguments will be passed to the embedded script
[bergman@huajiao tmp]$ ./CaPTk_1.8.0.Beta_Installer.bin --quiet --accept --nox11 
By installing the Cancer and Phenomics Toolkit (CaPTk), the user agrees to the following licenses, which pertain to the code and its different co
nstituents:

1. SBIA Software License - https://www.med.upenn.edu/sbia/software-agreement.html
2. SBIA Non-Commercial Software License (applies to PHI Estimator) - https://www.med.upenn.edu/sbia/software-agreement-non-commercial.html
3. Insight Toolkit License - https://cmake.org/Wiki/ITK/License_Information
4. Visualization Toolkit License - http://www.vtk.org/licensing/
5. Qt Open Source License - https://doc.qt.io/qt-5.10/qtcore-index.html#licenses-and-attributions; our copy can be found at https://github.com/CB
ICA/qt
6. CC Attribution-ShareAlike for SRI24 data - https://creativecommons.org/licenses/by-sa/3.0/us/legalcode 
7. MRIcroGL License - BSD
8. YAML-CPP - MIT License and can be found at https://opensource.org/licenses/MIT
9. Eigen - MPL2 License and can be found at https://www.mozilla.org/en-US/MPL/2.0/
I accept the terms of the licenses above [Y/N] 

Actual Behavior
Installation halts, awaiting license confirmation.

Expected Behavior
Installation proceeds silently.

@sarthakpati
Copy link
Member

Maybe the yes command [ref] is what you want?

@AlexanderGetka-cbica
Copy link
Contributor

The above works for me on my machine. However, in terms of making the installer actually match the stated interface -- our install script doesn't actually show those options, that's the makeself package that contains it. and our install script isn't using the flag from makeself.

This is low priority right now but depending on how long other fixes take I'll try to get this fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants