How to have multiple versions of K2BTools installed


There are many scenarios when developer needs to have more than one version of K2BTools installed in the same computer. That's because they have applications that are developed and maintained with different versions of GeneXus and K2BTools. Like GeneXus, with K2BTools installer, you can only have one instance of K2BTools for every major GeneXus version (Ex:XEv1, XEv2, XEv3, GX15) So if you want to have one version for K2BTools for XEv1, and another version of K2BTools for XEv3 you can install both using the installer. The problems is when you want to install two differents K2BTools version for the same GeneXus major version: Example: one version of K2BTools for GeneXus Ev3 U4 and another version for GeneXus Ev3 U7. 

Solution 1: Copy current GeneXus version.

If you are working with some version of K2BTools and want to install another version but keep the pervious version, you can copy the GeneXus version you are using into another folder (ex GeneXusEv3K2BTools8), then remove the previous K2BTools version using add and remove programs (the unsinstall program will not remove K2BTools from the copied folder), and then install the new K2BTools version. Then you will have two versions of GeneXus with different versions of K2BTools. 

Solution 2: Manual folder installation

What K2BTools does when installing via setup is to copy some folders and files into GeneXus directory. You can get this files by running the setup and set a custom target diretory (ex: C:\K2BToolsFiles). 

If you rename this folder the uninstallation program will not remove the K2BToolsFiles (ex:K2BToolsFiles80).

You can then install other K2BTools version and make the folders of all the K2bTools versions you need.

To install K2BTools into GeneXus you must copy the files under this directories to the GeneXus installation directory and then run in a command line GeneXus.exe /install.

What about the licenses?

With the newer K2BTools licenses you can use the previous version of K2BTools. For example if you have licenses of K2BTools 10, you can use K2BTools 8, K2BTools 7 and all previous versions. So in order to have multiple versions of K2BTools it is recomended to upgrade your license to the latest license version..