Skip to main content

Issues running silent install of Application Server for Net Express 4.0 w/ .NET

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Problems  still exist with running the service packs for the silent install of application server for Net Express 4.0 with .NET

Resolution:

Steps to do Silent Install of Application Server for Net Express 4.0 with .NET including the service packs.

Step 1.

On the machine you plan to do the Silent Install of Application Server, run the

MFSUPPORTINFO utility and check to see if any Net Express development

products are installed.

Note: the MFSUPPORTINFO utility is located at

www.microfocus.com

at the top , click on Support

login to Supportline

on the left under Self-Service , click on Net Express Examples and Utilities

click on Samples

click on Utilities

scroll down until you see MFSupporInfo.zip

Step 2.

From the Application Server for Net Express with .NET cd,  copy the Application Server folder down to a temporary folder on your machine ( c:\\apsne40 )

The installation for application server will then be in

              ( c:\\apsne40\\application server )

Step 3.

From the Micro Focus Websync

Copy the latest service packs for Application Server for Net Express 4.0 and Application Server for Net Express with .NET down to the same temporary folder as in Step 2

               (  c:\\apsne40\\application server )

           Note: How to get the 2 application service packs

             Goto www.microfocus.com

             At the top, click on Support

             Login to SupportLine

             On the left under Self-Service , click on Patches and Fixes

             Scroll down to Net Express, click on

             Application Server for Net Express 4.0/Application Server for Net Express with .NET

             Scroll down and download SRN50N40.exe to c:\\apsne40\\application server

             Scroll down and download APS05A40.exe to c:\\apsne40\\application server

Step 4.

Now need to install and configure Application Server for Net Express v4.0 and Application Server for Net Express with .NET silently.

To accomplish this the following needs to be accomplished;

A) Install the base release of Application Server for Net Express silently

B) Populate the license database content with a serial number and license number

C) Install the Application Server for Net Express service pack silently

D) Install the Application Server for Net Express with .NET service pack silently

Item A can be accomplished by using the following command; setup -s.  By default the product will be installed under the c:\\program files\\Micro Focus\\Application Server location.  The license files will be copied to directory c:\\mfaslmf.

To be able to alter the product and license database directories the ONLY means to do so is to edit the SETUP.ISS file.  To alter the target installation directory you need to change the following entry in the ISS file;

[AskDestPath-0]

szPath=C:\\program files\\micro focus\\application server

To alter the target license database directory you need to change the following entry in the ISS file;

[SdAskDestPath-0]

szDir=c:\\mfaslmf

If successful you can now insert the serial number and license key into the license database by using the following command;

Aslmpcsilent 1 serialnumber license number

If successful you can now apply the Application Server for Net Express service pack by using the following command;

Apsservicepack.exe -q

If successful you can now apply the Application Server for Net Express with .NET service pack using the following command;

ApsNetservicepack.exe /S /v" /qn"

An example on how can this be achieved would be as follows;

echo off

echo ***** Starting installation *****

setup -s

:loop

if not exist "c:\\Program Files\\Micro Focus\\Application Server\\DeIsL1.isu" goto loop

aslmpclocate -q

if errorlevel 0 goto FOUNDDB

aslmpclocate -q c:\\mfaslmf

aslmpcsilent 1 YourserialNumber YourlicenseNumber

if errorlevel 0 goto SP

echo ***** License not set. Call Support *****

goto END

:FOUNDDB

aslmpcsilent 2 YourserialNumber YourlicenseNumber

if errorlevel 0 goto SP

echo ***** License not set. Call Support *****

goto END

:SP

echo ***** Starting aps05a40 service pack installation ****

start /wait  aps05n40 -q

if errorlevel 0 goto NETSP

echo *****Application Server Service Pack APS05A40 failed to Install. Call  Support *****

goto END

:NETSP

echo *****Starting SRN50N40 .NET Service Pack installation *****

start /wait srn50n40 /S /v"/qn"

if errorlevel 0 goto END

echo ***** Net Express with .NET Service Packfailed to Install. Call Support  *****

goto END

:END

echo ***** Installation completed *****

Attached is a replacement SETUP.INS file (SETUPINS>TXT). The file should be renamed to setup.ins .You must replace this attached SETUPINS>TXT with the one in the c:\\apsne40\\application server folder as SETUP.INS before you do the silent install.

This replacement file is to be used instead of the default one provided on the current installation CD because problems reported about silent installation.  For this we apologize.  

Attached is a sample batch file to do the silent install of Application Server for Net Express 4.0 with .NET and also run the service packs.

Appserver.bat   (APPSERVER.TXT). This batch file is configured with the SETUPIIS.TXT file that is attached.

Also attached is a copy of the default SETUP.ISS (SETUPIIS>TXT) used for this example.  Please bear in mind that the target product installation directory and license database location is controlled by the values used in this ISS file.  If the product will need to be redirected to other directories the file MUST be altered as specified above.

NOTE: If you have to redo the silent install of Application Server for Net Express 4.0 with .NET for any reason. You need to check the following:

     Here are steps you need to take before you try doing the silent install again.

     1) control panel -> add/remove programs.

         remove Micro Focus Application Server

     2) Start->Run

         regedit

         Now , when you are in the registry editor delete the folder ASLMF  under the

         Hkey_local_machine->Software->Micro Focus   folder

         REBOOT the machine.

     3) Make sure you delete the mfaslmf folder

         From the attached  example it would be in the  c:\\program files\\mf    folder

     4) Ready to redo the silent install.

Attachments:

AppServer.txt

Old KB# 5002