CodeSnip Code Snippets Repository
|Date:||22 September 2016|
|O/S:||Windows 2000 and later|
Installation, Registration and Removal
These notes apply to the current release of CodeSnip 4 only. There are different instructions for the different editions:
You will need administrator privileges to run the setup program for the standard edition. If you are using a non-admin user account on Windows 2000 or XP you should run setup as administrator. By default Windows Vista and later will require an admin password if running as a standard user and setup will attempt to elevate the process. If UAC prompts are disabled you must run setup as administrator.
CodeSnip v4 will install alongside any v3 or earlier release that may already be installed. If you want to replace the earlier version simply uninstall it in the usual way. Uninstalling v3 or earlier after installing v4 will have no adverse affect on v4.
CodeSnip's installation program is named
x.x is the program's
minor version number. The install program may be distributed in a zip file.
Close any running instance of CodeSnip, run the install program then follow the on-screen instructions.
The installer makes the following changes to your system:
The main program's executable file and documentation are installed into the
chosen install folder (
Files required by the uninstaller are stored in the main installation's
- The program's uninstall information is registered with the Programs and Features (a.k.a. Add / Remove Programs) control panel applet.
- A program group may be created in the start menu (optional).
%ProgramData%\DelphiDabbler\CodeSnip.4folder is created. A configuration file is stored in the folder. If the online database is downloaded, it will be stored in a
Databasesub-folder, unless you have changed the database location (see below).
%AppData%\DelphiDabbler\CodeSnip.4folder is also created. This is used to hold a file that stores per-user configuration data and, sometimes, another file that records any favourite snippets. A
UserDatabasesub-folder is used to store any user defined snippets. These folders are created when CodeSnip is first run.Users can move the user defined snippets data from the
UserDatabasesub-folder to another location, in which case
UserDatabasewill not be present. You might want to do this to place the snippets data in a folder that will be backed up, e.g. a Dropbox or GoogleDrive sub-directory.
If you are updating to CodeSnip 4 from version 3 or earlier, CodeSnip will give you the option of bringing forward your old settings and / or user defined database. This happens the first time v4 is run for each user.
CodeSnip can be uninstalled via Programs and Features (a.k.a. Add/Remove Programs) from the Windows Control Panel or by choosing Uninstall DelphiDabbler CodeSnip from the program's start menu group.
Administrator privileges will be required to uninstall CodeSnip. Windows Vista and later with UAC prompts enabled will prompt for an admin password if necessary.
The uninstall program will delete any local copy of the online Code Snippets
Database but will leave any user defined database, configuration data and
favourites intact. To remove user defined databases and configuration data,
%AppData%\DelphiDabbler\CodeSnip.4 directory and all
its contents for each user who ran CodeSnip. If any user has moved
the user database directory those directories also need to be deleted
The portable edition of CodeSnip 4 is distributed in a zip file that contains the program executable, the help file and various documentation files.
Install the program using the following steps:
- Mount the storage medium on which you want to install CodeSnip.
- Create a folder on the storage medium in which to "install" CodeSnip.
Copy the files
CodeSnip-p.exe(the executable program) and
CodeSnip.chm(the help file) into the folder you created.CodeSnip does not need the other files included in the zip file in order to run, but you may find them useful. Copy them if you wish.
Run the program by double clicking it. When it first runs it will created two
sub-directories within the folder where you installed the program. These will
UserData. Do not remove these
directories or alter any of the contents. CodeSnip uses them to store
configuration data along with your code snippets.
No files are written to the host computer and the registry is not modified.
Simply delete the folder where you installed CodeSnip and all its contents.
Be aware that any snippets you have created will be lost. If you want to keep them for use in another CodeSnip installation either export them or back up the user database before deleting the folder. See the help file for details of how to do this.