BimlFlex Installers
The BimlFlex Developer Installation and BimlStudio each come with two installers. The web installer is small and downloads the product packages during setup. The offline installer carries those packages inside one file for a machine that cannot download during setup. Both installers of a product install the same product and version through the same installer screens. Only the packaging differs. This page lists every installer by product and flavor, what each installer carries, what it downloads during setup and where it is downloaded from. It also describes unattended installs, the database backups of an upgrade, what Cancel does, the error screen and the exit codes of the installers. The installation steps are on the Installing BimlFlex page. The machine requirements are on the System Requirements page.
Which installer to choose
- Use the web installer on a machine that can download during setup.
- Use the offline installer on a machine that cannot download during setup. It needs no file beside it, carries the product packages and the .NET 10 and Visual C++ runtimes it installs, and downloads nothing on 64-bit Windows.
- As a third way, place the package files from the versioned download folder beside the web installer. The web installer then uses those files and downloads no product package.
With the web installer, a machine with no internet access needs the runtimes listed under Installing with no internet access installed first. With the BimlFlex offline installer it needs the Microsoft Edge WebView2 Runtime installed first, and with the BimlStudio offline installer nothing.
Both installers show a step list beside every screen and a progress line for each package the installer downloads.
In the file names below, <version> stands for the four-part version number of the release.
BimlFlex Developer Installation
| Installer | File | Size | What it carries | What it downloads during setup |
|---|---|---|---|---|
| Web | bimlflexdevsetup_x64_<version>.exe | about 22 MB | The SQL Server Integration Services component packages and the WebView2 bootstrapper | The BimlStudio, BimlFlex App and BimlFlex Operations Center packages, and any missing runtime from Microsoft |
| Offline | bimlflexdevsetupoffline_x64_<version>.exe | about 447 MB | The BimlStudio, BimlFlex App and BimlFlex Operations Center packages, beside the SQL Server Integration Services component packages, the .NET 10 Desktop Runtime, the .NET 10 Runtime, the ASP.NET Core 10 Runtime and both Visual C++ Redistributables | Nothing on 64-bit Windows. On 32-bit Windows, the 32-bit .NET 10 Desktop Runtime when it is missing |
The BimlFlex App package installs the BimlFlex MCP server in the Mcp folder of the BimlFlex application.
BimlStudio
| Installer | File | Size | What it carries | What it downloads during setup |
|---|---|---|---|---|
| Web | bimlstudiosetup_x64_<version>.exe | about 19 MB | No product package | The BimlStudio package, and any missing runtime from Microsoft |
| Offline | bimlstudiosetupoffline_x64_<version>.exe | about 182 MB | The BimlStudio package and the .NET 10 Desktop Runtime | Nothing |
BimlFlex Runtime Installation
The BimlFlex Runtime Installation installs the runtime components for servers that execute SQL Server Integration Services packages. It comes as one installer, bimlflexruntimesetup_x64_<version>.exe, of about 20 MB. This installer carries its packages and downloads no product package, so it has no offline installer. On 64-bit Windows it downloads the .NET 10 Desktop Runtime from Microsoft during setup when that runtime is missing or the newest version of it on the machine is older than 10.0.13, so on a machine with no internet access install the .NET 10 Desktop Runtime at 10.0.13 or later first.
32-bit flavors
BimlStudio and the BimlFlex Developer Installation also come in 32-bit flavors, each with the same web and offline pair of installers. The 32-bit BimlFlex Developer Installation comes without the AI features. The 32-bit web installers are about 22 MB for BimlFlex and 19 MB for BimlStudio, and the 32-bit offline installers about 399 MB and 229 MB, carrying both .NET 10 Desktop Runtimes and, for BimlFlex, both Visual C++ Redistributables.
| Product | Web installer | Offline installer |
|---|---|---|
| BimlStudio | bimlstudiosetup_x86_<version>.exe | bimlstudiosetupoffline_x86_<version>.exe |
| BimlFlex Developer Installation without the AI features | bimlflexdevsetup_x86_no_ai_<version>.exe | bimlflexdevsetupoffline_x86_no_ai_<version>.exe |
What the web installer downloads
The web installer downloads each product package during setup from the versioned download folder of its release, https://download.varigence.com/bimlflex/<major>.<minor>.<build>/.
| Package | File | Size | Installed by |
|---|---|---|---|
| BimlStudio | bimlstudiox64msi.msi | about 104 MB | BimlFlex and BimlStudio |
| BimlFlex App | bimlflexappx64msi.msi | about 151 MB | BimlFlex |
| BimlFlex Operations Center | bimlflexoperationscenterx64msi.msi | about 34 MB | BimlFlex |
The installer records the hash and the size of each package. It checks a downloaded or found package against both, so a package of another version is not installed.
With the installer, a BimlFlex install downloads about 312 MB in all and a BimlStudio install about 123 MB.
Installing with no internet access
There are two ways to install on a machine with no internet access:
- Run the offline installer. It carries the product packages and the .NET 10 and Visual C++ runtimes it installs inside the one file, so it needs no file beside it and no download. The BimlFlex offline installer needs the Microsoft Edge WebView2 Runtime on the machine already, which the BimlFlex web installer installs when it is missing.
- Place the package files from the same versioned download folder beside the web installer and run it. The BimlFlex web installer uses
bimlstudiox64msi.msi,bimlflexappx64msi.msiandbimlflexoperationscenterx64msi.msi. The BimlStudio web installer usesbimlstudiox64msi.msi. The installer uses those files in place of the download.
With the web installer, install these runtimes first:
- .NET 10 Desktop Runtime
- .NET 10 Runtime
- ASP.NET Core 10 Runtime
- Visual C++ Redistributable
- WebView2 Evergreen runtime
The web installer carries none of these runtimes and downloads a missing one from Microsoft during setup, which needs internet access. It also downloads a .NET 10 runtime it installs when the newest version of that runtime on the machine is older than 10.0.13, so install the .NET 10 runtimes at 10.0.13 or later. The offline installer carries the .NET 10 and Visual C++ runtimes it installs and leaves out the WebView2 runtime, which BimlFlex needs and BimlStudio does not.
Where the installers are downloaded from
The installers of the current release are available through the BimlFlex Release Notes and from the downloads page of the Varigence website.
Every release places every installer and package file in its versioned download folder under its lowercase file name. The two BimlStudio installers also have a fixed download address, which does not change with the version: https://download.varigence.com/bimlstudio/latest/bimlstudiosetup_x64.exe and https://download.varigence.com/bimlstudio/latest/bimlstudiosetupoffline_x64.exe for the stable release, and the same two file names under https://download.varigence.com/bimlstudio/preview/ for the preview release.
Every installer of a stable release also has a fixed download address at the root of https://download.varigence.com/. That address is the lowercase file name of the installer without the version, and it stays the same from release to release. For BimlStudio these are https://download.varigence.com/bimlstudiosetup_x64.exe for the web installer and https://download.varigence.com/bimlstudiosetupoffline_x64.exe for the offline installer. A preview release writes no file at the root, so the root addresses always serve the stable release.
BimlExpress
BimlExpress is an extension for Visual Studio Code. It installs from the Visual Studio Marketplace or Open VSX, as described on the Install BimlExpress page. The earlier BimlExpress add-in for Visual Studio installs from its own .vsix file. It is still offered as a download and is no longer developed.
Unattended installs
The BimlFlex and BimlStudio installers run with no window when they are started with the /quiet switch. A quiet run takes the features to install or remove from its command line.
| Option | What it does |
|---|---|
-InstallFeature:<id>,<id> | Installs the named features. |
-UninstallFeature:<id>,<id> | Removes the named features. |
Separate the feature ids with a comma or a semicolon. The installer matches the ids without regard to letter case. A parent feature id installs that product together with every feature under it that the installer makes available on the machine. The parent feature ids are BimlStudio, BimlFlexApp, BimlCatalogCC for the BimlFlex Operations Center, BimlFlexSsisComponents and SnowflakeDbSsisComponents.
This command installs the BimlFlex App with its features from the BimlFlex Developer Installation:
bimlflexdevsetup_x64_<version>.exe /quiet /norestart -InstallFeature:BimlFlexApp
This command installs BimlStudio with its features from the BimlStudio installer:
bimlstudiosetup_x64_<version>.exe /quiet /norestart -InstallFeature:BimlStudio
The installer writes a line to its log for each id it does not offer, with the list of feature ids it offers, and goes on with the features it does find. When none of the named ids matches a feature the installer offers, it changes nothing, logs the list of feature ids it offers and exits with code 1639.
A quiet install that names no feature applies the default selection of the installer. On a machine where none of BimlStudio, the BimlFlex App, the SSIS components and the BimlFlex Operations Center is installed, the BimlFlex Developer Installation installs the BimlFlex App and deploys no database. An installer that offers a single top-level feature installs that feature. When the installer has no single default feature, it installs nothing, logs the list of feature ids it offers and exits with code 1639.
A quiet run other than an uninstall, on a machine where a newer version of the product is already installed, exits with code 1638 before it plans anything. A quiet uninstall of this version runs to its end while a newer version is installed.
Database backups during an upgrade
Once a database is added on a database screen of the installer, the screen shows the check box Back up this database before the upgrade, which is checked by default, and a folder box below it that reads c:\BimlFlex_Database_Backups by default. The check box and the folder apply to every BimlFlex and BimlCatalog database the run deploys. Setup deploys the BimlCatalog databases first and the BimlFlex databases after them.
With the check box checked, setup asks the server whether each database exists before it deploys that database.
| What the server reports | What setup does |
|---|---|
| The database exists | Setup backs the database up to a dated file in the backup folder, then upgrades it. |
| The database does not exist, so this run creates it | Setup takes no backup, since there is nothing to back up, and creates the database. |
| The server cannot be asked | Setup takes no backup of that database, writes the reason to the log and goes on with the upgrade. |
The backup file is named <database>-<yyyy-MM-dd>.bak. When setup finds a file of that name in the folder, the next backup of the same day takes the name <database>-<yyyy-MM-dd>.2.bak, then .3.bak and so on. A backup runs as long as the database needs and has no time limit.
SQL Server writes the backup file, so the backup folder must exist on the SQL Server machine and the SQL Server must be able to write to it. Setup also checks the folder on the machine it runs on and creates it there when it is missing. When setup cannot create it, the database deployment stops with a reason that begins "Error while verifying database backup directory".
An Azure SQL database takes no backup command. To upgrade an Azure SQL database, clear the backup check box for that run.
When a backup cannot be taken, setup does not upgrade that database and deploys no database after it. The applications are already installed at that point. The error screen states that the applications installed successfully but the database deployment did not complete, and gives the reason. The reason names the database, the connection, the backup file and the error SQL Server reported, and repeats that the backup folder must exist on the SQL Server machine and be writable by the server and that an Azure SQL database takes no backup command. When the backup check box is checked with an empty folder box, the reason reads "No backup folder was entered. Enter a folder on the database step, or clear the backup option." To retry, fix the cause and run setup again with "Install or Upgrade BimlFlex Databases" selected, or, for the BimlCatalog databases, with the BimlCatalog logging database selected on its screen. The run exits with code 1603.
Cancelling setup
Cancel opens a screen headed "Do you want to cancel the setup". No returns to where setup left off. Yes cancels, and what it does depends on the stage the setup is in.
| Stage | What Yes does | Where setup ends | Exit code |
|---|---|---|---|
| Before Install | Setup stops before it installs anything. | The installer closes. | 1602 |
| While a package downloads | The download stops and setup removes what it copied so far. | The installer closes by itself. | 1602 |
| While the packages install | Setup stops at its next step and removes what it copied so far. | The installer closes by itself. | 1602 |
| While the databases deploy | Setup finishes the database that is deploying and starts no other. | The screen headed "Setup was cancelled". | 1602 |
| While the last selected database deploys | Nothing is left to stop, so setup completes. | The finish screen. | 0 |
| During an uninstall | Setup stops at its next step and puts back what it removed so far, so the machine stays as it was. | The installer closes by itself. | 1602 |
While the cancel screen is open during a download, the download goes on, so nothing is lost when you choose No. While the packages install, the installation waits for your answer.
Before the databases deploy, the cancel screen says that the product is not installed yet and that setup removes what it has copied so far and leaves the machine as it was. While the databases deploy, it says that the applications are installed and that setup finishes the database that is deploying and starts no other. During an uninstall, it says that setup leaves the machine as it was.
After Yes at a stage where setup has work to finish, the heading reads "Cancelling the setup", the screen says what setup is finishing first, and the No and Yes buttons are hidden. Setup then moves on by itself.
A cancel during the database deployment ends on a screen headed "Setup was cancelled", which reads "Setup stopped where you cancelled it. The details below say what is in place and how to finish later." The details say that the applications are installed, that the database that was deploying when you cancelled finished and that the databases after it were not started. When the cancel takes effect before the first database starts, the details say that no database was deployed. To deploy those databases, run setup again with "Install or Upgrade BimlFlex Databases" selected, or, for the BimlCatalog databases, with the BimlCatalog logging database selected on its screen.
While setup downloads or installs the product packages, removes them or deploys the databases, closing the installer with Alt+F4 or from the taskbar opens a screen that asks "An install is in progress. End it anyway?" and the installer stays open. Keep Installing returns to the screen you were on. End Install closes the installer.
The error screen
When setup cannot go on, the installer shows its error screen, headed "The installation did not complete". The line under the heading says when setup stopped.
| When setup stopped | Line under the heading |
|---|---|
| Before the installation began | "Setup stopped before it began installing BimlFlex. The details below say why." The BimlStudio installer names BimlStudio. |
| While installing | "Setup stopped while installing BimlFlex. The details below say why." The BimlStudio installer names BimlStudio. |
| During an uninstall | "Setup stopped before it completed. The details below say why." |
A box below gives the reason. Copy the error copies the reason to the clipboard. The screen ends with "Fix the cause and run setup again." and "The log files are in your %TEMP% folder. The newest files there belong to this setup." Close closes the installer. If the error screen opens while setup is still rolling back its changes after an error, the line "Setup is rolling back its changes. You can close this window when it finishes." shows under the reason and Close is unavailable until the rollback ends.
The error screen at startup
When one of these failures happens while the installer starts, the installer opens on the error screen with the reason.
| Cause | Reason on the screen | Exit code after Close |
|---|---|---|
| Setup cannot detect what is installed on the machine. | "Detecting what is installed on this machine failed. Status Code: <status>" | 1603 |
| A newer version of the product is already installed. | "A newer version is already installed. To install this version, first remove the newer version from Apps & features." | 1638 |
| The setup engine reports an error before the installation begins. | The error the setup engine reports. | 1603 |
An uninstall of this version is not refused when a newer version is installed, and runs to its end.
Installer exit codes
The BimlFlex and BimlStudio installers exit with these codes. A script that runs an installer can read the code to tell a completed run, a cancel and a failure apart.
| Code | Meaning | What to do |
|---|---|---|
| 0 | Setup completed. | Nothing. |
| 1602 | Setup was cancelled. This is the Windows Installer code for a user cancel. Closing the installer window before Install with no error on the screen also exits with this code. | Run setup again when you are ready. After a cancel during the database deployment, follow the steps on the "Setup was cancelled" screen to deploy the remaining databases. |
| 1603 | Setup failed. This is the Windows Installer code for a failed installation. Setup could not detect what is installed, the setup engine reported an error, planning or installing a package failed, or a database deployment or its backup did not complete. | Read the reason on the error screen or in the setup log, fix the cause and run setup again. |
| 1638 | A newer version of the product is already installed. This is the Windows Installer code for another version of the product being installed. | Remove the newer version from Apps & features before you install this version, or keep the newer version. |
| 1639 | The command line of a quiet run cannot be used. For example, it names no feature the installer offers, or it names no feature and the installer has no single default feature. This is the Windows Installer code for an invalid command line. | Read the list of feature ids in the log and name the features with -InstallFeature:<id>,<id>. |
| Any other code | A quiet run exits with the status code of the setup engine when setup cannot detect what is installed or cannot plan the installation. | Read the status code in the log, fix the cause and run setup again. |