public class SAFSInstaller extends InstallerImpl
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_INSTALLDIR, ARG_UNINSTALL, PARAM_SWITCH, PARAM_USE_LATEST_VERSION, productDetector, progresser, REGSVR32, rootdir, s, SYSTEM32, SYSWOW64
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, getDefaultProductDetector, getEnvValue, getInstallationRoot, getRegistryValue, getUnixProductDetector, getWindowsProductDetector, hasRegistryEntry, initilizeProductDetector, prependSystemEnvironment, removeSystemEnvironmentSubstring, removeSystemEnvironmentSubstringContaining, setEnvValue, setProgress, setProgressIndicator, setProgressMessage, setRegistryValue
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.