public class STAFInstaller extends InstallerImpl
InstallerImpl.BIT_OPTION, InstallerImpl.VERSION_OPTION| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
InstallPropertiesPath
%STAFDIR%\install.properties holding the installation information
|
static java.lang.String |
JSTAFPath |
static java.lang.String |
JSTAFZIPPath |
static java.lang.String |
STAFBINPath |
static java.lang.String |
STAFDIREnv |
static java.lang.String |
STAFEnvUnixPath
%STAFDIR%\STAFEnv.sh
|
static java.lang.String |
STAFEnvWinPath
%STAFDIR%\STAFEnv.bat
|
ARG_DEBUG, ARG_INSTALLDIR, ARG_SAFS_DIR, ARG_SILENT, ARG_UNINSTALL, ARG_VERBOSE, debug, DIR_BIN, DIR_INSTALL, DIR_SAFS_HOME_DEFAULT, home, PARAM_SWITCH, PARAM_USE_LATEST_VERSION, productDetector, progresser, REGSVR32, rootdir, s, safsHome, silent, SYSTEM32, SYSWOW64, verbose| Constructor and Description |
|---|
STAFInstaller() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Properties |
getInstallProperties()
Read the file c:\staf\install.properties and load it into the Properties.
|
boolean |
install(java.lang.String... args)
Currently assumes STAF has been installed and STAFDIR is already set.
|
static boolean |
is32BitsSTAF() |
static void |
main(java.lang.String[] args)
Main Java executable.
|
boolean |
uninstall(java.lang.String... args)
Unset the System Environment Variables used by SAFS for STAF.
|
appendSystemEnvironment, findInstaller, getDefaultHome, getDefaultProductDetector, getEnvValue, getHome, getInstallationRoot, getInstallerDir, getProductName, getRegistryValue, getSafsHome, getUnixProductDetector, getWindowsProductDetector, hasRegistryEntry, increaseProgress, initilizeProductDetector, prependSystemEnvironment, removeSystemEnvironmentSubstring, removeSystemEnvironmentSubstringContaining, setEnvironment, setEnvValue, setHome, setProgress, setProgressIndicator, setProgressMessage, setProgressMessage, setRegistryValue, setSafsHomepublic static final java.lang.String STAFDIREnv
public static final java.lang.String STAFBINPath
public static final java.lang.String JSTAFPath
public static final java.lang.String JSTAFZIPPath
public static final java.lang.String InstallPropertiesPath
public static final java.lang.String STAFEnvWinPath
public static final java.lang.String STAFEnvUnixPath
public boolean install(java.lang.String... args)
public boolean uninstall(java.lang.String... args)
args - public static java.util.Properties getInstallProperties()
public static boolean is32BitsSTAF()
public static void main(java.lang.String[] args)
%SAFSDIR%\jre\bin\java org.safs.install.STAFInstaller C:\STAF
%SAFSDIR%\jre\bin\java org.safs.install.STAFInstaller -u C:\STAF
System.exit(0) on perceived success.
System.exit(-1) on perceived failure.
args - -- -u to perform an uninstall instead of install.SilentInstallerCopyright © SAS Institute. All Rights Reserved.