Files
The files view allows files to be added to, removed from, and moved about the package being edited. It also allows for directories to be created, removed and renamed.
The panel is split into two sections, the System View which displays files and folders on the local machine, and the Project View which displays files and folders within the package. Files and folders can easily be added from the System View to the Project View.
Project View Folders:
Windows Installer contains a number of special system folder properties which should be used as much as possible. Common examples are the Program Files folder and the System Files Folder.
These system folders are displayed under the 'Special Folders' folder in the Project View. This 'Special Folder' actually represents the TARGETDIR property, so if you want to create a new folder under the TARGETDIR then create it under here.
To Add a New Folder to the Project:
- Right-click on the parent folder in the Project View and select 'New Folder' from the context menu.
- Select the parent directory in the Project View and then press the new folder button
Add a New Root Drive to the Project:
If you do not wish to use a system folder then create a new hard coded root drive property, from which you can create subfolders.- Right-click anywhere in the System or Project folder view and select 'Add New Root Drive' from the context menu OR
- Click the new root drive button
Delete a Folder
- Right click on the folder you wish to delete in the Project View and select 'Delete Folder' from the context menu OR
- Select the folder and then click the Delete button
Add a Folder from Local System to Project
To add a folder, including all sub-folders and files within it, first select the Project View folder where it is to be added. Next select the folder to be added in the System View and- From the context menu of the folder in the System View select 'Add Folder' OR
- Click the 'Add Folder' button OR
- Drag the folder from the System View to the folder where it is to be added in the Project View.
Rename a Folder
To rename a folder in the Project select it in the Project View and then- Press F2 OR
- From the context menu select 'Rename Folder'.
Add an Individual File from the Local System to Project
First in the project view select the folder where the file is to be added and then in the top System View browse to the appropriate folder and select the file in the top right panel. Files can be added by:- Double clicking the file.
- Dragging the file to the bottom right panel or the appropriate folder in the Project View.
- Clicking the 'Add File' button
- Selecting 'Add File' from the context menu for the System View file.
Delete a File
Select the file in the Project View and then:- Press the delete key button
- From the context menu select 'Delete File'
- Click the delete button in the File View
Display or Edit File Details
To display or edit the file details :- Double click the file in the Project View
- Select 'Details' from the context menu for the file.