Babel Obfuscator
HomeDocumentationShop
  • Introduction
    • General Features
  • Getting Started
    • Install
    • Product Activation
  • Command Line
    • Command Line Reference
      • Miscellaneous
      • Input Files
      • Output Files
      • Plugins
      • Merge and Embed
      • Renaming
      • Control Flow Obfuscation
      • Encryption and Protection
      • Code Generation
  • MSBuild Task
    • Babel Task Reference
    • Customizing Intellisense
  • NuGet Package
    • NuGet Pakage Reference
  • User Interface
    • Obfuscation
    • Tools
    • Custom Themes
  • Obfuscation Rules
    • XML Rules
      • Example Rules
    • Custom Attributes
    • Obfuscation Agent
  • Merge and Embed
    • Assembly Merging
    • Assembly Embedding
  • Symbols Renaming
    • XML Map Files
    • Cross Assembly Renaming
    • XAML Renaming
    • Decoding Stack Traces
  • String Encryption
    • Custom String Encryption
  • Control Flow Obfuscation
  • Code Encryption
    • External Code Files
    • Password Protected Code
    • Dynamic Code
  • Dynamic Proxy
  • Resource Encryption
  • Value And Array Encryption
  • Tampering Detection
  • Anti Debugging
  • Enhancing Code Security
  • Optimizations
    • Dead Code Removal
    • Metadata Optimizations
    • Code Optimizations
  • Appendix
  • Examples
    • Examples
    • General Samples
      • ClickOnce Deploy
      • Detecting Babel Obfuscation
      • Obfuscate .NET MAUI
      • Blazor Web App
    • Code Encryption
      • Feature Based Licenses
    • Cross Assembly Renaming
      • Publish .NET App
    • Build Servers
      • GitHub Actions
      • Unit Tests
    • Babel Obfuscator NuGet
      • Android Application
  • Plugins
    • Babel Obfuscator Plugins
    • Encrypt Plugin
      • Getting Started
      • Source Code
Powered by GitBook
On this page
  • Windows MSI Installer
  • Troubleshooting Installer Errors
  • Babel NuGet Packages
  • Create a Local NuGet Feed Using dotnet
  • Create a Local NuGet Feed Using Visual Studio
  • Installing Babel CLI dotnet Tool
  • Update Babel CLI dotnet Tool
  • Uninstalling Babel CLI dotnet Tool

Was this helpful?

  1. Getting Started

Install

Babel Obfuscator is available on Windows as an MSI installer package and on Linux and Mac OS as a dotnet CLI tool

Last updated 3 months ago

Was this helpful?

Windows MSI Installer

To install Babel Obfuscator, launch the babel setup MSI installer. This package will guide you through the installation process.

Once the setup has completed the installation, you can access CLI babel from a PowerShell or DOS by entering in PowerShell or a DOS window:

> babel

Troubleshooting Installer Errors

If you have any issues installing the Babel Obfuscator setup, you can create an installation log to get more information about the issue.

The most used logging command is /L*V. This command will create a verbose log that offers much information about the installation. Here are the steps for creating a log:

  1. Find out the path of the Babel setup MSI file, for example, C:\Temp\babel_10.0.0.0.msi

  2. Decide the path of the log, for example, C:\Temp\installer.log

  3. Open a DOS shell cmd.exe or a PowerShell window

Install Log

To create an installation log, enter the command line:

msiexec /i "C:\Temp\babel_10.0.0.0.msi" /L*V "C:\log\installer.log"

Babel NuGet Packages

Upon purchasing the Babel Obfuscator Ultimate Edition or any Babel Licensing editions, you acquire several NuGet packages. These contain the Babel Obfuscator NuGet packages:

Package
Description
Edition

Babel.Obfuscator.x.y.z.nupkg

This package allows using Babel Obfuscator in any .NET project

Ultimate

Babel.Obfuscator.Tool.x.y.z.nupkg

Babel Obfuscator dotnet CLI tool

Ultimate

Babel.Licensing.Tool.x.y.z.nupkg

Babel Licensing dotnet CLI tool

Licensing

Babel.Licensing.x.y.z.nupkg

Babel Licensing client components

Licensing

These NuGet packages are not available on the public NuGet repository. To use them in your projects, you need to install them on your private NuGet feeds or your local machine.

There are several NuGet private feeds available:

If you don't have a private NuGet feed, you can create one on your local machine.

Create a Local NuGet Feed Using dotnet

If you have installed Visual Studio or dotnet SDK, you can access NuGet directly from the dotnet CLI tool. Now you have to decide where to store your packages on your local machine. For this example, we will create the folder NuGet under the user Documents folder. If you are on Linux or Mac OS, you can create the folder under the user home directory ~/NuGet.

You can add the packages to your local feed using dotnet nuget add command.

Windows PowerShell or DOS shell:

dotnet nuget add source %UserProfile%\Documents\NuGet

Linux or Mac OS:

dotnet nuget add source ~/NuGet

The dotnet tool should report that the package was successfully added, and you can now access your packages through the dotnet command.

Create a Local NuGet Feed Using Visual Studio

To install the NuGet package in your local machine, open Visual Studio and from the Tools menu select Options. In the Options panel, search for NuGet and select the Package Sources node under the NuGet Package Manager tree item.

Press the button with the plus icon and enter the Name field Babel and the Source field the full path to the folder containing the Babel Obfuscator NuGet package files. Press the OK button.

To reference Babel.Obfuscator NuGet package. In the Solution Explorer right click your project file. Select Manage NuGet Packages…

Select your newly added Babel package source in the Package source combo box, then Install the Babel.Obfuscator package.

Copy your license file babel.licenses in the solution folder and rebuild the solution.

Installing Babel CLI dotnet Tool

Once the Babel NuGet packages are in your local NuGet repository, you can install the CLI tools using dotnet tool install command.

Install Babel Obfuscator CLI tool babel:

dotnet tool install Babel.Obfuscator.Tool -g

Install Babel Licensing CLI tool lic:

dotnet tool install Babel.Licensing.Tool -g

To show the versions of the dotnet tool installed, use the following command:

dotnet tool list -g

Package Id                 Version      Commands
------------------------------------------------
babel.licensing.tool       10.0.0       lic     
babel.obfuscator.tool      10.0.0       babel   

Update Babel CLI dotnet Tool

To update Babel Obfuscator CLI tool babel, run in your terminal:

dotnet tool update Babel.Obfuscator.Tool -g

To update Babel Licensing CLI tool lic, run in your terminal:

dotnet tool update Babel.Licensing.Tool -g

Uninstalling Babel CLI dotnet Tool

To remove Babel Obfuscator CLI tool babel, run in your terminal:

dotnet tool uninstall Babel.Obfuscator.Tool -g

To remove Babel Licensing CLI tool lic, run in your terminal:

dotnet tool uninstall Babel.Licensing.Tool -g

The setup will also install the Babel Obfuscator which can be launched from the Windows Start menu.

Use the command line to launch the MSI with logging parameters

(Open Source)

(Open Source)

Regardless your packages are hosted on a server or your local machine, you can access them using the CLI tool or .

User Interface
msiexec.exe
Azure Artifacts
GitHub Package Registry
GitLab Package Registry
MyGet
TeamCity
Gitea
NuGet Server
nuget
Visual Studio
Babel Obfuscator Setup
Visual Studio Options Package Sources
Visual Studio NuGet package manager