CyberInstaller Suite - 23. Step 12: "Attributes files and folders"

 

In this step you can specify any attributes to be set on files and/or folders on the target system after installation.


The inscription at the top right indicates the number of files/folders that are set attributes in the current package.

 

At the end of the installation process itself may have the need to set some attributes for the installed files or entire folders on the destination system. Attributes can be used are the same as defined by the operating system, and are described below:

To manually define the attributes to files and folders, you can use the attrib command from a command prompt or through a click on the Properties item on the menu that appears when right-clicking the mouse on the file or folder).

 

Attribute ID Description
Hidden  H the file is hidden from normal view of the folder that contains it
System (system) S the file is marked as system and will be treated as if it were a vital component for Windows, then restricted
Read Only (read only) R the file is read-only and can not be canceled through the normal procedure of cancellation
Archive (Archive) To the file can be copied using the standard procedure
Normal (regular) N the file does not contain any other attribute

 

The attributes are accumulated, except for the normal attributes, which erases any other attribute present. So a file/folder will have them all ("HSRA"), or only some (eg, "HS" or "RA" or "R" or "N").

To ensure that you remove all the attributes to a file/folder, set the attribute Normal.

Note: It's possible act on all the files on the target system (using patterns to reference the system paths), but is recommended only intervene on file distributed with the current package.
The change of other system files could compromise the target system and because the user is always informed of any changes to the system CyberInstaller an unorthodox procedure of this feature could undermine the professionalism of the installation package created.

 

 

 CyberInstaller Suite - 23.1. Operation


This step is presented as a list in which to insert the file or folder and attributes that you want. This list is divided into 2 columns:

File/Folder name Full file or folder that you want to set the attributes (full path, using patterns of system).

Attributes: list of attributes (HSRA or N) to set the file/folder icon. It's possible set all 4 attributes to a file or a folder (HSRA), with the exception of the "normal" (N), which indicates that the file will have no other attributes (remove the other attributes may present).

Add [button]

Inserts a new list of attributes to a file or a folder via the "Add Attributes".

 

Edit [button]

After selecting an item previously added to the list, you can use this button to change the parameters.
This same result is obtained by double-clicking the item you want.

 

Delete [Button]

Deletes the list item selected. Asks for confirmation.

 

Clear [button]

Delete all elements of the list.

 

Note: Instead of the buttons Add, Edit, Delete and Clear, you can use the context menu (pop-up) on the list. This menu is activated by a click with right mouse button on the list. This has the advantage that, in editing and elimination, there is a greater certainty that you have selected the item you want and operate exactly the item you want.
Present in all lists CyberInstaller Suites have a context menu activated by right mouse button, which allows to achieve common tasks permitted for the corresponding list.


 

 CyberInstaller Studio - 23.2. Activities current step

 

Delete attribute from all files: Assigns the attribute "normal" to all files included in the package.

Make "read only" all files: Assigns the attribute "read only" all files included in the package.

Make "system" all files: Assigns the attribute "system" to all files included in the package.

Make "hidden" all files: Assigns the attribute "hidden" all files included in the package.

Make a "store" all files: Assigns the attribute "Archive" to all files included in the package.

All the attributes (HSRA) to all files: Assign all the attributes to all files included in the package.



 See also ...

 

 Package creation steps

 Patterns system

 Setting attributes to files/folders

 CyberInstaller - Script Installation