Command Line Installation Example

Extract the contents of the DraftSight install

E.g. DraftSight.exe /C /T:C:\\Downloads\\DraftSight

The MSI is launched using the standard command syntax for msiexec

msiexec.exe /i [optional parameters]

E.g., msiexe.exe /i C:\\Downloads\\Dassault Systemes\\DraftSight\\DraftSight.msi

Specify standard optional parameters (Windows Installer Options: msiexec /?)

Example: /qb for non-interactive install using basic UI

E.g. msiexe.exe /i DraftSight.msi /qb

INSTALLDIR=[ C:\\Program Files\\Dassault Systemes\\DraftSight]

E.g. msiexe.exe /i DraftSight.msi /qb INSTALLDIR="C:\\Program Files\\ Dassault Systemes\\DraftSight"

License Type

If you’re using the standalone license, then the parameter doesn’t need to be specified as the standalone (LICENSETYPE=1) license is the default. But if you would like to install the network version, then you’ll need to specify the parameter:

LICENSETYPE=2 for DSLS network license

LICENSETYPE= 3 for SNL network license

E.g. msiexe.exe /i DraftSight.msi /qb LICENSETYPE=2

Additional parameter for network licenses

With the example commands below, the License Administrator  will create the DSLicSrv.txt automatically in the correct location with the following lines:

ServerOne:4085

ServerTwo:4085

Example:

LICENSETYPE=2 for network license

LICENSESERVERS=”[server1:port];[server2:port]” (semicolon-delimited)

E.g., msiexe.exe /i DraftSight.msi /qb LICENSETYPE=2 LICENSESERVERS=”ServerOne:4085;ServerTwo:4085”

The License Administrator is also available via a shortcut in the Start menu, right below the application shortcut. When installing in UI mode, the Administrator launches at the end of the install so the user can specify the server(s) and port(s) interactively.

In all scenarios the user should have administrative privilege for a proper installation.  Additionally, if UAC (User Account Control) is enabled on Vista or Win7, then the command prompt window should be launched with administrative privilege.

Note: This will only work on Vista and Win7.  The “C:\\ProgramData” path is different for XP, and also different if the OS isn’t installed on C: drive.