PasHi Pascal Highlighter
|Date:||22 September 2016|
|O/S:||All Windows versions|
Installation and Removal
PasHi requires Windows 2000 or later to run. You need to have administrative privileges to install it. Elevation may be required to install on Windows Vista and later.
If you have PasHi (a.k.a PasH) v1.x or earlier you need to remove it before installing this version. These early versions of the program have no setup program, so you must uninstall manually. Simply find the program and delete the executable file along with any support files you installed. If you included the v1.x install directory on the system path you should remove it. If you used PasHGUI v0.1.0 beta you also need to remove that program manually.
PasHi is provided in a zip file that contains a setup program named
PasHi-Setup-2.0.0.exe. The zip file also contains the program's license and read-me file.
Extract the setup program from the zip file and run it, following the on-screen instructions.
You will need to accept the license before proceeding with the installation. The license is permissive and lets you copy and share PasHi freely.
After agreeing to the license you then choose the installation directory followed by the name of the start menu program group. After that you have three options, all of which are selected by default:
1. Add PasHi's directory to the system path for all users:
This lets you run PasHi simply by typing its name on the command line, without specifying the path to the program. The installer modifies the system
PATH environment variable. This option is recommended for everyone.
Please note that any open command shell windows will need to be closed and re-opened before the updated path will be recognised.
2. Install sample style sheets and config file templates:
This option installs various CSS style sheets and config file templates. The files take up very little disk space so this option is recommended unless you are sure you will never need them.
See the program's user guide for details of how to create a config file for PasHi from the provided template files.
The files will appear in your
%AppData%\DelphiDabbler\PasHi directory immediately after you first run PasHi.
3. Install GUI front end program, PasHiGUI:
This installs the PasHiGUI program alongside PasHi. This program is worth installing if you prefer to use PasHi from a GUI rather than mastering the command line. Most, but not all, of PasHi's options are available from PasHiGUI.
Once you have made your choices you can review them. You can go back to make changes or commit to installing. Once installation is complete then the last page is displayed. It gives an option to display the ReadMe file. If you have installed PasHiGUI you are also given the option to run it.
The installer makes the following changes to your system:
- The main program's executable files and documentation are installed into the chosen install folder (
%ProgramFiles(x86)%\DelphiDabbler\PasHiby default on 32 bit and 64 bit Windows respectively). If you chose to install it, PasHiGUI will also be placed in the same directory.
- Files required by the uninstaller are stored in the main installation's
- The program's uninstall information is registered with the Programs and Features (aka Add / Remove Programs) control panel applet, which in turn updates the system registry.
- The system path will have been modified for all users if you chose the relevant option.
- A program group will be created in the start menu.
- Sample CSS and config files are copied to
%ProgramData%\DelphiDabbler\PasHiif you chose to install them. The first time that PasHi is run by each user, these files are also copied to that users's
Open the Programs and Features (aka Add / Remove Programs) applet from the Control Panel, navigate to the DelphiDabbler PasHi entry and click the Remove or Uninstall button. You will be asked to confirm removal of the program. Click Yes to proceed.
PasHi, PasHiGUI (if installed) and all documentation will be removed.
%ProgramData%\DelphiDabbler\PasHi will be removed but each user's
%AppData%\DelphiDabbler\PasHi directory and all its files will be left behind.
PasHi's install directory will be removed from the system path if present.
Installation information should be removed from the registry by the uninstaller.