public class SAFSInstaller extends InstallerImpl
InstallerImpl.BIT_OPTION, InstallerImpl.VERSION_OPTION
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HKLM_RUN_KEY |
static java.lang.String |
HKLM_RUN_VALUE |
boolean |
propogate
Allows the installer to propopate and execute all known installers (RFT, TCAFS, etc..)
Default = true.
|
static java.lang.String |
SAFSBINPath |
static java.lang.String |
SAFSDIREnv |
static java.lang.String |
SAFSJARPath |
static java.lang.String |
SAFSLIBPath |
static java.lang.String |
SAFSProjectPath |
static java.lang.String |
SAFSSamplesPath |
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 |
---|
SAFSInstaller() |
Modifier and Type | Method and Description |
---|---|
boolean |
install(java.lang.String... args)
Currently assumes SAFS has been installed (unzipped) and SAFSDIR 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.
|
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, setSafsHome
public static final java.lang.String SAFSDIREnv
public static final java.lang.String SAFSBINPath
public static final java.lang.String SAFSLIBPath
public static final java.lang.String SAFSProjectPath
public static final java.lang.String SAFSSamplesPath
public static final java.lang.String SAFSJARPath
public static final java.lang.String HKLM_RUN_KEY
public static final java.lang.String HKLM_RUN_VALUE
public boolean propogate
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.SAFSInstaller [C:\SAFS]
%SAFSDIR%\jre\bin\java org.safs.install.SAFSInstaller -u [C:\SAFS]
If the -np option is not provided, then the installer will propogate and execute all known SAFS Framework Installers.
System.exit(0) on perceived success.
System.exit(-1) on perceived failure.
args:
- SilentInstaller
,
propogate
Copyright © SAS Institute. All Rights Reserved.