How do I install EmEditor without displaying dialog boxes?
During normal installation, dialog boxes will be displayed, and a user must click the “Next” button or set options. However, when you install EmEditor into multiple computers in corporate or group environments, you might want to use a batch or scripting file to automate the installation. EmEditor uses Windows Installer for installation, and the “quiet” installation is possible.
For instance, if the EmEditor installation file is emed64_24.2.0.msi, running the following command:
msiexec /i "(...path...)emed64_24.2.0.msi" /passive
will install EmEditor with default settings without displaying any dialog boxes.
If you wish to change the default settings, you can use following options on command prompt:
NOCHECKUPDATES=1 | disables checking new versions of EmEditor periodically via the Internet. |
NOCONTEXTMENU=1 | disables adding a shortcut to the Context Menu on Explorer. |
DESKTOP=1 | enables adding a shortcut to the Desktop. |
NOIEEDITOR=1 | disables adding EmEditor to Internet Explorer HTML editor list. |
NOIEVIEW=1 | disables View Source by EmEditor on Internet Explorer. |
NOPATH=1 | disables adding the path to EmEditor to the PATH environment variable. |
NOSHORTCUT=1 | disables adding a shortcut to the Program menu. |
NOSKIP=1 | does not skip installer screens even when upgrading. |
NOTRAYICON=1 | disables the tray icon. |
NOTXT=1 | disables the association of text files. |
REGNAME="name" | enters the name of licensee. |
REGKEY=xxxxxx | enters a registration key. |
REGEMAIL="email" | enters an email address that was used to sign in to Emurasoft Customer Center. |
REGLABEL="label" | Specifies the label field for your device. |
PROXY="proxy uri" | Available in v24.5 or later. Specifies the proxy settings to use during registration, encoded as a URI. The proxy URI is shown in the Customize Proxy dialog. It has the format: http://[username:password@]host[:port] or socks5://[username:password@]host[:port] . If you pass an empty string or omit this argument, the system proxy setting will be used. |
/q | installs EmEditor without showing dialog boxes. |
MSIINSTALLPERUSER=1 | Deprecated as of v24.2. |
MSIINSTALLPERUSER="" | Deprecated as of v24.2. |
For instance, if you wish to install EmEditor only for the current user specifying a registration key, the name of licensee, and an email address, run the following command:
msiexec /i "emed64_24.2.0.msi" /q REGNAME="John Doe" REGKEY=xxxxx REGEMAIL="[email protected]"
There are many options for Windows Installer. For details, run:
msiexec /?
to display the list of available commands.
The command must be run in command prompt, not PowerShell.
Per-computer installation has been deprecated. Instead, we recommend using the portable version with the [IniDir]
option. Read more here.