IBMlogo
IBM eNetwork Communications Server for Windows NT
Host Publisher Feature, Version 6.01
[Next|Previous|Contents]

Host Publisher Hints and Tips

Silent Installation

You can silently install or remove Host Publisher. A silent installation is an installation that does not require human interaction.

Limitations

Extracting the files

If you downloaded the self-installing Host Publisher executable file from the Web, you must take some additional steps to extract the install files before setting up a silent install.

  1. Start HostPublisher.exe
  2. Look in your temporary directory (the value of the TEMP variable) for a new directory called pft1~tmp. There may be other new directories, but you can ignore them.
  3. Copy all the files in the pft1~tmp directory to another directory, except for the file pftw1.pkg.
  4. Switch to the install program and cancel it.
You now have the Host Publisher install files in your directory.

Configuring a silent installation

To run the installation silently, create a text file, called a response file, containing the answers to the questions that would normally be asked during the installation. You can create the response file automatically while running an installation.

From your Host Publisher product installation directory, run setup -r. A Host Publisher installation occurs, and saves the options you choose in a response file called setup.iss. The response file is created in your Windows directory.

You can edit the setup.iss file. It is a text file in Windows .ini file format. For details see the sample response file below.

Running a silent installation

The command for silent installation is:
setup -s -f1"path to response file" -f2"path to log file"

The -s parameter instructs setup.exe to run silently. It must be the first parameter.

The -f1 parameter specifies the response file to read. This should be the setup.iss file you created.

The -f2 parameter specifies the log file to write. If the -f2 parameter is omitted, setup.exe writes a file setup.log in the same directory as setup.exe.

Here is an example:

setup -s -f1d:\hostpub\setup.iss -f2c:\hostpub.log

If a directory or file name contains spaces, enclose the entire path in quotation marks:

setup -s -f1"d:\my hostpub directory\setup.iss" -f2c:\hostpub.log

After running the silent installation, you can find out from the log file whether it succeeded. The value of ResultCode will be 0 in the [ResponseResult] section of the log file.

The installation process might defer some actions until after the next reboot if any files are locked at the time of the installation. You should arrange for a reboot after the installation to ensure that the installation is complete. Select a reboot while recording the setup.iss file, or change the BootOption to 3 in the setup.iss file.

Silent removal

Silently removing Host Publisher requires three files:
  1. The removal executable, IsUninst.exe, is installed in the Windows directory.
  2. The removal log file, Uninst.isu, is in the Host Publisher directory.
  3. A Host Publisher DLL file, hpuninst.dll, is also in the Host Publisher directory.

To run a silent removal, run:

IsUninst.exe -y -a -f"Host Publisher directory\Uninst.isu" -c"Host Publisher directory\hpuninst.dll"
(This is a single command. Your web browser might show it on several lines because of its length.)

Note: The file IsUninst.exe is shared by many Windows programs. Do not delete it.

The removal process might defer some actions until after the next reboot if any files are locked at the time of the removal. You should always arrange for a reboot after the removal to ensure that the removal is complete. The removal process does not provide an automatic way to trigger a reboot after the removal.

More information

Host Publisher uses the InstallShield® program for installation. You can find more information at the InstallShield® web site. (InstallShield® is a trademark of InstallShield Software Corporation.)

Sample response file

You should always start by recording a response file using setup -r. You can use this sample file as a guideline to identify items to change in your file. Your file will be different if you choose different parts of Host Publisher to install, or if you use a different version of Host Publisher than was used to create this sample.

File Comments
[InstallShield Silent]
Version=v5.00.000
File=Response File
[DlgOrder]
Dlg0=AskYesNo-0
Count=16
Dlg1=SdWelcome-0
Dlg2=SdAskDestPath-0
Dlg3=SdComponentDialog2-0
Dlg4=SdComponentDialog2-1
Dlg5=AskText-0
Dlg6=AskPath-0
Dlg7=AskPath-1
Dlg8=SdShowDlgEdit1-0
Dlg9=SdShowDlgEdit1-1
Dlg10=SdShowDlgEdit1-2
Dlg11=SdShowDlgEdit1-3
Dlg12=AskPath-2
Dlg13=SdSelectFolder-0
Dlg14=SdStartCopy-0
Dlg15=SdFinishReboot-0
[AskYesNo-0]
Result=1
[SdWelcome-0]
Result=1
[SdAskDestPath-0]
szDir=d:\HostPublisher Installation directory
Result=1
[SdComponentDialog2-0]
Runtime Environment\Adaptor-type=string
Runtime Environment\Adaptor-count=4
Runtime Environment\Adaptor-0=Runtime Environment\Adaptor\Netscape Adaptor
Runtime Environment\Adaptor-1=Runtime Environment\Adaptor\Novell Adaptor
Runtime Environment\Adaptor-2=Runtime Environment\Adaptor\CGI adaptor
Runtime Environment\Adaptor-3=Runtime Environment\Adaptor\IIS Adaptor
Runtime Environment\Pageserver\Samples\Library-type=string
Runtime Environment\Pageserver\Samples\Library-count=1
Runtime Environment\Pageserver\Samples\Library-0=Runtime Environment\Pageserver\Samples\Library\Images
Runtime Environment\Pageserver\Samples-type=string
Runtime Environment\Pageserver\Samples-count=1
Runtime Environment\Pageserver\Samples-0=Runtime Environment\Pageserver\Samples\Library
Runtime Environment\Pageserver-type=string
Runtime Environment\Pageserver-count=7
Runtime Environment\Pageserver-0=Runtime Environment\Pageserver\Graph_Svr_file
Runtime Environment\Pageserver-1=Runtime Environment\Pageserver\HostAccessSIMS
Runtime Environment\Pageserver-2=Runtime Environment\Pageserver\Log_Analysis_files
Runtime Environment\Pageserver-3=Runtime Environment\Pageserver\JRE
Runtime Environment\Pageserver-4=Runtime Environment\Pageserver\TermSim
Runtime Environment\Pageserver-5=Runtime Environment\Pageserver\math_class
Runtime Environment\Pageserver-6=Runtime Environment\Pageserver\Samples
Runtime Environment\Dispatcher-type=string
Runtime Environment\Dispatcher-count=1
Runtime Environment\Dispatcher-0=Runtime Environment\Dispatcher\Log_Analysis_files
Runtime Environment-type=string
Runtime Environment-count=5
Runtime Environment-0=Runtime Environment\Monitor
Runtime Environment-1=Runtime Environment\Adaptor
Runtime Environment-2=Runtime Environment\Pageserver
Runtime Environment-3=Runtime Environment\Web Server
Runtime Environment-4=Runtime Environment\Dispatcher
Design Tool\Samples\Library-type=string
Design Tool\Samples\Library-count=1
Design Tool\Samples\Library-0=Design Tool\Samples\Library\Images
Design Tool\Samples-type=string
Design Tool\Samples-count=1
Design Tool\Samples-0=Design Tool\Samples\Library
Design Tool-type=string
Design Tool-count=6
Design Tool-0=Design Tool\graph_svr_file
Design Tool-1=Design Tool\Samples
Design Tool-2=Design Tool\HostAccessSIMS
Design Tool-3=Design Tool\JRE
Design Tool-4=Design Tool\TermSim
Design Tool-5=Design Tool\math_class
Extensions\Active Server-type=string
Extensions\Active Server-count=1
Extensions\Active Server-0=Extensions\Active Server\PageServer_wbl
Extensions-type=string
Extensions-count=1
Extensions-0=Extensions\Active Server
Component-type=string
Component-count=9
Component-0=MFC_files
Component-1=Toolkit
Component-2=Documentation
Component-3=Runtime Environment
Component-4=Design Tool
Component-5=Extensions
Component-6=Test
Component-7=HelpFiles
Component-8=Uninstall_file
Result=1
[SdComponentDialog2-1]
Component-type=string
Component-count=4
Component-0=Runtime Environment\Adaptor\Netscape Adaptor
Component-1=Runtime Environment\Adaptor\Novell Adaptor
Component-2=Runtime Environment\Adaptor\CGI adaptor
Component-3=Runtime Environment\Adaptor\IIS Adaptor
Result=1
[AskText-0]
szText=20 Number of licenses purchased
Result=1
[AskPath-0]
szPath=d:\HostPublisher\Library\ Path for library
Result=1
[AskPath-1]
szPath=d:\HostPublisher\Cache\ Path for cache
Result=1
[SdShowDlgEdit1-0]
szEdit1=5000 Cache size
Result=1
[SdShowDlgEdit1-1]
szEdit1=machinename Dispatcher address
Result=1
[SdShowDlgEdit1-2]
szEdit1=127.0.0.1 Secondary dispatcher address
Result=1
[SdShowDlgEdit1-3]
szEdit1=HostPublisher URL prefix
Result=1
[AskPath-2]
szPath=d:\HostPublisher\ Directory for Excel template for log analysis
Result=1
[SdSelectFolder-0]
szFolder=Host Publisher Desktop folder name
Result=1
[SdStartCopy-0]
Result=1
[Application]
Name=Host Publisher
Version=1.00.000
Company=IBM
[SdFinishReboot-0]
Result=1
BootOption=0 Whether to reboot (0 is No, 3 is Yes)

[Next|Previous|Contents]
IBM eNetwork Communications Server for Windows NT
Host Publisher Feature, Version 6.01