Get Offline Installation Files

SOFiSTiK Application Manager includes all the necessary CLI tools to download and install offline files from SOFiSTiK repository servers. This is useful if you want to download the installation packages once and then reuse them on one or more PCs, distribute them over your network or use deployment software like SCCM and baramundi. Directly download SOFiSTiK Application Manager sam.msi here.

sam_mirror.exe

This command line tool is located in C:\Program Files\SOFiSTiK\common\SOFiSTiK Application Manager (SAM). When called without arguments sam_mirror.exe prints information about itself and its parameters. The basic generic command line looks like this:

sam_mirror.exe --source <source> -g <groupid1> -g <groupid2> --target <targetdir> --dry-run

Subsequent calls with the same --target are additive, i.e. additional products or service packs can be added to the repository <targetdir>.

A list of available group ids can be found here: List of groups and product identifiers

Note

Note the use of the option --dry-run in the commandline above. If specified sam_mirror.exe will simulate its operations, output them to the console, but not actually apply/download the changes. If you want to apply the changes remove this option.

Running sam_mirror.exe

  1. See List of groups and product identifiers and choose the “groups” that include the products you want to install. Add those groups to the following command line with -g <groupid>.

  2. Open a Command Prompt Windows START ‣ cmd

  3. Copy and paste the following command line into the Command Prompt (add or remove groups of your choice). This will download everything into the target directory C:\sofistik_mirror:

    "C:\Program Files\SOFiSTiK\common\SOFiSTiK Application Manager (SAM)\sam_mirror.exe" --source https://sam.sofistik.io -g tools -g fea-2020 -g soficad-2020 -g bimapps-2021 --target "C:\sofistik_mirror"
    
  4. The target directory now contains a database (master.json) and all the files required for installations. We call it a local repository for ‘SOFiSTiK Application Manager’.

  5. (Optional) Prior service packs can be selected or added by modifying the commandline, for example, change -g fea-2020 to -g fea-2020==5.0 to acquire files for service pack 5.

Note

We recommend to always add the product group -g tools in the commandline above. This makes sure, you always mirror the latest ‘SOFiSTiK Application Manager’ and make it available for your clients.

Service Pack Updates

To add the latest service pack available to your ‘repository’ (e.g. C:\sofistik_mirror) call sam_mirror.exe with your desired groups again after a SOFiSTiK service pack release, e.g.:

"C:\Program Files\SOFiSTiK\common\SOFiSTiK Application Manager (SAM)\sam_mirror.exe" --source https://sam.sofistik.io -g tools -g fea-2020 -g soficad-2020 -g bimapps-2021 --target "C:\sofistik_mirror"

Service packs can and should be merged into your existing repository.