Class SetMultipleWinRegistries
- 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.SetMultipleWinRegistries
-
- All Implemented Interfaces:
OSHostable
,Referenceable
public final class SetMultipleWinRegistries extends Action implements OSHostable
Sets multiple Windows registry keys, data, and values 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 SetMultipleWinRegistries()
-
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 comment of the action.java.util.Vector<WindowsRegistryEntry>
getRegistryEntries()
The list of registry entries to set.java.lang.String
getRegistryEntriesFile()
The path to a .reg or .zgr file with the registry entries to create.boolean
getTarget64BitReg()
Whether to target 64-bit registry view.WinRegistryUninstallOptions
getUninstallOptions()
The uninstall option.boolean
getUseFile()
Whether to use a file with the registries entries.void
setAccessSpecificRegistry(boolean access)
Whether to access specific registry view (64-bit systems).void
setComment(java.lang.String comment)
Defines a comment to the action.void
setRegistryEntriesFile(java.lang.String path)
The path to a .reg or .zgr file with the registry entries to create.void
setTarget64BitReg(boolean target64Bit)
Whether to target 64-bit registry view.void
setUninstallOptions(WinRegistryUninstallOptions option)
The uninstall option.void
setUseFile(boolean useFile)
Whether to use a file with the registries entries.-
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
-
getComment
public java.lang.String getComment()
The comment of the action.
-
setComment
public void setComment(java.lang.String comment)
Defines a comment to the action.
-
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).
-
getUninstallOptions
public WinRegistryUninstallOptions getUninstallOptions()
The uninstall option.
-
setUninstallOptions
public void setUninstallOptions(WinRegistryUninstallOptions option)
The uninstall option.
-
setUseFile
public void setUseFile(boolean useFile)
Whether to use a file with the registries entries.
-
getUseFile
public boolean getUseFile()
Whether to use a file with the registries entries.
-
getRegistryEntries
public java.util.Vector<WindowsRegistryEntry> getRegistryEntries()
The list of registry entries to set.
-
setRegistryEntriesFile
public void setRegistryEntriesFile(java.lang.String path)
The path to a .reg or .zgr file with the registry entries to create.
-
getRegistryEntriesFile
public java.lang.String getRegistryEntriesFile()
The path to a .reg or .zgr file with the registry entries to create.
-
-