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.
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.
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.
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.
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) |