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 include the Gurobi native-code library (gurobi90.dll for Windows, libgurobi90.dylib for macOS, or libgurobi90.so for Linux), 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).
- For Java programs, you also need to include the Gurobi JNI library (GurobiJni90.dll on Windows, libGurobiJni90.so on Linux, libGurobiJni90.jnilib on macOS). Again, you must ensure that your program can use it.
- For .NET programs, you also need to include the appropriate Gurobi .NET library depending on whether the application is .NET Standard 2.0 (gurobi90.netstandard20.dll) or .NET Framework (gurobi90.NET.dll). Again, you must ensure that your program can use it.
- You may need additional compression tools such as 7-Zip, gzip or bzip2 installed on the system if you want to read and/or write compressed files.