Installation > Getting Started > Installing Modeler Through a Customized MSI File
Installing Modeler Through a Customized MSI File
When you install Modeler, the Modeler installation MSI file (PTCModelerx_x.msi) determines the default options that are used for the installation program. These default options can be changed in the pages of the Modeler installation wizard.
If you are rolling out Modeler to a large number of users, you can create a customized version of the Modeler installation MSI file so that the default options result in the required installation of Modeler.
This topic covers setting the default installation folders for Modeler, and setting up the default license server and database server.
In addition to rolling out Modeler through a customized MSI file, you can perform administrator installs by installing Modeler through the Windows Installer (msiexec.exe) command line interface and passing installation parameters through command line arguments. You can also make use of Systems Management Server (SMS) to install Modeler. These methods for installing Modeler are not covered in the Help. For more information, contact customer support.
* 
Changing properties in the Modeler MSI file that are not covered in this topic may result in invalid installations of Modeler and can potentially damage your Windows system.
After modifying the Modeler installation MSI file, thoroughly test the changes you have made to ensure that it creates a valid Modeler installation.
Orca Database Editor
You can use the Microsoft Orca database editor to change the Modeler installation MSI file.
The Orca database editor is provided with the Windows Installer SDK. For information about installing the Orca database editor, see How to use the Orca database editor to edit Windows Installer files.
Modeler Installation MSI file
Copy the Setup folder to a network location and then make the required changes to the Modeler installation MSI file (PTCModelerx_x.msi) through the Orca database editor.
Users can then install Modeler through the Modeler installation exe application (PTCModelerx_xSetup.exe), which will then call the modified MSI file.
Changing the Installation Path for Modeler
From the Orca database editor, open the Modeler installation MSI file (PTCModelerx_x.msi) you want to change.
In the Tables pane, select the Directory entry, and in the adjacent pane locate the INSTALLDIR entry in the Directory column. The INSTALLDIR entry specifies the top-level folder for the Modeler installation.
By default:
The INSTALLDIR entry references the PTC_MODELER entry.
The ARTISAN_SOFTWARE_TOOLS entry creates the PTC Modeler folder in the Program Files folder.
The ARTISAN_REAL_TIME_STUDIO entry creates the Modeler folder as a subfolder of the PTC Modeler folder.
* 
ProgramFilesFolder is a special property for specifying the Windows Program Files folder.
For more information on these special properties, see the Windows Installer Guide.
In the following example, we want to install Modeler to a folder named C:\MyFolder:
The new MY_FOLDER entry creates the MyFolder folder in Windows volume (typically C:).
The INSTALLDIR entry is changed to reference the MY_FOLDER entry. Note that WindowsVolume is another special property and the ARTISAN_SOFTWARE_TOOLS entry is no longer used.
The ARTISAN_REAL_TIME_STUDIO entry creates the Modeler folder as a subfolder of the MyFolder folder.
Following on from the previous example, we now want to install Modeler to a folder named C:\MyFolder\MySubfolder:
The new MY_SUBFOLDER entry creates the MySubfolder folder as a subfolder of the MyFolder folder.
The INTALLDIR entry is changed to reference the new MY_SUBFOLDER entry.
Changing the default license server and database server instance
Often you will want to specify a default license server and database server instance to use.
From the Orca database editor, open the Modeler installation MSI file you want to change.
In the Tables pane, select the Property entry, and in the adjacent pane find the ART_DEFAULT_LICENSE_SERVER and ART_DEFAULT_REP_SERVER entries in the Directory column. The values set appear as defaults in the Modeler installation program.
In the following example, we change the default license server to LS001, and change the default database server instance to RepServ001.
Other MSI properties that can be configured
ART_INSTALL_CODE_SYNC — possible value can be either 0 or 1
ART_INSTALL_DOORS — possible value can be either 0 or 1
ART_INSTALL_SYNC_ACS — possible value can be either 0 or 1
ART_INSTALL_SYNC_ADA — possible value can be either 0 or 1
ART_INSTALL_SYNC_C — possible value can be either 0 or 1
ART_INSTALL_SYNC_C_PLUS — possible value can be either 0 or 1
ART_INSTALL_SYNC_JAVA — possible value can be either 0 or 1
ART_INSTALL_SYNC_SHADOW_TDK — possible value can be either 0 or 1
ART_INSTALL_SYSML — possible value can be either 0 or 1
ART_INSTALL_XMI — possible value can be either 0 or 1
ART_SETUP_TYPE — possible values can be: Client, Server or Standalone
ART_DEFAULT_LICENSE_SERVER — value is <<Name of the License Server>>
ART_DEFAULT_REP_SERVER — value is <<Name of the Repository Server>>
ART_DOC_GEN_PAPER_SIZE — possible value can be: A4, Normal or None
INSTALL_DOC_GEN — possible value can be either 0 or 1
INSTALL_ENABLER_SERVER — possible value can be either 0 or 1
INSTALL_MENTOR — possible value can be either 0 or 1
INSTALL_MODEL_EDITOR — possible value can be either 0 or 1
INSTALL_REPOSITORY_EXAMPLES — possible value can be either 0 or 1
INSTALL_REPOSITORY_MODELS — possible value can be either 0 or 1
ART_CREATE_EXAMPLES — possible value can be either 0 or 1
ART_CREATE_MODELS — possible value can be either 0 or 1
Was this helpful?