public class STAFInstaller extends InstallerImpl
InstallerImpl.VERSION_OPTION
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JSTAFPath |
static java.lang.String |
JSTAFZIPPath |
static java.lang.String |
STAFBINPath |
static java.lang.String |
STAFDIREnv |
ARG_INSTALLDIR, ARG_UNINSTALL, PARAM_SWITCH, PARAM_USE_LATEST_VERSION, productDetector, progresser, REGSVR32, rootdir, s, SYSTEM32, SYSWOW64
Constructor and Description |
---|
STAFInstaller() |
Modifier and Type | Method and Description |
---|---|
boolean |
install(java.lang.String... args)
Currently assumes STAF has been installed and STAFDIR is already set.
|
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, getDefaultProductDetector, getEnvValue, getInstallationRoot, getRegistryValue, getUnixProductDetector, getWindowsProductDetector, hasRegistryEntry, initilizeProductDetector, prependSystemEnvironment, removeSystemEnvironmentSubstring, removeSystemEnvironmentSubstringContaining, setEnvValue, setProgress, setProgressIndicator, setProgressMessage, setRegistryValue
public 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 boolean install(java.lang.String... args)
public boolean uninstall(java.lang.String... args)
args
- 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.SilentInstaller
Copyright © SAS Institute. All Rights Reserved.