Sybase 6131765115041SS manual Silent install and uninstall, Modifying the batch file directly

Page 29

CHAPTER 1 Installing PowerBuilder Enterprise

Silent install and uninstall

You can install and uninstall PowerBuilder 11.5 and the PowerBuilder virtual machine (PBVM) without displaying messages or windows during the setup or removal process. However, you must accept the Sybase license agreement before you can run the silent install file. You can indicate your acceptance by typing the following line in a DOS command box before you type in the silent install batch file command:

SET AgreeToSybaseLicense=true

If the DOS prompt does not display the PowerBuilder installation directory, you must change to that directory.

Use the main installation directory to install PowerBuilder and InfoMaker

Use the PBVM directory to install the PowerBuilder virtual machine

Modifying the batch file directly

You can indicate your acceptance of the Sybase license agreement by directly editing the silentinstall.bat file. You do this by changing the line in the batch file that reads set AgreeToSybaseLicense=false. You must change this line to read set AgreeToSybaseLicense=true. After you make this change, you can double-click the silentinstall.bat file to run the install with default selections rather than running it from a command line.

The file for PowerBuilder Enterprise is in the main installation directory on the

PowerBuilder DVD, and the file for the PBVM is in the PBVM directory.

You can use the DOS command line to provide help for silent install parameters. The help is available by typing Help or a question mark after entering silentinstall.bat on the command line.

Silent install and uninstall for PowerBuilder and InfoMaker

If you are running the installation from the DOS command box, you can run the silent install using the following syntax:

silentinstall.bat [“lic=licPathNameOrServerName” “opt=product” “dir=directoryName” “shr=sharedDirectoryName” “log=logFileName”]

Installation Guide

21

Image 29
Contents PowerBuilder Enterprise Document ID DC37771-01-1150-01 Contents Contents About This Book Finding the latest information on component certifications Sybase certifications on the WebFinding the latest information on product certifications About This Book Accessibility features If you need helpViii PowerBuilder Enterprise contents Installing PowerBuilder EnterprisePowerBuilder Enterprise contents System requirements Installing PowerBuilder EnterpriseSystem requirements for PowerBuilder Enterprise Product licensing with SySAM Product licensing with SySAMBacking up your files Pre-installation tasksPre-installation tasks Required software for PowerBuilder featuresRequired software for PowerBuilder features Feature Required softwareSybase\Shared\PowerBuilder\jdk1.5.012 directory Sybase\Shared\PowerBuilder\fop-0.20.4 directory when Installing from a downloaded image Starting the PowerBuilder 11.5 setup programTo start the setup program SQL Anywhere requiredTo install SQL Anywhere Installing SQL AnywhereInstalling SQL Anywhere Providing basic information Installing SQL Anywhere documentationProviding basic information Cancel Installing InfoMakerComponent Description Installing InfoMakerInfoMaker components Demo Database To install InfoMakerPowerBuilder components Installing PowerBuilderInstalling PowerBuilder To install PowerBuilder To complete the common setup program Completing the setup programCompleting the setup program Network install What the setup program doesPBODB115.INI C\...\UserName\ subdirectory Files copied or updatedModifying the batch file directly Silent install and uninstallSilent install and uninstall for PowerBuilder and InfoMaker Silent install parameter Description Silent install and uninstallSilent install and uninstall for the Pbvm Migrating applications to PowerBuilder or InfoMaker Before using PowerBuilder EnterpriseSetting up your Dbms Before using PowerBuilder EnterpriseUpgrading databases for jConnect for Jdbc Installing HTMLGenerator115 and PBDebugBroker115To install Ghostscript Installing GhostscriptTo add a PostScript printer to your printer settings Installing PostScript driversTo use the print driver in the DataWindow painter To use the print driver in a scriptPB.INI directory Troubleshooting SySAM issuesTroubleshooting SySAM issues Removing a product Silent uninstallRemoving a product To use the setup maintenance program to remove a productIndex Pbvm IndexIndex Index