BxEngine can be installed multiple times on the same server to support running different versions for different customers.
BxEngine: Installing Multiple Services on the Same Server
Note: Be cautious when performing this installation to avoid errors with database/service names, etc.
💡 Tip: Consider using the first BxEngine installation as a "main installation", e.g., for your own test/demo setup. This can be updated to the latest version before installing services for new customers without affecting existing ones. New customers will then always start with the latest version. Use the C:\Program Files (x86)\BxSoftware\BxEngine folder as a template for new services. See Step 3 below for details. Contact support@bxsoftware.no for access to a demo license if you haven't received one before.
Contents
1. Installation of service
Step 1: Create a New SQL Database
- Name the database following this format:
BxEngine_firmacode_customername (or your preferred naming convention). - As a minimum, include the firmacode in the name to distinguish between services and licenses in the partner portal.
Step 2: Create a New SQL User
- Name the user similarly:
bxengine_firmacode_customername - The user must have the following permissions:
- db_owner and dbo in the default schema
- db_datareader on the ERP database
- The default schema on the ERP database must also contain dbo
- (For Visma Global, the schema should be the company database name.
- Example: If the database is
CustomerASGLOBALData
, the schema should beCustomerAS
)
- Example: If the database is
Step 3: Duplicate the BxEngine Folder:
- Make a copy of:
C:\Program Files (x86)\BxSoftware\BxEngine
- Rename the new folder, e.g.,
BxEngineFirmacodeCustomername
Step 4: Configure the New Installation
- Inside the new folder, locate the
_Config
folder. - Rename it to
Config
(Important: Do not change this in the original template folder).
Step 5: Register the New Service
-
Open Command Prompt (cmd) and navigate to the new folder:
cd C:\Program Files (x86)\BxSoftware\BxEngineFirmacodeCustomername
(If it's on another drive, use
cd /d D:\
first.) -
Run the following command:
bxinstall -i -s "BxEngineFirmacodeCustomername" -n "BxEngineFirmacodeCustomername" -d "BxEngine service for firmacode customername"
(Replace
firmacode
andcustomername
with the actual values.) -
Press Enter to execute.
-
Click Yes when prompted to run
BxInstall.exe
. -
Press Enter when
BxInstall
confirms execution.
Step 6: Start and Configure the New Service
- Open
Services.msc
to verify the new service appears in the list. - Run
BxEngine.Monitor.exe
from:C:\Program Files (x86)\BxSoftware\BxEngineFirmacodeCustomername
- Enter the following details in the setup box:
- License key
- SQL Server\Instance
- BxEngine Database
- User/Password
- Click Confirm → Yes (on the setup script prompt) → OK (on the next two dialogs).
🎉 Congrats! You’ve installed another BxEngine service on the same server!
Step 7: Final Adjustments
- Open
BxEngine.ini
in Notepad from:C:\ProgramFiles(x86)\BxSoftware\BxEngineFirmacodeCustomername\Config
- Locate:
LocalPort = "0"
- Change it to:
LocalPort = "-1"
- Save and restart the service to avoid port conflicts.
2. Uninstalling a BxEngine Service
⚠ Note!
Do not uninstall BxEngine using the standard method (this removes the main installation). We will introduce better uninstallation routines later, but for now, follow these steps!
Step 1: Disable and Delete the Service
- Stop and disable the service from
Services.msc
. - Delete the service's installation folder, e.g.,
C:\Program Files (x86)\BxSoftware\BxEngineFirmacodeCustomername
Step 2: Remove Registry Entry
- Open Registry Editor (
regedit.exe
) - Navigate to:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
- Find the service:
BxEngineFirmakodeCustomername - Right click → Delete
- Click Yes when prompted.
Step 3: Restart the Server (If Necessary)
If the service still appears in Services.msc
, log out and back in, or restart the service at a convenient time.
Your BxEngine service is now completely removed.