Command Line Deployment

You can automatically deploy an administrative image using a command prompt or batch file (silent installation).

Command line feature names are case sensitive, cannot contain spaces or dashes, and must be separated by commas.

To install silently:

  1. Open a Command Prompt window (in Windows, click Start, Run, type cmd, and click OK).

  2. In the window, type the msiexec.exe command with the /i and /qb switches and set the properties for any options that are not the default values.

Properties are listed for the following products:

SolidWorks feature

eDrawings

PDMWorks Workgroup

SolidWorks global

COSMOS

DWGeditor

 

Use the following examples as templates for silent installation.

 

Properties

Example

SolidWorks Client

Chinese-Simplified language

PhotoWorks add-in

Windows Desktop Search Engine

Participation in the feedback program
 

msiexec /i "<Msi_path>" INSTALLDIR="C:\Program Files\<your_folder>"
SOLIDWORKSSERIALNUMBER="xxxx xxxx xxxx xxxx"
REGCODE="xxxxxxxx"
ENABLEPERFORMANCE=1 INSTALLWDS=1  ADDLOCAL=SolidWorks,ChineseSimplified,PhotoWorksRender /qb

NOTE: A 24-character serial number denotes License Activation. No registration code is required for License Activation.
 

SolidNetWork License

The properties described above

SolidNetWork license server list

msiexec /i "<Msi_path>" INSTALLDIR="C:\Program Files\<your_folder>" SOLIDWORKSSERIALNUMBER="xxxx xxxx xxxx xxxx" ENABLEPERFORMANCE=1  ADDLOCAL=ChineseSimplified,PhotoWorksRender SERVERLIST=<number@server,number@server,...> /qb
 

DWGeditor

Standalone license
 

msiexec /i "<Msi_path>" INSTALLDIR="C:\Program Files\<your_folder>" LICENSETYPE=1 /qb
 

eDrawings Client

Log performance

Italian language

All features
 

msiexec /i "<Msi_path>" INSTALLDIR="C:\Program Files\<your_folder>" LOGPERFORMANCE=1 SNLSERVER=<eDrawings_SNL_server> TRANSFORMS=1040.mst ADDLOCAL=All
 

COSMOS Client

German language

Upgrade an existing version
 

msiexec /i "<Msi_path>" INSTALLDIR="C:\Program Files\<your_folder>" SOLIDWORKSPATH="<path to SolidWorks>" CWUPGRADEINSTALL=1 ADDLOCAL=German, /qb

PDMWorks Workgroup Client

PDMWorks Workgroup client list

NOTE: PDMWorks Workgroup determines the language automatically.

msiexec /i "<Msi_path>"
INSTALLDIR="
C:\Program Files\<your_folder>"
ADDLOCAL=VaultAdmin,Client,Standalone,AutoCADR2006Addin

EXPLORERORPDM
=1
LICENSE_CLIENT="
xxxx xxxx xxxx xxxx"
LICENSE_SA="
xxxx xxxx xxxx xxxx"
/qn