Using the Silent Installer in Esko ArtiosCAD 7.6
Introduction1 Using the Silent Installer in Esko ArtiosCAD 7.6
In large corporate environments, it can be inconvenient to install and
configure Esko ArtiosCAD identically on many workstations. To ease this
task, Esko ArtiosCAD has an installation method called silent installation
which needs minimal user intervention.
Silent installation uses the command prompt and appends the setup
command with configuration options called switches. For example, to
install Esko ArtiosCAD to the D: drive and have user files stored in
E:\users\prod, the command is as follows:
setup /s /v"/qn INSTALLDIR=D:\Artios
USERFILESDIR=E:\Users\Prod"
For a richer and more robust Esko ArtiosCAD installation experience, you
can write a batch file containing the command, and distribute the batch
file to each computer for use with the Esko ArtiosCAD media. Or the batch
file can be run on each computer with the command inside the batch file
pointing to the Esko ArtiosCAD setup directory on a common network
server.
Silent installation is not a way to install Esko ArtiosCAD remotely. It works
only for the computer on which it is run. For example, you cannot install
Esko ArtiosCAD on system CLIENT1 by doing a silent installation on
system SERVER1 and specifying file locations on CLIENT1. Doing that
would install Esko ArtiosCAD on SERVER1 and store all the files on
CLIENT1. It would not install Esko ArtiosCAD on CLIENT1.
Esko ArtiosCAD 7.6 and later versions are supported only on computers
using Windows Vista Business, Windows 2003 Server Service Pack 1 or
greater, or Windows XP Professional Service Pack 1 or greater.
N OTE: For all operations using the silent installer or SolidWorks batch files,
you must be logged in as Administrator or as a user with local administra-
tive privileges.
1
2
Before you begin
If the system will be using SQL Server 2005 Express Edition as the data-
base engine, you must install it before installing Esko ArtiosCAD.
To install SQL Server 2005 Express Edition silently using the batch file, run
\ArtiosCAD\SQL2005ExpressInstall.bat on the Database
server.
The batch file can accept two parameters, DATADIR and /s.DATADIR
is the directory that stores database data files; by default it is
C:\Artios\DataCenter\SQL2005Express. The /s switch causes
the installer to be completely silent; if it is not specified, a progress bar and
Cancel button appear.
2
Using the Silent Installer in Esko ArtiosCAD 7.6
Composing the command3 Composing the command
All silent installations start by using this command:
setup /s /v”/qn switches”
where switches are configuration options you specify that are described in the
next section.
When composing the command, note the following:
?There is no space between the v and the first quotation mark.
?Switches and their values are case sensitive.
?Use a quotation mark after the last switch to close the string of switches
passed to the setup program.
?If there are spaces in a switch, use quotation marks to enclose it. To not
interfere with the quotation marks around the entire string of switches,
each of these quotation marks must be preceded by a backslash, as
shown below:
setup /s /v"/qn INSTALLDIR=D:\Artios LICENSETYPE=\"Elan LM\""
?You must use the setup command in the ArtiosCAD folder of the CD or
network location, or explicitly state the absolute path to it as part of the
setup command (for example,
G:\ArtiosCAD_versions\ArtiosCAD7.60en\ArtiosCAD\setu
p). The top level setup.exe does not work for silent installation.
The value of each piece of information needed to install Esko ArtiosCAD comes
from one of three places:
1)It can be specified as a switch on the command line.
2)It can be in the Registry already if this is an upgrade.
3)It can be a default in the setup program.
The setup program follows the hierarchy listed above. Command line switches
override Registry values and the setup program’s internal defaults. Values
already in the Registry override internal defaults but in turn are overridden by
command line switches. Internal defaults are used only when there is no
pre-existing Registry value and no command line switch.
3
4
Switches
Switches Default Value Allowable Values Can be overridden by Registry value?Description
INSTALLDIR
C:\Esko\Artios
Any directory path
Yes
Directory where Esko ArtiosCAD installs USERFILESDIR
C:\Esko\Artios\Designs or the path to
\\server\share\Designs if a Defaults client or the User files directory of the latest loaded Esko ArtiosCAD Any directory path Yes
Directory where user files are stored
DATABASETYPE
SQL2005Express
MSDE
SQL2005Express Other Yes Database engine
AUTHMETHOD sql sql
windows
Yes
Authentication method for SQL
Server 2005 Express Edition.
Case-sensitive.CONFSERVER Current system name Any valid system name Yes
The Esko ArtiosCAD Defaults server for an Advanced Client DBSERVER Current system name Any valid system name Yes
The Esko ArtiosCAD database server for an Advanced Client LMSERVER Current system name Any valid system name Yes
The Esko ArtiosCAD License server for an Advanced Client
Using the Silent Installer in Esko ArtiosCAD 7.6
Composing the command
3
5
INSTALLLEVEL
100
50 100 101
No
50 - Install ArtiosCAD Servers only
100 - Install Esko ArtiosCAD with
UserDocs but without other optional components
101 - Install
ArtiosCAD Servers with Legacy
Standards Catalogs, PDF , ThreeD_ Connection, UserDocs, and Configuration Manager
ADDLOCAL
ArtiosCAD_Programs, Database_Controls, Database_Server, License_Server,
Defaults_ServerUserDocs
ArtiosCAD_Programs Database_Controls Database_Server License_Server Defaults_Server DWB_Libraries LP_Libraries PDF_Libraries
ThreeD_Connection EGSCS UserDocs No
Comma-separated list of features to install; provides finer control than INSTALLLEVEL
LICENSEDISK Yes Yes No
No
Whether or not to apply the License Disk LICENSEFOLDER A:\Any directory path
No
Path to the licensing information
Switches Default Value Allowable Values Can be overridden by Registry value?Description
6
LICENSETYPE
Parallel
FlexNet Parallel \“Elan LM\” \“Sentinel LM\” no-net (for Sentinel Standalone Licensing) Other (must also use OTHERLICENSETYPE switch)
Yes
How Esko ArtiosCAD is secured. Must also use LMTYPE switch.
LMTYPE Local Local (FlexNet only) Server (FlexNet only) DONGLEPORT (everything else)Yes
Sets the FlexNet type or indicates FlexNet is not in use.
OTHERLICENSETYPE COM1Any valid Esko
ArtiosCAD licensing string
Yes
If LICENSETYPE is set to Other, this is the actual entry for the DONGLEPORT Registry key.
PREVIOUSVERSION Keep
Keep Overwrite
No
Whether to keep or overwrite the previous versions of Esko ArtiosCAD SYSTEMTYPE Standalone
Standalone Server Client Advanced
Yes
The type of Esko ArtiosCAD system
SERVERNAME Current system name Any valid system name
Yes
The Esko ArtiosCAD Server for a Standard Client
UPDATE
True if there are other
versions of Esko ArtiosCAD loadedFalse if no other
versions of Esko ArtiosCAD loaded
True False
No
Whether or not this is an upgrade from a previous version of Esko ArtiosCAD
UPDATEVERSION
Latest version of Esko
ArtiosCAD on the system not greater than this one
Any valid Esko ArtiosCAD version
No
The version being upgraded by this installation
Switches Default Value Allowable Values Can be overridden by Registry value?Description
Using the Silent Installer in Esko ArtiosCAD 7.6
Composing the command
3
7
REBOOT
No default
Force Suppress
ReallySuppress
No
Force: Forces a reboot at the end Suppress:
Suppresses reboots unless forced internally by the installer
ReallySuppress: Suppresses ALL reboots
Switches Default Value Allowable Values Can be overridden by Registry value?Description
4
Notes and examples
Specify as many switches as desired on the command line up to the limit
of the command line length.
Switch /qn makes the installation silent. To show a user interface with
progress bars only, use /qb instead. To show progress bars and a dialog
box at the end, use /qb+.
The system may reboot at the end of the silent installation unless you
specifically use the REBOOT=ReallySuppress switch.
When using the silent installer to reload the current version, you must add
“REINSTALL=ALL REINSTALLMODE=vomus” to the switches.
Example 1
To run a silent installation using all the defaults from the media drive,
assuming the media drive is D:, do the following at the command prompt
with disk 1 of the Esko ArtiosCAD media in the drive:
D:
cd \ArtiosCADsetup /s /v”/qn”
Example 2
To run a silent installation for a Standalone system type using Oracle as
the database, Elan License Manager as the licensing method, and
installing everything but the Esko Configuration Manager, do the following
at the command prompt with the Esko ArtiosCAD media in the D: drive:
D:
cd \ArtiosCAD
setup /s /v”/qn DATABASETYPE=Other
ADDLOCAL=ArtiosCAD_Programs,Database_Controls,Database_Se
rver,Defaults_Server,DWB_Libraries,LP_Libraries,PDF_Libra
ries,ThreeD_Connection,UserDocs LICENSEDISK=No
LICENSETYPE=\”Elan LM\”
8
Using the Silent Installer in Esko ArtiosCAD 7.6
Example 34
As the database type is set to Other, you also have to manually add the
ODBC entry for Esko ArtiosCAD on the System DSN tab of the ODBC
configuration applet in Control Panel.
Example 3
To run a silent installation from a batch file, two elements must be added
to the setup command. Precede the setup command with start
/wait and add the /w switch after it.
The command in a batch file to run a silent installation using all defaults is
shown below.
start /wait setup.exe /w /s /v”/qn”
To run a setup in a batch file that sets the installation directory to
L:\Artios, the licensing type to FlexNet Local, and to not apply the
license disk, use the following command inside the batch file. In the batch
file it is all on one line.
start /wait setup /w /s /v”/qn INSTALLDIR=L:\Artios
LICENSETYPE=FlexNet LMTYPE=Local LICENSEDISK=No”
9
5
SolidWorks
To install SolidWorks silently using the batch file, run SolidWorksIn-
stall.bat on the separate SolidWorks media as an administrative user.
If you have User Account Control (UAC) turned on, you must use an
administrator command prompt to run the batch file; right-click the
command prompt shortcut on the Start menu and choose Run as
administrator. Otherwise, the batch file will appear to work correctly, but
the software will not load correctly and the feature will fail in Esko
ArtiosCAD.
The batch file can accept two parameters, INSTALLDIR and /s.
INSTALLDIR is the directory into which SolidWorks is installed; by
default, it is C:\Esko\Artios. The /s switch causes the installer to be
mostly silent; even when specified, some user interface elements may
appear.
To remove the separate version of SolidWorks introduced in Esko
ArtiosCAD 7.6, run SolidWorksRemove.bat in the root folder of the
separate SolidWorks media.
If you have purchased the SolidWorks option in a pre-7.6 version of Esko
ArtiosCAD and need to remove it without uninstalling Esko ArtiosCAD, run
\ArtiosCAD\SolidWorksRemove.bat on disk 1 of the Esko
ArtiosCAD media used to install it initially. The integrated version of Solid-
Works is normally removed automatically when the last version of Esko
ArtiosCAD using it is removed.
10