<< Click to Display Table of Contents >> RayPack > 7.3 u6 > User Guide > PackDesigner > MSI / MST / RPP Based Projects > Visual Designer Mode > System Configuration > Files and Folders > File Operations File Operation Wizard |
The file operation wizard presents different steps, depending on the type of operation selected.
The following properties are required:
•Directory
A source directory containing the moved/renamed/removed file. This has to be a valid entry present in the Directory table.
•File name
The name of the file that will be moved/renamed/removed. The file does not have to belong to the package.
Note: (Remove file operation only) •In order to delete all files in the folder, simply type the wildcard expression (*.*). Alternatively, the ALL FILES checkbox can be checked to mark removal of all files. •The Source screen contains a component property. Please refer to the section about the Destination screen below to read about the available options for the selection. |
The following properties are required:
•Directory
A destination directory to which the selected file will be moved/copied.
•File name
The name of the target file after moving/copying. The full path of the moved/copied file has to be different that the full path of the source file.
•Component
The file operation has to be attached to a component to control and trigger its execution. Please select whether:
oA new component has to be created to contain the operation.
To do so, activate the upper option of the Component radio control. RayPack will automatically set a default name for the new component.
oThe operation should be added to an existing component.
To do so, activate the lower option of the Component radio control. It is possible to either keep the pre-selected component, to select another one from the selector control, or to use the common Select Component dialog to define the parent component object. Within this dialog it is also possible to create a new component manually, which allows to define the name of the component, instead of letting the internal RayPack logic define it automatically as provided by the option described above.
This screen contains a radio button controlling when the removal has to be performed. Permitted options are:
•On installation – the file(s) will be removed when the controlling component is installed
•On uninstallation – the file(s) will be removed when the controlling component is uninstalled
•Both on installation and uninstallation – the combination of the two above options.
Note: The new file operations wizard always creates a new component when invoked from the files and folders view. If the wizard is invoked from the components view, it automatically assigns the newly created operation to the source component. |