Installing on Windows

The Ejscript install package for Windows is an installation executable compressed in a ZIP file called:

ejs-VERSION-BUILD-ms-windows-CPU.exe.zip

The distribution image contains the binary distribution, documentation and development libraries and headers in the one package. During installation you will have the option of installing the full package or portions of the distribution.

Installing the EXE Image

  1. Login with administrator privileges.
  2. Run winzip and extract the contents of the zipped EXE install image to a folder of your choosing.
  3. Browse to the location holding the EXE install image and run it.

Removing Ejscript

  1. Login with administrator privileges
  2. Run the Add / Remove Programs applet from the control panel.
  3. Select Embedthis Ejscript and choose remove.

Silent Installation

If you need to do batch or unattended installations, you can install Ejscript silently. Use the /silent switch to suppress questions and /verysilent to suppress all visual output.

Running Ejscript

To run the ejs shell:

  1. Select Program Files > Embedthis Ejscript > Embedthis Ejscript Shell:
  2. A command.com window will appear
  3. To exit the application, close the window

Other Commands

The installation will install four commands:

Name Description
ejs The Ejscript command shell. This command can parse and execute ejs scripts from files or typed interactively on the console. This command contains both the Ejscript compiler and virtual machine.
ejsc The Ejscript compiler. This command can compile scripts into byte code form for later running via the ejs command.
ejsmod The Ejscript module manager. This command generates assembler source code listings, HTML documentation and symbolic slot offset header files.
mvc The Ejscript Model-View-Controller web framework generator and manager. This command assists to create Ejscript Web applications that use the Ejscript Web Framework.

© Embedthis Software, 2003-2015. All rights reserved.