This article explains how to install the Net Express run time and APPTRACK keys silently.
Problem:
You may want to install the Net Express run time and APPTRACK keys silently, perhaps as part of your own software installation. Because Net Express Studio Server (the new name for Application Server) uses the Microsoft installer, you need to do this with the use of command line flags rather than a script as was previously used for Application Server.
Resolution:
In order to install the Net Express run time and APPTRACK keys silently, here is a command example:
C:\\Server_setup\\SETUP>start /wait srp3250000248.exe /s /v" /qn /l*vx C:\\SETUP_LOG\\INSTALL.LOG ADDLOCAL=DOTNET SERIALNUM=NXDEVAS5 LICENSENUM=012801078005C04D5E0955C0 DATABASEDIR=C:\\STUDIODB
This particular command can be packaged as a .bat file and will install the .NET run time, create a setup.log file in c:\\setup_log\\install.log, install the 30 day development runtime license key and serial number, and also set the license database directory to c:\\studiodb.
For other command line flags and to install silently from the setup folder of your Micro Focus Server CD, type the following command line:
start /wait SRxxxxxx.exe /s /v"/qn"
Where SRxxxxxx.exe is the filename of the installation executable file.
A silent installation creates a log file in %temp%\\[log file name] by default. To change this, add the parameter /l*v drive:\\path\\filename to your Setup command line. If the log file created ends with "completed successfully", the silent install was successful.
You can specify the features to install by using the codes in the following table.
Code Features and sub-features to install
AS Windows Unmanaged Run-time System Support
ES Enterprise Server
MTO CICS/JCL Support
DOTNET Visual Studio and .NET Support
To install one of the above features, you need to use the the ADDLOCAL parameter. If the feature is a child of another feature, the parent feature must also be installed, for example:
To install Enterprise Server: start /wait SRxxxxxx.exe /s /v"/qn /l*vx ADDLOCAL=AS,ES"
To install Visual Studio and .NET support: start /wait SRxxxxxx.exe /s /v"/qn /l*vx ADDLOCAL=DOTNET"
To install and specify the log file as c:\\install-log.txt: start /wait SRxxxxxx.exe /s /v"/qn /l*vx c:\\install-log.txt"
To install Micro Focus Server to the folder c:\\MFserver5: start /wait SRxxxxxx.exe /s /v"/qn /l*vx INSTALLDIR=c:\\MFserver5"
To install Micro Focus Server with license information: start /wait SRxxxxxx.exe /s /v"/qn SERIALNUM=MySerial LICENSENUM=MyLicense DATABASEDIR=MyDatabasePath
#Licensing
#netexpress
#COBOL