The PROJECT in a box Client is a lightweight .NET program that can be deployed using a self-extracting zip (7z) file that users can download from a URL provided via the Enterprise Hub.
These files are created in the 'piabws\deploy' folder so that they can be downloaded from Enterprise Hub's 'Resources' page.
The deployment clients can be configured and packaged directly from the 'PROJECT in a box Server' tool. To access this feature:
The 'PROJECT in a box Server' tool is a user interface to a set of scripts that package the clients for deployment. These scripts are customisable for your organisation. These scripts can be found in your PROJECT in a box installation folder, in e.g.:
C:\Program Files\PROJECT in a box Professional\make-deployment-client\
Item | Description |
---|---|
7-zip Portable | The 7-Zip utility (see http://www.7-zip.org) that creates self-extracting executable archive files |
7zS.sfx | A small program included with 7-Zip to create self-extracting executables |
config-runonce.txt | A text file containing instructions specific to the “runonce” version of the PROJECT in a box client. |
make-step-1.cmd | A command file to perform Step 1 of the make process: Clearing the existing sub-folders in preparation for Step 2. |
make-step-2.cmd | A command file to perform Step 2 of the make process: Getting the current PROJECT in a box client files into the appropriate sub-folders. |
make-step-3.cmd | A command file to perform Step 3 of the make process: Creating the self-extracting zip files for deployment and copying the files to a web-deployment location. You may customise this file for your own locations if required. |
Step | Description |
---|---|
1 | Run make-step-1.cmd to clear old client files from the local folders. |
2.1 | Run make-step-2.cmd to get the latest client files from your PROJECT in a box installation folder. Note that the client must be locally installed to get these files. They are copied to the piabpe-client and piabpe-portable folders. |
2.2 | Run the PROJECT in a box client from the piabpe-runonce and piabpe-portable folders, in turn. Connect to your server and make any changes to the client config you require (e.g. startup options, connection options, URLs etc.) These options are written to the local client config file (bin\piabpe.cfg). |
3 | Run make-step-3.cmd to create the self-extracting zip files for deployment. By default, these are copied to your ..\piabws\deploy folder so they are accessible via the Resources pages on Enterprise Hub. |
The output files are copied to the piabws\deploy
folder so they can be downloaded from the hub Resources page.
File | Description |
---|---|
piabpe-client-runonce.exe | The client files are unpacked to the user's temp folder and deleted when the program has finished. The client config file piabpe.cfg is retained however in the user's profile, so that when the program is run again, the existing user options will be retained. |
piabpe-portable.exe | This is a self-extracting executable that installs a client suitable for running from a USB key or removable device. All the files. All the client folders (e.g. temp, Check-Out/In, reports etc.) and the client config file piabpe.cfg are kept local to the key itself. |
The installers use config text files that can be customised before carrying out Step 3 (above). The defaults supplied are:
config-runonce.txt
;!@Install@!UTF-8! Title="PROJECT in a box - Client" ;BeginPrompt="Do you want to run the PROJECT in a box Client?" RunProgram="\\piabpe-client\\bin\\piabpe.exe /config /l" ;!@InstallEnd@!