Navigation:  PBShell >

More on Program Installation

Previous pageReturn to chapter overviewNext page

 

Program installation consists of extracting the contents of the PBSHELLZIP file to a convenient location on your hard disk.

 

A subdirectory of your compiler directory is suggested. For example, if your compiler directory is "C:\Program Files\PB9", create the subdirectory "C:\Program Files\PB9\PBShell" and copy the files into that.

 

If you are working with a single version of PB/Win or a single version of PB/CC, the program can be installed anywhere you like. If you are working with a single compiler, PBShell will determine the path to the compiler through the registry, and indirectly through that to the PB IDE and include files, if the compiler has been correctly installed.

 

If you are working with both the PB/Win and PB/CC compilers, the same applies, but in this case your source code header must provide some clue as to the compiler required though a #CONSOLE, #COMPILE or #COMPILER directive (note: PBShell examines the header section of the primary source code only, the metastatements, not the whole source file).

 

If you are working with both PB/Win8 and PB/Win9, or both PB/CC4 and PB/CC5, you can still use PBShell from a single location, and from a single set of tools in UltraEdit, if you include the #COMPILER directive in your primary source file to tell PBShell which compiler to use.

 

If you are working with two different earlier versions of the same compiler (say PB/Win 7 and PB/Win 8), you will have to install multiple copies of PBSHELL.EXE to the compiler directories and set up separate tools in UltraEdit for the different versions. That is because the #COMPILER directive, which can specify a version, was only introduced with PB/CC 4 and PB/Win 8. If PBShell finds two or more versions of a compiler and is unable to determine which one is required, it will check if one of them is in the same directory as itself and use that if found.