Ask Pathway Tools logo   Pathway Tools Question & Answer forum for SRI's Pathway Tools

Ask Your Question
0

How do I perform a silent installation?

asked 2016-09-12 23:22:32 -0500

anonymous user

Anonymous

Hi there,

I want to perform a silent installation of pathway tools via an ansible script. I need to have the installation complete without asking the console for paths etc.

Is there a way of supplying the paths on a commandline or in a config file etc?

Cheers,

Simon.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-09-19 11:50:14 -0500

ptools-admin gravatar image

updated 2016-10-07 16:08:13 -0500

Most of the the installer variables can be supplied via the command line. You find find all the command line options by calling the installer with the "--help" option. The 4 Pathway Tools specific variables are:

  • InstallDir (destination directory, defaults to $HOME/pathway-tools)
  • PTOOLSLOCALPATH (data/configuration directory, defaults to $HOME as the prefix. So the final location of the directory is $HOME/ptools-local, but you only specify $HOME prefix). There are "underscores" between each word, but it doesn't appear to be showing up on the posting.
  • InstallDesktopShortCuts (0 or 1, default=1 meaning, yes, install desktop shortcuts. For Unix and Mac, basically creates a symlink)
  • UninstallPrevious (Uninstall older versions before installing new version, default=1)

For "silent installation", you also need to specify -mode unattended option.

edit flag offensive delete link more

Comments

Example on Linux: ./pathway-tools-20.0-linux-64-tier1-install --InstallDir /home/smith/pathway-tools/v200 --PTOOLS_LOCAL_PATH /home/smith/pathway-tools --InstallDesktopShortcuts 0 --mode unattended

ptools-admin gravatar imageptools-admin ( 2016-10-07 16:06:03 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-09-12 23:22:32 -0500

Seen: 36 times

Last updated: Oct 07 '16