Installing Liberty BASIC on Vista and Windows 7


Vista and Win7 protect the Program Files directory so it can be difficult to write files and programs there. On these OS the .bas programs and data should be written elsewhere. Follow these recommendations for trouble free installation.

Liberty BASIC v4.03 and below


  1. Install Liberty BASIC to a root folder like C:\Basic\Liberty BASIC 4.03
    instead of C:\Program Files\Liberty BASIC 4.03
  2. Install WinHelp32 for Vista, Windows 7 and Server 2008 to make the help file work
  3. At the first run use Run as Administrator once, to be able to enter the registration key
  4. If you encounter problems with graphics, disable Aero
    (This is no more a problem, if you have the latest Windows updates and service pack installed!)

  • Direct Download Links:

Users of 64-bit Windows need to install the x64 edition, whereas users of 32-bit Windows need the x86 edition of the help file viewer.

The download page includes the genuine Windows verification, so it is best to access the site with Internet Explorer.

Liberty BASIC v4.04 and above


  1. Install Liberty BASIC into the default folder C:\Program Files\Liberty BASIC 4.04 (C:\Program Files (x86)\Liberty BASIC 4.04 on 64-bit Windows)
  2. The help is converted into HTML files, so there is only a need for a browser to view it
  3. At the first run use Run as Administrator once, to be able to enter the registration key
  4. On Vista and higher, the examples will be placed into a user writable area,
    which is where the BAK folder and the error.log reside too.
    This folder can be accessed using the approach described in the article Accessing the Samples on Vista and above
    and Accessing the Source Code Backups on Vista and above.

Data Execution Prevention


If on your first run Liberty BASIC fails with "a non-continuable protection violation has occurred. Check ERROR.LOG file." you need to check your DEP settings.

The Windows default setting for DEP is "on for essential Windows programs and services only". If your system has a more restrictive setting for DEP, your PC will be of limited use for older programs that are not DEP-aware.
DEP might be on in a corporate environment, where computer systems staff don't wish the PC altered in any way.
In a home or office environment it is not required.

It is recommended you turn DEP on for essential Windows programs and services only, adding Liberty BASIC to the exception list is not sufficient.

To open the Windows help, which describes how to achieve this, use one of the following procedures:
  1. click on Start and then Help and Support
  2. hit [Windows]+[F1]
  3. hit [Ctrl]+[ESC]+[F1], if there is no [Windows] key available

When the help window opens enter DEP or data execution into the search box and click on the magnifying glass search button.
There will be an option that says "Change Data Execution Prevention settings".
Click on that and follow the instructions.