=Installing Liberty BASIC on Vista and Windows 7= [[toc]] [[user:StPendl|1189119611]] ==Liberty BASIC v4.03 and lower== # Install Liberty BASIC to a root folder like **C:\Basic\Liberty BASIC 4.03** > instead of //C:\Program Files\Liberty BASIC 4.03// # Install [[@http://support.microsoft.com/?scid=kb%3Ben-us%3B917607&x=16&y=13|WinHelp32 for Vista, Windows 7 and Server 2008]] to make the help file work # At the first run use **Run as Administrator** once, to be able to enter the registration key # 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:__ * [[@http://www.microsoft.com/downloads/details.aspx?FamilyId=6EBCFAD9-D3F5-4365-8070-334CD175D4BB&displaylang=en|WinHelp32 for Vista]] * [[@http://www.microsoft.com/downloads/details.aspx?FamilyID=258aa5ec-e3d9-4228-8844-008e02b32a2c&displaylang=en|WinHelp32 for Windows 7]] 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. ==Liberty BASIC v4.04 and higher== # Install Liberty BASIC into the default folder //C:\Program Files\Liberty BASIC 4.04// # The help is converted into HTML files, so there is only a need for a browser to view it # At the first run use **Run as Administrator** once, to be able to enter the registration key # On Vista and higher, the examples will be placed into //C:\Users\{User Name}\AppData\Roaming\Liberty BASIC v4.04//, > this is where the BAK folder and the error.log reside too. > This folder can be accessed by entering **%APPDATA%** into the address box of an explorer window. ==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 [[@http://en.wikipedia.org/wiki/Data_Execution_Prevention|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 programming, any programming, not simply Liberty BASIC programming. 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: # click on **Start** and then **Help and Support** # hit [Windows]+[F1] # 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.