Documente Academic
Documente Profesional
Documente Cultură
Table of Contents
Overview .........................................................................................................................................2
Software Components....................................................................................................................2
Installing SmartPlant Instrumentation Components.................................................................2
Modifying Component Selection..............................................................................................4
Repairing Installed Components...............................................................................................5
Uninstalling SmartPlant Instrumentation .................................................................................6
Overview
This document explains how to perform Setup maintenance. You need to run Setup on a
machine where you have installed SmartPlant Instrumentation. Setup maintenance involves
a modification of the existing software component selection, restoration of corrupted software
components, or complete deletion of all of the components.
The document provides an explanation on how to install several versions of SmartPlant
Instrumentation 7.0 on the same application client or server machine without overwriting the
existing installation.
Also, in this document, you will learn how to switch from one database to another using the
INTOOLS.INI file.
Software Components
The following section provides information on:
• the software components you need to install
• how to modifying the component selection of the previously installed components
• how to repair previously installed corrupted components
• how to uninstall the software
Access
Database
Deployment Kit
Internal Setup
Utility
DBF Samples
Merger Utility
Documentation Q&A
User’s Guides
Online Help
CAD SmartSketch
AutoCAD
MicroStation
MicroStation
Samples
Shell Library
Standard
Library
Loop Blocks
Library
PSR Library
SmartPlant Instrumentation Setup Maintenance and Database Selection 4
Databases Template
Database
Catalog
Database
Demo
Database
} at least one of
these databases
TEF sample
database (for
the Engineering
Framework)
Empty
Database
Caution
1. Insert the CD into your CD-ROM drive. The SmartPlant Instrumentation CD Browser
launches automatically if AutoPlay is enabled on your system. The CD Browser allows
you to display the Installation Guide, and to install SmartPlant Instrumentation and other
CD extras.
Note
3. On the Welcome page, click Modify to open the Select Components page.
Note
• On the Select Components page, the software selects all the installed
components by default.
5. Click Next.
Caution
• Setup overwrites the demonstration and empty databases. You will lose any
user-defined data you have in the IN_DEMO.DB and INTOOLS.DB files. If you
used the empty database to define your domain data, and set this database
to be your active database, you lose all the existing domain data if you
overwrite the old INTOOLS.DB file. Therefore, if you need to use the old
IN_DEMO.DB and INTOOLS.DB files, you must backup these files before
repairing the installed components.
SmartPlant Instrumentation Setup Maintenance and Database Selection 6
1. Insert the CD into your CD-ROM drive. The CD Browser launches automatically if
AutoPlay is enabled on your system. The CD Browser allows you to display the
Installation Guide, and to install SmartPlant Instrumentation and other CD extras.
Note
4. Click Next to overwrite all the existing software components with new components.
Note
Caution
1. Use the standard Windows Add/Remove option to open the SmartPlant Instrumentation
Setup Maintenance wizard.
3. Click Next.
Requirements
If you need to install and run multiple versions or service packs on the same machine, for
example 06.00.01.00 and 07.00, the following requirements apply:
• SmartPlant Instrumentation 7.0 must be installed after the earlier version of the software
(not earlier than 5.2)
• If you created a database profile in a version prior to 7.0, after installing version 7.0, you
must recreate the profile using the Internal Setup Utility.
• You must connect to the correct IN_TEMPL.DB. This is because with each new installation,
the software overwrites the registration of the IN_TEMPL.DB, and as a result, in your
Windows registry, the path to the IN_TEMPL.DB always points to the latest installation of
the software.
• When installing SmartPlant Instrumentation 7.0 on the machine that has a previous
version of INtools, the software changes the name of the ODBC driver for the database
profiles IN_TEMPL, IN_DEMO, INTOOLS and PATTERN in the registry. Even after
switching from SmartPlant Instrumentation 7.0 to a previous version of INtools, you
cannot execute procedures that require a connection to the IN_TEMPL.DB database,
such as initializing or backing up a domain, running the Import Utility, and so forth.
Therefore, to be able to use such procedures, in the Registry Editor, for the values
IN_TEMPL, IN_DEMO, INTOOLS and PATTERN of the ODBC Data Sources key, you
must change the data string settings.
After switching from SmartPlant Instrumentation 7.0 to INtools 6.0, change the value
data strings as follows:
Adaptive Server Anywhere 7.0 for INtools
After switching from INtools 6.0 to SmartPlant Instrumentation 7.0, change the value
data strings as follows:
Adaptive Server Anywhere 7.0 for SmartPlant Instrumentation
Caution
Note
• After you perform one of the following procedures, Setup does not detect the
existing installation when installing a new version of SmartPlant Instrumentation
7.0, so you need to perform a complete installation of the software.
1. Rename the folder where your SmartPlant Instrumentation installation is located. For
example, if you installed SmartPlant Instrumentation 7.0 in C:\PROGRAM
FILES\SMARTPLANT\INSTRUMENTATION, rename the home folder to C:\PROGRAM
FILES\SMARTPLANT\INSTRUMENTATION_1.
2. When running Setup for a new installation, on the Choose the Destination Folder page,
set the path to the destination folder to C:\PROGRAM FILES\SMARTPLANT\INSTRUMENTATION.
SmartPlant Instrumentation Setup Maintenance and Database Selection 9
Note
• After you complete the installation, your previous version becomes inactive. To
switch to the previous installation, you need to rename the home folder from
C:\PROGRAM FILES\SMARTPLANT\INSTRUMENTATION to C:\PROGRAM
FILES\SMARTPLANT\INSTRUMENTATION_2 and then rename C:\PROGRAM
FILES\SMARTPLANT\INSTRUMENTATION_1 back to C:\PROGRAM
FILES\SMARTPLANT\INSTRUMENTATION.
1. Rename the folder where your previous installation is located. For example, if you
installed SmartPlant Instrumentation 7.0 in the folder C:\PROGRAM
FILES\SMARTPLANT\INSTRUMENTATION, rename the home folder to C:\PROGRAM
FILES\SMARTPLANT\INSTRUMENTATION_1.
2. When running Setup for a new installation, on the Choose the Destination Folder page,
set the path to the required destination folder. For example, C:\PROGRAM
FILES\SMARTPLANT\INSTRUMENTATION_2.
6. Change the value data of the original paths as in the following examples:
“C:Program Files\SmartPlant\Instrumentation\IN_TEMPL.DB”
“C: Program Files\SmartPlant\Instrumentation \DBODBC7.DLL”
“C: Program Files\SmartPlant\Instrumentation \DBEng7.exe -d -u -c 4096”
to the value data that corresponds to the paths you set for the new installation:
Note
• After you complete the current installation, your previous installation of Version
7.0 located in the folder C:\PROGRAM FILES\SMARTPLANT\
INSTRUMENTATION_1becomes inactive. To switch to the previous installation of
Version 7.0, you need to rename the home folder from C:\PROGRAM
FILES\SMARTPLANT\INSTRUMENTATION_2 to C:\PROGRAM
FILES\SMARTPLANT\INSTRUMENTATION and then rename C:\PROGRAM
FILES\SMARTPLANT\INSTRUMENTATION_1 to C:\PROGRAM
FILES\SMARTPLANT\INSTRUMENTATION_2.
SmartPlant Instrumentation Setup Maintenance and Database Selection 11
Activating Databases
In this section, you learn how to set your default standalone database in the INTOOLS.INI file.
Also, this section provides an explanation of how to switch to another database without
having to change various parameters in the INTOOLS.INI file. The following section explains
how to modify the appropriate parameters the INTOOLS.INI file only once to enable switching
from one database to another when logging on to SmartPlant Instrumentation.
1. In the [DATABASE] section of your INTOOLS.INI file, insert a semicolon (;) at the beginning of
the following statement:
dbparm=connectstring='dsn=in_demo;uid=in_dbamn;pwd=in_dbamn'
1. In the [DATABASE] section of your INTOOLS.INI file, insert a semicolon (;) at the beginning of
the following statement:
dbparm=connectstring='dsn=in_demo;uid=in_dbamn; pwd=in_dbamn'
Caution
• To enable this option, make sure that you have installed your SmartPlant
Instrumentation databases on the same platform and that these databases
belong to the same version and service pack. If your databases are of different
versions, when switching from one database to another you will be prompted to
upgrade the database. Do not upgrade the database; if you do, the database will
no longer be available.
SmartPlant Instrumentation Setup Maintenance and Database Selection 13
1. In the INTOOLS.INI file, create a [PROFILES] section to store the list of all available database
profiles and the default profile name.
2. In the [PROFILES] section, add a line for each database, including the default database.
Add a profile name label to each database.
For example,
[Profiles]
Database1=IN_DEMO
Database2=AS_BUILT
Default=IN_DEMO
3. Copy the [DATABASE] section as many times as needed. There has to be a [DATABASE]
section for each existing database. Do the following in each [DATABASE] section:
a) Do not change the [DATABASE] label for the default database.
For example, if your default database is IN_DEMO, ensure that the default [DATABASE]
section is configured as follows:
[database]
DBMS=ODBC
LogId=IN_DBAMN
LogPassword=IN_DBAMN
ServerName=
Database=IN_DEMO
UserId=
DatabasePassword=
TableDir=0
StayConnected=1
AutoCommit=0
DBParm=ConnectString='DSN=IN_DEMO;UID=IN_DBAMN;PWD=IN_DBAMN'
Prompt=110
Commit=100
;INIT_TABLE_CONT=
SmartPlant Instrumentation Setup Maintenance and Database Selection 14
b) For the remaining profiles, change each [DATABASE] label to the label corresponding
to the database profile that you created in the [PROFILE] section.
For example, if you have created a new IN_DEMO profile, create a new [DATABASE]
section and change the [DATABASE] label to [IN_DEMO]:
[IN_DEMO]
DBMS=ODBC
LogId=IN_DBAMN
LogPassword=IN_DBAMN
ServerName=
Database=IN_DEMO
UserId=
DatabasePassword=
TableDir=0
StayConnected=1
AutoCommit=0
DBParm=ConnectString='DSN=IN_DEMO;UID=IN_DBAMN;PWD=IN_DBAMN'
Prompt=110
Commit=100
;INIT_TABLE_CONT=
If you have created a new AS_BUILT profile, create a new [DATABASE] section and
change the [DATABASE] label to [AS_BUILT]:
[AS_BUILT]
DBMS=ODBC
LogId=IN_DBAMN
LogPassword=IN_DBAMN
ServerName=
Database=AS_BUILT
UserId=
DatabasePassword=
TableDir=0
StayConnected=1
AutoCommit=0
DBParm=ConnectString='DSN=AS_BUILT;UID=IN_DBAMN;PWD=IN_DBAMN'
Prompt=110
Commit=100
;INIT_TABLE_CONT=
SmartPlant Instrumentation Setup Maintenance and Database Selection 15
6. In the Logon Information dialog box, select a database from the Database list.
Note
• The database you select in the Logon Information dialog box becomes the
default database.