- Tekla Structures software installation
- Either the 32-bit version or the 64-bit version of the software installation, depending on your operating system.
- Common environmentTekla Structures environment that forms a basis for other environments
The common environment is included in the software installation and includes the global settings, macros, symbols, items, and fonts, for example. The common environment is not used as basis in the US Imperial and US Metric environments.
- Common environment is needed as a basis for all the other Tekla Structures environments.
- Tekla Structures environmentregion- or company-specific settings and information that are predefined in Tekla Structures or that are defined by the user
To be able to use Tekla Structures, the user must install the software and for region-specific settings at least one Tekla Structures environment. The software installation includes the common and blank project environments and the global settings. The common environment and global settings are the basis for all other environments except US Imperial and US Metric.
Property files form the largest part of a Tekla Structures environment. A Tekla Structures environment consists of, for example, profile catalogs, part property files, and drawing settings.
- Localized environments include your country-specific codes and standards.
in large companies, and therefore, Tekla Structures is often installed in a centralized manner across company workstations.
This document clarifies the basic principles of building a centralized installation for the Tekla Structures installation package.
Scope of this document
- Installing Tekla Structures using setup.exe files containing the needed settings, see Method 1.
- Installing Tekla Structures using an MSI package with a transformation file, see Method 2.
This document is meant for a Tekla Structures main user who prepares installation packages and determines the correct installation settings for the IT department. The company IT department can then distribute Tekla Structures into workstations in the company network.
The basic assumption is that you, or someone in your company, have earlier experience in centralized distribution and that you are familiar with the distribution tools used in your company. The steps to configure the actual distribution depend on the software you are using, and therefore this document or Tekla is not able to give you support on that. This document only explains the steps that can be considered Tekla Structures specific, or relevant to a Tekla Structures main user.
Do not use any self-made batch files for the centralized installation of Tekla Structures. Tekla Structures installation is designed to be run either interactively by double-clicking the installation .exe, or in centralized manner explained in this instruction by using proper distribution tools.
Installation settings in Tekla Structures 18.0
Tekla Structures stores all files associated with a model in a folder it creates with the same name as the model database (.db1).
In multi-user mode all users access the same model folder.
, and the languages to be installed). In the centralized distribution, the dialog boxes are typically not visible to the user, and therefore the settings need to be defined in some other way.
The installation settings are valid for both installation methods explained in chapters 4 and 5. The settings are the same even they are entered in different ways depending on the installation method used.
Installation settings for Tekla Structures 18.0 Final software
- INSTALLDIR – Software installation folder
- TS_ENVINSTALLDIR – Environment installation folder
- TSMODELDIR – Default location for Tekla Structures models
- If your software installation folder is C:\Program Files\Tekla Structures\, then your environment installation folder should be C:\ProgramData\Tekla Structures\.
- In this case you should make sure that all your Tekla Structures workstations are running the Windows Vista or Windows 7 operating system.
- If your software installation folder is C:\TeklaStructures\, then your environment installation folder should also be C:\TeklaStructures\.
- This folder path setup is recommended especially if you have both Windows XP computers and Windows Vista / Windows 7 computers as Tekla Structures workstations.
- If you want to use any other installation location, then the software installation folder and the environment installation folder must the same.
- L_CHS – Chinese (simplified)
- L_CHT – Chinese (traditional)
- L_CSY – Czech
- L_DEU – German
- L_ESP – Spanish
- L_FRA – French
- L_HUN – Hungarian
- L_ITA – Italian
- L_JPN – Japanese
- L_NLD – Dutch
- L_PLK – Polish
- L_PTB – Portuguese (Brazil)
- L_PTG – Portuguese
- L_RUS – Russian
Installation settings for Tekla Structures 18.0 Service Releases
INSTALLDIR – Software installation folder
Use the same folder as with the main version installer.
Installation settings for Tekla Structures 18.0 Environments
Enter the settings described in the previous chapter in the command line. Notice that it is essential to enter INSTALLDIR when installing Tekla Structures 18.0 software.
Examples of a command line command for running setup installation silently
- To install 64-bit Tekla Structures 18.0 to the Program Files folder:
TeklaStructures180x64Software.exe /s /v"/qn INSTALLDIR=\"C:\Program Files\Tekla Structures\" /lvoicewarmupx TS180_logfile.log"
- Same as above with Spanish and Italian languages:
TeklaStructures180x64Software.exe /s /v"/qn INSTALLDIR=\"C:\Program Files\Tekla Structures\" L_ESP=1 L_ITA=1 /lvoicewarmupx TS180_logfile.log"
If you want to, you can copy the environment installers to the same location where you have the Tekla Structures 18.0 software installer. Then, when you run the software installer, it starts the Environment manager which then installs all available environments in that folder. Do not place the environment installer to the same folder with the software installer if you do not want the environments to be installed at the same time.
- To install 64-bit Tekla Structures 18.0 SR1 to the Program Files folder:
TeklaStructures180SR1x64Software.exe /s /v"/qn INSTALLDIR=\"C:\Program Files\Tekla Structures\" /lvoicewarmupx TS180SR1_logfile.log"
- To install Tekla Structures Common environment separately:
Env_Common_inst_180.exe /s /v"/qn /lvoicewarmupx TS180Common_logfile.log"
Notice that setting /v is used in the msiexec. You need to have all of the settings in quotation marks. Also, if for example the INSTALLDIR path includes spaces, you need to enter the path in quotation marks and use a backslash in front of the quotation mark to distinguish these quotation marks from the start and end quotation marks of setting /v.
Checking Tekla Structures prerequisites
The prerequisites for Tekla Structures 18.0 are:
- Microsoft .NET 4.0 Extended
- Microsoft Visual Studio C++ 2005 x86 Redistributable 8.0.59192
- Microsoft Visual Studio C++ 2005 x64 Redistributable 8.0.59193
- Microsoft Visual Studio C++ 2010 x86 Redistributable 10.0.40219
- Microsoft Visual Studio C++ 2010 x64 Redistributable 10.0.40219
Microsoft .NET 4.0 and the latest Visual Studio redistributable installers can be downloaded from the Microsoft site. You can also extract the installers from the Tekla Structures installation setup.exe.
Extracting Tekla Structures software installation package
2. Run Command Prompt as administrator.
3. Run the installation package with setting /a. If you want to extract prerequisite packages from setup.exe, add a folder path after the /a setting to extract the prerequisites to that folder.
By using setting /a, the installation package is run in the administrator mode. This means that the software is extracted instead of installed, even though the user interface is very installation-like.
4. Select the installation language.
5. The installation initializes, click Next in the InstallShield Wizard dialog box.
6. Select the location where you want the system to extract the software installation.
7. Click Finish.
8. You can now browse into the extraction folder that you defined in step 5. The folder contains the .msi package, program files and GlobalAssemblyCache folders.
When extracting the setup, if you defined a folder after setting /a, the prerequisites are extracted to separate subfolders (Prq folder in the picture above). If the operating systems on the client computers are up-to-date, you do not need to install all extracted prerequisites but only those needed for Tekla Structures if they do not already exist on the client computers. In the extracted folder, the Microsoft .NET 4.0 installer is named “dotNetFx40_Full_x86_x64.exe” and the Visual Studio redistributable installer file names start with “vcredist“. You can also get the latest versions of these from the Microsoft web site.
Extracting Tekla Structures Service Release installation package
Extracting Tekla Structures Environments installation packages
At the end of the extraction process your folder should look for example as follows:
The software installation is available as an extracted MSI package on the Tekla Structures DVD. Note that you still need to extract the Common environment and other environments.
Setting the installation settings
Transformation files can be created and viewed with a variety of installation or .mst editing software. The software is third-party software and it is not included in the Tekla Structures installation package. A free viewer for transformation files is available at: http://www.instedit.com/.
As the steps to create the .mst file depend on the .mst editor you use, Tekla cannot provide you with more detailed instructions on the creation method. The following chapter describes the valid settings that can and need to be defined by using the .mst file.
The installation settings in a transformation file for Tekla Structures 18.0 Final software
The needed properties should be added in the .mst file if they do not exist. You can do this by inserting a row in the Property tableview in object browser that shows the values of selected model object properties
The property table is created based on a selected property template.
and saving the transformation file. It is not recommended to modify the original msi file.
Installation settings in a transformation file for Tekla Structures Service Releases
Installation settings in a transformation file for Tekla Structures Environments
Example of a command line command for running MSI installation silently
msiexec /i "Tekla Structures 18.0 x64 Software.msi" TRANSFORMS=TS180x64_installation.mst /qn /lvoicewarmupx TS180_logfile.log
The example is for the Tekla Structures 18.0 software package so you need to have similar commands for the service release and all environment installers.
Configuring the distribution
However, some general hints and tips about the centralized distribution can be given:
- Tekla Structures needs to be installed with administrative rights. Make sure that proper rights are given.
- Typically, the installations that are run in a centralized manner are set to run in a silent mode. This means that Tekla Structures users will not see any installation dialogs. Due to this silent mode it is recommended to set any additional information messages as invisible and to record them into a separate log file instead, if this is supported in the distribution tools used in your company.
Validating the installation result
Checking Tekla Structures shortcut
Checking the installation paths in the Control Panel
Checking the content of teklastructures.ini
To check this:
- Browse to your software installation folder (defined in INSTALLDIR in the .mst file).
- Browse to the sub folders nt\bin\.
- Open teklastructures.ini in a text editor.
The .mst file values should match the teklastructures.ini values in the following way:
INSTALLDIR – XS_DIR
TS_ENVINSTALLDIR – XSDATADIR
TSMODELDIR – XS_RUNPATH
- How the installation was executed; msiexec or setup commands used
- Which MSI installers and mst files were used (send the mst files)
- Installer log files
- Description of the problem
Some tips on using InstEd
Creating a new mst file
Then make your changes (add, delete, modify) in the tables. The changes are saved in the mst file when you save the tables (File > Save).