public class InstallerConfig extends EncodableObject
Modifier and Type | Field and Description |
---|---|
static String |
AlwaysCreateDataDirectory |
static String |
ApplicationFileName |
static String |
ApplicationTitle |
static String |
ApplicationVersion |
static String |
CanChangeDataDir |
static String |
CanChangeProgramDir |
static String |
CustomInstallerClass |
static int |
DELETE_DATA_ALWAYS_DELETE_ALL
An option for DeleteDataFilesOption - it indicates
that all data files should always be deleted.
|
static int |
DELETE_DATA_ALWAYS_KEEP_ALL
An option for DeleteDataFilesOption - it indicates
that all data files should be kept.
|
static int |
DELETE_DATA_ALWAYS_KEEP_USER_MODIFIED
An option for DeleteDataFilesOption - it indicates
that all user modified data files should always be kept, but others should be deleted.
|
static int |
DELETE_DATA_PROMPT_ALWAYS
An option for DeleteDataFilesOption - it indicates
that the user should be prompted for action always.
|
static int |
DELETE_DATA_PROMPT_IF_USER_MODIFIED
An option for DeleteDataFilesOption - it indicates
that the user should be prompted for action if there are user modified files.
|
static String |
DeleteDataFilesOption |
static String |
DesktopShortcut
There may be more than one DesktopShortcut entry.
|
static int |
INSTALL_ALWAYS_FOR_ALL_USERS
This is a value for InstallForType -
it indicates that the application should always be installed for all users.
|
static int |
INSTALL_ALWAYS_FOR_CURRENT_USER
This is a value for InstallForType -
it indicates that the application should always be installed for the current user only.
|
static int |
INSTALL_ASK_USER
This is a value for InstallForType -
it indicates that at runtime the user should indicate whether to install the application for all users or for the current user only.
|
static String |
InstallForType |
PropertyList |
properties |
static String |
RegistryKey
Each registry key is in the form:
"HKEY_XXX Root|Path\To\Key|ValueName||Value"
where I or $ represent the type Integer or String.
|
static String |
SingleUserProgramFiles |
static String |
StandardSaveName |
static String |
StartMenuGroupName |
static String |
StartMenuGroupShortcut
There may be more than one MenuGroupShortcut entry.
|
static String |
TotalCopySize |
static String |
UninstallInfo
This is the property name for the uninstaller executable.
|
Constructor and Description |
---|
InstallerConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addRegistryKey(String hkeyRoot,
String pathToValue,
String valueName,
int value) |
void |
addRegistryKey(String hkeyRoot,
String pathToValue,
String valueName,
String value) |
boolean |
alwaysCreateDataDirectory() |
boolean |
canChangeDataDir() |
boolean |
canChangeProgramDir() |
void |
fromBytes(byte[] data,
int offset,
int length) |
static int[] |
getDeleteDataCodes() |
static String[] |
getDeleteDataNames() |
byte[] |
toBytes() |
decode, decoded, decoded, decodeFields, decodeFields, encode, encoded, encoded, encodeFields, encodeFields, textDecode, textEncode
_getFieldType, _getSetField, cache, compareTo, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getMyFieldList, getNew
public PropertyList properties
public static final String StandardSaveName
public static final String ApplicationTitle
public static final String ApplicationVersion
public static final String ApplicationFileName
public static final String StartMenuGroupName
public static final String CustomInstallerClass
public static final String TotalCopySize
public static final String AlwaysCreateDataDirectory
public static final String InstallForType
public static final String DeleteDataFilesOption
public static final String SingleUserProgramFiles
public static final String CanChangeProgramDir
public static final String CanChangeDataDir
public static final int DELETE_DATA_PROMPT_IF_USER_MODIFIED
public static final int DELETE_DATA_PROMPT_ALWAYS
public static final int DELETE_DATA_ALWAYS_DELETE_ALL
public static final int DELETE_DATA_ALWAYS_KEEP_USER_MODIFIED
public static final int DELETE_DATA_ALWAYS_KEEP_ALL
public static final int INSTALL_ALWAYS_FOR_ALL_USERS
public static final int INSTALL_ALWAYS_FOR_CURRENT_USER
public static final int INSTALL_ASK_USER
public static final String RegistryKey
"HKEY_XXX Root|Path\To\Key|ValueName||Value" where I or $ represent the type Integer or String. You should use HKEY_LOCAL_MACHINE as the standard root and if the application is only being installed for the current user, it will be changed automatically to HKEY_CURRENT_USER.
public static final String StartMenuGroupShortcut
public static final String DesktopShortcut
public static final String UninstallInfo
public static final int[] getDeleteDataCodes()
public static final String[] getDeleteDataNames()
public boolean alwaysCreateDataDirectory()
public boolean canChangeProgramDir()
public boolean canChangeDataDir()
public byte[] toBytes()
public void fromBytes(byte[] data, int offset, int length)
public void addRegistryKey(String hkeyRoot, String pathToValue, String valueName, int value)