{"sections":[{"heading":"Daemon executable","paragraphs":["Set SMLICENSED_PATH to the full path ending in smlicensed.exe on Windows or smlicensed on Linux/macOS. A directory path or a path to sm_license.txt will not identify the executable. Restart the client after changing its environment.","Studio also checks SMLICENSED_EXE before SMLICENSED_PATH. Clear an unintended Studio-only override when Core and Studio appear to use different daemons."]},{"heading":"InductEx licence file","paragraphs":["In Studio's General preferences, set LicenseFileName to the absolute path of the intended licence file. Core reads the corresponding setting from .sunmagnetics/ixcfg.ini in the user's home directory. Keep a different product's licence file and configure a separate file rather than overwriting it."]},{"code":"josim-pro-cli -l /absolute/path/to/sm_license.txt","heading":"JoSIM-Pro licence file","paragraphs":["The maintained manual documents the command below to save the licence path once. Run it by itself, then restart the GUI. Adding -v exits for version display before saving the path."]},{"heading":"Verify","paragraphs":["Check the reported running daemon version, retry the product licence check and run a small supplied example only after authorisation succeeds. A path being syntactically valid does not prove the file is readable or grants this product."]}],"canonical_url":"https://www.sun-magnetics.com/knowledge-base/shared-custom-licence-paths","url":"/knowledge-base/shared-custom-licence-paths","known_issues":[],"search_record":{"execution":false,"relatedProducts":[],"version_tags":["Shared licensing"],"text":"Set a custom daemon or licence-file path The daemon setting identifies an executable; the licence setting identifies a file. Keep these paths separate and use absolute paths. Shared licensing InductEx 8 / JoSIM-Pro 2.9.0 source Troubleshooting where set licence path licence location SMLICENSED_PATH Daemon executable Set SMLICENSED_PATH to the full path ending in smlicensed.exe on Windows or smlicensed on Linux/macOS. A directory path or a path to sm_license.txt will not identify the executable. Restart the client after changing its environment. Studio also checks SMLICENSED_EXE before SMLICENSED_PATH. Clear an unintended Studio-only override when Core and Studio appear to use different daemons.  InductEx licence file In Studio's General preferences, set LicenseFileName to the absolute path of the intended licence file. Core reads the corresponding setting from .sunmagnetics/ixcfg.ini in the user's home directory. Keep a different product's licence file and configure a separate file rather than overwriting it.  JoSIM-Pro licence file The maintained manual documents the command below to save the licence path once. Run it by itself, then restart the GUI. Adding -v exits for version display before saving the path. josim-pro-cli -l /absolute/path/to/sm_license.txt Verify Check the reported running daemon version, retry the product licence check and run a small supplied example only after authorisation succeeds. A path being syntactically valid does not prove the file is readable or grants this product. ","id":"shared-custom-licence-paths","keywords":"where set licence path licence location SMLICENSED_PATH","kind":"Troubleshooting","title":"Set a custom daemon or licence-file path","product":"Shared licensing"},"version":"InductEx 8 / JoSIM-Pro 2.9.0 source","id":"shared-custom-licence-paths","related":["/knowledge-base/shared-daemon-starts-but-unlicensed","/knowledge-base/shared-daemon-upgrade"],"downloads":[],"publication_status":"published","numerical_output":null,"provenance":{"execution_checks":[],"figure_evidence":[],"review_notes":["Support history informed this draft. Current-source guidance has been checked; a fresh walkthrough on the intended distributed release and product-owner review remain pending."],"scope":"Recorded inputs/builds only. Complete walkthrough and final-package acceptance remain separate.","verification_requirements":{"gui_method":"not-required-for-this-answer","status":"review-incomplete","illustrations":"not-required-for-this-answer","required":["technical-review","release-applicability","recovery"],"legacy_walkthrough_field":"pending retained; not evidence of a complete scenario"},"sources":[{"id":"support:SUP-001","section":"Generalised editorial finding; outcome qualification retained"},{"id":"inductex:docs/manual/ix_install.tex","section":"Custom daemon and licence locations"},{"id":"josim-pro:docs/manual_source/sections/troubleshooting.tex","section":"Licensing problem or degraded mode"}]},"title":"Set a custom daemon or licence-file path","type":"Troubleshooting","markdown_url":"/_functions/kbResource?path=markdown%2Fshared-custom-licence-paths.md","summary":"The daemon setting identifies an executable; the licence setting identifies a file. Keep these paths separate and use absolute paths.","product":"Shared licensing"}