A new actions plugin is available for applications using Lua 5.0:
- AutoPlay Media Studio 7
- Setup Factory 8
- TrueUpdate 3
- Visual Patch 3
The purpose of this plugin is to access files and folders controlled by the File System Redirector and to read and write registry keys that are subject to Registry Redirection, both on 64-bit operating systems. These functions can also be used on 32-bit operating systems.
The following actions are included:
- DisableFsRedirection: Disables file system redirection for the calling thread;
- RevertFsRedirection: Restores file system redirection for the calling thread;
- RegistryCreateKey: Creates a "key" in the user's Registry;
- RegistryDeleteKey: Deletes a "key" from the user's Registry;
- RegistryDeleteValue: Deletes a "value" from the user's Registry;
- RegistryDoesKeyExist: Determines whether or not a particular Registry key exists;
- RegistryGetKeyNames: Returns a table containing the names of all of the sub keys for a particular key;
- RegistryGetValue: Returns a specific Registry value's data;
- RegistryGetValueNames: Returns a table containing all the values within a specific sub key;
- RegistryGetValueType: Returns a specific Registry value's type;
- RegistrySetValue: Sets the data of a specific Registry value.
All registry operations feature the RegistryView parameter, which allows to set KEY_WOW64_64KEY for operating on the 64-bit registry view, and KEY_WOW64_32KEY for operating on the 32-bit registry view.
Documentation is included in the installer (which you can download here), but can also be downloaded separately from here.