Class SetSingleWinRegistry
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.InstallableObject
-
- com.zerog.ia.auto.project.actions.Action
-
- com.zerog.ia.auto.project.actions.SetSingleWinRegistry
-
- All Implemented Interfaces:
OSHostable
,Referenceable
public final class SetSingleWinRegistry extends Action implements OSHostable
Sets an individual Windows registry key, data, and value on the end user's system.
Tip: If you are targeting 64-bit systems, set theaccessSpecificRegistry
totrue
and then set thetarget64BitRegistry
property to define whether you want the action to reference the 64-bit or 32-bit portion of the registry.
-
-
Constructor Summary
Constructors Constructor Description SetSingleWinRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getAccessSpecificRegistry()
Whether to access specific registry view (64-bit systems).java.lang.String
getComment()
The action comment.java.lang.String
getData()
The registry data.SingleWinRegistryType
getDataType()
The data type.java.lang.String
getRegistryKey()
The registry key.boolean
getTarget64BitReg()
Whether to target 64-bit registry view.WinRegistryUninstallOptions
getUninstallOptions()
The uninstall option.java.lang.String
getValueName()
The value name.void
setAccessSpecificRegistry(boolean access)
Whether to access specific registry view (64-bit systems).void
setComment(java.lang.String comment)
Defines a comment to action.void
setData(java.lang.String data)
Define the registry data.void
setDataType(SingleWinRegistryType type)
The data type.void
setRegistryKey(java.lang.String key)
Define the registry key.void
setTarget64BitReg(boolean target64Bit)
Whether to target 64-bit registry view.void
setUninstallOptions(WinRegistryUninstallOptions option)
The uninstall option.void
setValueName(java.lang.String valueName)
The value name.-
Methods inherited from class com.zerog.ia.auto.project.InstallableObject
getBelongsToUninstallPhase, getRollbackEnabledCancel, getRollbackEnabledError, getRuleExpression, getRules, getRulesLogicalOperation, getTagsInInstallPiece, setBelongsToUninstallPhase, setRollbackEnabledCancel, setRollbackEnabledError, setRuleExpression, setRulesLogicalOperation, setTagsInInstallPiece
-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
Method Detail
-
setTarget64BitReg
public void setTarget64BitReg(boolean target64Bit)
Whether to target 64-bit registry view.- See Also:
setAccessSpecificRegistry(boolean)
-
getTarget64BitReg
public boolean getTarget64BitReg()
Whether to target 64-bit registry view.
-
setAccessSpecificRegistry
public void setAccessSpecificRegistry(boolean access)
Whether to access specific registry view (64-bit systems).- See Also:
#setTarget64BitRegistry(boolean)
-
getAccessSpecificRegistry
public boolean getAccessSpecificRegistry()
Whether to access specific registry view (64-bit systems).
-
setComment
public void setComment(java.lang.String comment)
Defines a comment to action.
-
getComment
public java.lang.String getComment()
The action comment.
-
setRegistryKey
public void setRegistryKey(java.lang.String key)
Define the registry key.
-
getRegistryKey
public java.lang.String getRegistryKey()
The registry key.
-
setData
public void setData(java.lang.String data)
Define the registry data.
-
getData
public java.lang.String getData()
The registry data.
-
getUninstallOptions
public WinRegistryUninstallOptions getUninstallOptions()
The uninstall option.
-
setUninstallOptions
public void setUninstallOptions(WinRegistryUninstallOptions option)
The uninstall option.
-
setDataType
public void setDataType(SingleWinRegistryType type)
The data type.
-
getDataType
public SingleWinRegistryType getDataType()
The data type.
-
setValueName
public void setValueName(java.lang.String valueName)
The value name.
-
getValueName
public java.lang.String getValueName()
The value name.
-
-