Silent installation of SACS and API installation


Product(s):SACS                                                                                                                                
Version(s):All
Area:Installation

Question:

How can I change the installation directory using the Silent install method for SACS? 

Tip:

For silent installation, the syntax would be the following:

SACSSETUP.exe /install /quiet /norestart InstallDirectory="YOUR_DESIRED_INSTALL_DIR"

Since all Bentley products use the same installer template this syntax could be the same for MOSES.

Question:

How can I install SACS API for Python?

Tip:

SACS Python installation is only supported for the next versions 15.1, 16.1, and 2023, to perform this installation you need to go to the pathway a look for the folder SDK\Python\pkg, depending on the version you will show the next files

there are two ways to go about it.

  1. PIP installation using the *.whl file provided.
  2. Compiling your own python installation using the *.tar.gz file provided.

Version 15.1

Version 16.1

Version 2023

Method 1. You need to do the following.

SACS-16.1-cp37-cp37m-win_amd64.whl This version is compatible with Python 3.7

SACS-16.1-cp38-cp38-win_amd64.whl This other one is compatible with Python 3.8

      SACS-16.1-cp39-cp39-win_amd64.whl and finally this one is compatible with Python 3.9

Only one of these files is necessary to install, I recommended you install in version 3.9 

So, now how can I perform the installation of SACS API? Please follow the next process

"Python" and then, make a right click and, "Open File Location", then make right click on the "Executable" file and select "Show More Options" go to the "Properties" and finally copy the "Target"

Method 2. This is a bit advanced way of installation. It allows you to make a package for your own version of Python. The main required steps are as follows:

 

Alternatively, this tar ball may be installed directly with pip install. For example, the following command may be used:

pip install "C:\Program Files (x86)\Bentley\Engineering\SACS CONNECT Edition V16 Update 1\SDK\Python\pkg\SACS-16.1.tar.gz"

You may be required to download additional Microsoft dependencies from C++ Build Tools.

Microsoft C++ Build Tools - Visual Studio

Here is the recommended list of individual components: 

Download the little explanation in the PDF file to perform the API installation

https://communities.bentley.com/products/offshore/m/sacs-i-moses-training-datasets/276641