CodeSnip Code Snippets Repository

   
Release: 3.6.3
Date: 22 July 2010
O/S: Windows 95, Windows 98, Windows Me, Windows NT 3.1, Windows NT 4, Windows 2000, Windows XP, Windows 2003 Server, Windows Vista, Windows 2008 Server, Windows 7, Windows 2008 Server R2

Installation, Registration and Removal

Installation

CodeSnip is provided in a zip file that contains an install program, CodeSnip-Setup-3.x.x.exe (where x.x is the program's minor version number). The zip file also contains a read-me file.

CodeSnip requires Windows 2000 or later. It cannot be installed on Windows 95, 98, Me, NT3.51 or NT4. It also requires MS Internet Explorer V6 or later, but IE 7 or 8 are recommended.
You will need administrator privileges to run the setup program. 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 Windows 7 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.

To install CodeSnip close any running instance of the program then extract the setup program from the zip file and run it. Following 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 (\Progam Files\DelphiDabbler\CodeSnip by default).
  • Files required by the uninstaller are stored in the main installation's Uninst sub-folder.
  • The program's uninstall information is registered with the Add / Remove Programs control panel applet (AKA Programs and Features on some OSs).
  • An optional program group may be created in the start menu.
  • A CodeSnip folder is created inside the DelphiDabbler sub-folder of the common application data folder. A configuration file is stored in the folder. Once the database is downloaded, it will be stored in a Data subfolder.
  • Another CodeSnip folder is created in the DelphiDabbler sub-folder of the user's application data folder. This is used to hold a file that stores per-user configuration data. A UserData.3 sub folder is used to store any user defined snippets.

Setup offers to copy any relevant files from installations earlier than v3.0 into the correct locations.

The CodeSnip database is not included in the download. Upgrading users can continue to use any database they already have installed. The installer will display a message if there is no database installed. In this case you need to run CodeSnip, connect to the internet then select the Database | Update From Web menu option and follow the instructions in the resulting dialog box. One copy of the database is shared amongst all users. Updating the database does not affect any user defined snippets.

When CodeSnip is first installed it knows nothing about any Delphi and Free Pascal compilers that may be installed on the computer. Therefore CodeSnip will not be able to perform test compilations "out of the box". Tell CodeSnip about the available compilers by using the Tools | Configure Compilers menu and entering the necessary information in the resulting dialog box. CodeSnip can automatically detect all installed versions of Win32 Delphi from v2 to 2010. If you have Free Pascal you must provide the path to the compiler manually. Each user must configure compilers separately.

Known Installation Issues

  1. Users of v1.0.3 or earlier will loose any source code formatting preferences when upgrading to the latest version. If you experience this problem you need to reset your preferences via the Tools | Preferences menu option.
  2. Syntax highlighting preferences will be lost when upgrading from any v1.x or v2.x release and the new v3 default highlighting style will be used. This can be changed from the Syntax Highlighter tab of the Preferences dialog box, accessed from the Tools | Preferences menu option.
  3. Users who have configured CodeSnip to access the internet via a proxy server will loose any stored passwords required by the proxy server when updgrading to v3.6.1. The installer will warn of this. Passwords have to be re-entered using the Tools | Proxy Server menu option.

Registration

Registration of CodeSnip is not required, but the author would be grateful if you do register the program, just so he knows it is being used.

To register click the Tools | Register CodeSnip menu item, or click a button in the About Box, and follow the wizard.

Only one user needs to register. Once this is done the program will show as registered regardless of which user is logged on.

Removal

Open the Add / Remove Programs applet from the Control Panel (Programs and Features on some OSs), navigate to the DelphiDabbler CodeSnip entry and click the Remove button. You will be asked to confirm removal of the program. Click Yes to proceed.

Administrator privileges will be required to uninstall CodeSnip. Windows Vista and Windows 7 with UAC prompts enabled will prompt for an admin password if necessary.

The install program will also remove the database and the application wide configuration file. The per-user configuration files and user defined snippets are not removed.

Demo Program

The demo program, which must be downloaed separately, is provided in a zip file that contains an Install directory that in turn contains a setup program.

To install the demo extract the setup program from the zip file and run it, following the on-screen instructions.

Uninstallation is performed from the Add / Remove Programs applet (or Programs and Features on some OSs) from the Control Panel, clicking Yes at the prompt.

Once again you need administrator privileges run the setup program or uninstaller.