Windows - Installation

Prev Next

Introduction

To start the installation, click on "setup.exe" which is a console-driven installation program.

  • You will be asked whether you want to let the software do changes on the system. Click on Yes

The follwoing contents will appear:

B4P - Installation Program
_______________________________________________________________________________

Version 8.00 Candidate (2020-11-04)
Copyright (C) 2012..2020 Georg zur Bonsen, all rights reserved.

Info: Enhanced access privileges activated for this B4P script.


B4P installation program is starting ...

1 >> Check the B4P privileges to run installation program ...


2 >> Installation program - Main Menu ...

     M :  Do Machine installation for all users
     U :  Do User installation (your user name only)
     D :  De-install B4P
     I :  Do Identification for acquiring a license
     E :  Exit installer without actions
Please select:

Choice 'M' makes the installation visible for all users and puts the executable file into a subdirectory of C:\Program Files\B4P. However, Choice 'U' puts the file into a directory owned by you only and will not be visible by other users sharing the same machine. If no specific issues apply, choice 'M' is strongly recommended.

The output shown below has been shortened in this documentation. The installer will list all working steps and files processed.


2 >> Installation program - Main Menu ...

     M :  Do Machine installation for all users
     U :  Do User installation (your user name only)
     D :  De-install B4P
     I :  Do Identification for acquiring a license
     E :  Exit installer without actions
Please select: M

3 >> Check that all required files are available for installation ...
...
4.1 >> Remove legacy files ...
...
4.2 >> Identify locations for the program files ...
...
5 >> Deleting B4P program and application data subdirectories (if existing) ...
...
6 >> Windows - Identify desktop and start menu locations ...
...
7 >> Windows - Delete old contents in desktop and start menu locations ...
...
8 >> Windows - Delete old registry settings (e.g. assignment of file extension) ...
...
9 >> Create new folders for B4P program ...
...
10 >> Copy all files to destination directory 'C:\Program Files\B4P ...
...

Select Country and Language Settings

The B4P installaion program asks for both language and country. This combination is a locale information which rules things like number and date format, currency symbols, month and weekday names in the specified language, etc.

In order to avoid any trouble with your Microsoft Excel installation, I advise you to use the same country and language settings as configured for Excel so the CSV file format is compatible and not simply a choice you do personally favor. Depending on the settings, the CSV files may either use commas or semicolons as separators (In excel, take a look at a formula containing a function with 2 or more parameters and check how the parameters are separated), and numbers may either make use of decimal points or commas.

11 >> Restore user and locale settings (if available) ...

    User settings file: skipped.

    No locale settings have been defined yet.

    Step 1 - Choose language:
     A :  none
     B :  English
     C :  Hindi
     D :  German
     E :  French
     F :  Italian
     G :  Spanish
     H :  Swedish
Please select: D

    Step 2 - Choose country:
     A :  Germany
     B :  Switzerland
     C :  Austria
     D :  Italy
Please select: B
    Locale chosen: de_CH
    Done setting locale.

Add Shortcut on the Windows Desktop

If you reply positively, then two icons will be added to your desktop: The B4P interpreter, and the link to the B4P online documentation.

12 >> Adding B4P shortcut on the desktop ...


    Do you want to create a shortcut on the desktop (N,Y)?
    Create shortcut on the desktop

13 >> Adding B4P shortcut in the main menu ...
...
14.1 >> Windows - Assign file type '.b4p' to B4P (start) and Editor (edit) and to an icon ...
...
14.2 >> Windows - Include B4P in path environment variable.
...

Activating B4P with License File or in Demo Mode

If you do not have a license file and you plan to use B4P for demonstration, evaluation and/or educational purposes, then press [Enter] to continue. Otherwise, specify the full path an file name of the license file you have received in order to deactivate all restrictions.

Hint: Instead of typing the full path and file name: if you see the license file in an explorer file, copy the path from the address bar, paste it into the line, and then copy the file name (not the whole file) and paste it here, with a directory separator inbetween. B4P will verify if the file is available and the license code is valid. If not, the query will be repeated.


15 >> Program Licensing ...


License activation ...

    Specify the license file (typically called 'B4P Licsense File.json'), or
    press [Enter] to skip this and run B4P in demo mode with some restrictions.
    Enter path + file name or press [Enter] to skip
    -->
    Nothing entered.  B4P will be activated in demo mode.

>>  Congratulations! Installation has been completed.

Option - Create a personal folder

This is a nice feature especially for beginners. Highly recommended. A directory called C:\Users\Your user name\Documents\Programs\B4P will be created and contains the following files:

  • hello world.b4p
  • interacctive b4p
  • main.b4p
  • start B4P here.b4p

In case the folder is already existing, then only the missing files will be overwritten. This is the case if you redo the installation.

    Do you want to create a personal B4P program folder ?  Y
    Creating directory: C:\Users\Zur Bonsen Georg\Documents\Programs\B4P
    If directory or files already exist, then existing files will not be overwritten.

    Done creating this directory.
    When you start B4P from start menu or desktop without file specified, the 'Main.b4p'
    in this directory will be started.


    Highly advisable to restart your machine so all configuration settings for this installation are in effect.


Done - Press ENTER key

Concluding the Installation

Press [Enter] to close the console window. Now you are ready to start working with B4P.

Continue with Starting B4P on Windows.