NOTE: the following was written for EViews 9, but will also work for EViews 10. Just call the EViews 10 installers instead...
Performing a silent installation
We currently don't provide an MSI installer, only an EXE. So to perform a silent installation, you'll have to first generate a recorded "script" file by installing EViews onto a target machine once. To generate the script, run our EXE installer with these parameters:
Code: Select all
EViews9Installer.exe -r -f1c:\files\script.iss
The -r parameter puts the installer in record mode and the -f1<path> parameter specifies where to save the script. By installing EViews this way, every mouse click or text entered by you during the installation will be recorded into the script. At the end of the recording, you'll have a script file you can use to re-run our installer without any user input needed. You can "playback" the script by running the installer with these parameters:
Code: Select all
EViews9Installer.exe -s -f1c:\files\script.iss
The -s parameter tells the installer to run in silent mode.
EViews Licensing Issues with silent installs
Typically, our installers ask for an EViews serial number during installation in order to know how to setup EViews licensing properly on the target machine. This means that this serial number will be "recorded" into the installer script if you are in record mode. This is ideal for those of you that purchased a concurrent or an unlimited lab license because all of your users will share the single serial number (typically registered on a local EViews License server).
However, for standalone license users where each user has a different serial number, doing a silent install requires a few more steps. When EViews runs for the first time after an install, if a standalone license was entered during the installation, EViews will automatically pre-fill this serial number into the Registration dialog that appears. This is done for convenience so that our typical user does not have enter the serial number twice. But if you wish to perform multiple silent installs each with a different serial number, you will want to prevent EViews from remembering the serial number entered during installation. To do this, we provide a special checkbox on the installer dialog that asks for the serial number:
(this checkbox only appears when the installer is running in RECORD mode)
During the recording, make sure this checkbox is NOT checked and proceed with the installation. Now when EViews is run for the first time on the target machine, it will not pre-fill in the serial number on the Registration dialog. This requires the user to manually enter his/her own serial number, which you can provide via an email or however you wish.
Silent EViews Registration for Standalone licenses
To prevent your users from having to register their own serial number upon first run, you could take an extra step and perform the registration for them beforehand (for EViews 8 and newer versions only). To do this, we provide a way to register a serial number using command line parameters. To silently register a serial number, call the EViews COM executable (ends with ".COM" instead of ".EXE" -- this file is located in the same EViews folder as the EXE) like this:
Code: Select all
EViews9.com /registerlicense "XXXXXXXX - XXXXXXXX - XXXXXXXX" "Name"
(the first parameter is your full EViews serial number with dashes and the second is the name you want this serial number to be registered with.)
Running this on the target machine will register the serial number and "tie" it to that machine. EViews should now fully installed and registered.
Steve