To create a custom installer, you need to include the runtime libraries used by your application. The exact configuration depends on the API:
- Any program that uses Gurobi needs to have the Gurobi native-code library (gurobi81.dll for Windows or, libgurobi81.so for Linux and macOS), and the program must be able to find the library when it runs. You can either place the file in the same directory as your program, or you can set the appropriate environment variable so that your program can find it (PATH on Windows, LD_LIBRARY_PATH on Linux, DYLD_LIBRARY_PATH on macOS).
- Each computer will need a Gurobi license file. You can either place it in one of the default directories where Gurobi looks for a license file, or you can set the GRB_LICENSE_FILE environment variable to point to the file.
- For Java programs, you also need to install the Gurobi JNI library (GurobiJni81.dll on Windows, libGurobiJni81.so on Linux, libGurobiJni81.jnilib on macOS). Again, you must ensure that your program can find it.
- For .NET programs, you also need to install the Gurobi .NET library (Gurobi81.NET.dll). Again, you must ensure that your program can find it.