MKS Inc.
Register Software
Report a Problem
Supported Versions
Support Services
Support Policies
Update Policy

Request an Evaluation Copy
Buy Now
 
FAQs FAQs
-

Support Tip
Did you know that you can put native Windows help into your ported applications?
Find out more

-

Silent Installation

MKS Toolkit

To launch a silent installation of the MKS Toolkit, you would first launch a Command Prompt window and then enter the following commands:

cd location
msiexec /I toolkit.msi /qn+ SERIALNUMBER="serial" LICENSEPIN="pin" ACCESSKEY="akey" TKROOTDIR="dir"

where location is either the drive containing the MKS Toolkit CD or the directory to which you extracted the contents of the electronic distribution, and serial, pin, and akey are the serial number, PIN, and access key provided with your copy of MKS Toolkit, dir is the directory to which you want to install MKS Toolkit.

If your MKS Toolkit product does not come with an access key, the ACCESSKEY parameter can be omitted. If the ROOTDIR environment variable is already set on your system, MKS Toolkit is installed to that directory and the TKROOTDIR parameter is ignored. If you omit the TKROOTDIR parameter and ROOTDIR is not set, MKS Toolkit is installed in its default location (usually, C:/Program Files/MKS Toolkit).

Note: When installing MKS Toolkit on a 64-bit system, toolkit.msi should be replaced by either toolkit64i.msi on IA64 platforms or by toolkit64x.msi on Extended Architecture platforms (for example, AMD-64).

The following additional parameters can also be set on the msiexec command line:

  • REGISTER_DOT_MK=1 — Use MKS Make as the default program for .mk files.
  • REGISTER_DOT_GZ=1 — Use gzip as the default program for .gz files.
  • REGISTER_DOT_VPAX=1 — Use Visual Pax as the default program for .tar, .cpio, and .pax files.
  • SHOW_RELNOTES=1 — Display release notes when installation finishes.
  • DISABLEADVTSHORTCUTS=1 — Disable advertised shortcuts (no "install on demand").
  • USERNAME=user — Specify user's name.
  • COMPANYNAME=company — Specify the user's company.

Those parameters shown as =1 can be set to either 1 or 0. When set to 1, the behavior described above occurs. When set to 0, the opposite behavior occurs. For example SHOW_RELNOTES=0 causes the release notes not to be displayed and REGISTER_DOT_VPAX=0 means that Visual Pax is not registered as the default program for .tar, .cpio, and .pax files.

Note: When performing a silent installation of MKS Toolkit for Interoperability or MKS Toolkit for Enterprise Developers, MKS X/Server is not automatically installed. You must install it separately.


MKS AlertCentre

Similarly, to launch a silent installation of the MKS AlertCentre, you would use:

cd location
msiexec /I alertcentre.msi /qn+ SERIALNUMBER="serial" LICENSEPIN="pin" ACCESSKEY="akey"

where location is either the drive containing the MKS AlertCentre CD or the directory to which you extracted the contents of the electronic distribution, and serial, pin, and akey are the serial number, PIN, and access key provided with your copy of MKS AlertCentre.

You can create a log file for a silent installation by adding the following optional parameter to the msiexec command:

/l*v logfile

where logfile is the name of the log file to be created.

In both cases, the Typical version of the software is installed. If the installation requires your system to be restarted, this will happen automatically without warning, so you should be careful as to what other programs you run while a silent installation is taking place.

The following additional parameters can also be set on the msiexec command line:

  • VIRTUAL_DIRECTORY=dir — Specify name of virtual directory for virtual directory installations.
  • PORTNUMBER=8080 — Specify port number (1-65536) to be used by SWS and IIS site installs.
  • HTTPSERVER=type — Specify the type of server to be installed as. This can be IIS, SWS, or PWS (IIS in a virtual directory).
  • CLOCKTYPE=type — Specifies the clock type. This can be either 12 for a 12-hour clock or 24 for a 24-hour clock.
  • FROMEMAIL=email_address — Specify the e-mail address used for e-mail alerts.
  • SMTPSERVER=server — Specify the SMTP server used for e-mail alerts.
  • SHOW_RELNOTES=1 — Display release notes when installation finishes.
  • DISABLEADVTSHORTCUTS=1 — Disable advertised shortcuts (no "install on demand").
  • USERNAME=user — Specify user's name.
  • COMPANYNAME=company — Specify the user's company.
  • ROLETYPE=roletype — Specify if machine is a primary or backup server. roletype can be either Primary or Backup.

Those parameters shown as =1 can be set to either 1 or 0. When set to 1, the behavior described above occurs. When set to 0, the opposite behavior occurs. For example SHOW_RELNOTES=0 causes the release notes not to be displayed and DISABLEADVTSHORTCUTS=0 means that advertised shortcuts will be used.

MKS X/Server

To launch a silent installation of the MKS X/Server, you would first launch a Command Prompt window and then enter the following commands:

cd location
msiexec /I xserver.msi /qn+ SERIALNUMBER="serial" LICENSEPIN="pin" ACCESSKEY="akey" 
   XVINSTALLDIR="dir" XVINSTALLDIR2="dir2"

where location is either the drive containing the MKS X/Server CD or the directory to which you extracted the contents of the electronic distribution, and serial, pin, and akey are the serial number, PIN, and access key provided with your copy of MKS X/Server, dir is the directory to which you want to install MKS X/Server, and dir2 is the directory where you want to install the MKS X/Server common files.

If your MKS X/Server product does not come with an access key, the ACCESSKEY parameter can be omitted. If you omit the XVINSTALLDIR parameter, MKS X/Server is installed in its default location (usually, C:/Program Files/MKS XServer). Similarly, if you omit the XVINSTALLDIR2 parameter, the MKS X/Server common files are installed in their default location (usually, C:/Program Files/Common Files/MKS XServer).

Note: When installing MKS X/Server on a 64-bit Extended Architecture system (for example, AMD-64), xserver.msi should be replaced by xserver64x.msi.

The following additional parameters can also be set on the msiexec command line:

  • DISABLEADVTSHORTCUTS=1 — Disable advertised shortcuts (no "install on demand").
  • USERNAME=user — Specify user's name.
  • COMPANYNAME=company — Specify the user's company.

Those parameters shown as =1 can be set to either 1 or 0. When set to 1, the behavior described above occurs. When set to 0, the opposite behavior occurs. For example, DISABLEADVSHORTCUTS=0 means that advertised shortcuts will be used.

Finally, to perform a silent installation for a non-english version of MKS X/Server, you need to specify additonal information to ensure that Start menu items and shortcuts (and in some cases, program titles) appear in the correct language. So for a silent installation on a German machine, you would use the follwing:

msiexec /qn+ SERIALNUMBER="serial" LICENSEPIN="pin" ACCESSKEY="akey" XVINSTALLDIR="dir"
   XVINSTALLDIR2="dir2" TRANSFORMS=:DEU.mst /I xserver.msi

And for a silent installation on a Japanses machine, you would use:

msiexec /qn+ SERIALNUMBER="serial" LICENSEPIN="pin" ACCESSKEY="akey" XVINSTALLDIR="dir"
   XVINSTALLDIR2="dir2" TRANSFORMS=:JPN.mst /I xserver.msi

Note: When installing a non-English version of MKS X/Server on a 64-bit Extended Architecture system (for example, AMD-64), xserver.msi should be replaced by xserver64x.msi.

Return to main MKS Installation page.

 


Managed with Integrity [ UNIX on Windows Home | Site Map | MKS Toolkit Products | Lex & Yacc | Sales | Services | News | Support | RSS ]
[ PC X Server | Secure Shell Solutions | Application Lifecycle Management Information | Feedback | mks.de | mks.com ]
© 1995 - 2008 MKS Inc. All Rights Reserved