Skip to content

feat(gui): ask before installing an iLok vendor in its own environment - #24

Open
davfre wants to merge 1 commit into
fix/ilok-activation-waitfrom
feat/gui-drop-into-ilok
Open

davfre wants to merge 1 commit into
fix/ilok-activation-waitfrom
feat/gui-drop-into-ilok

Conversation

@davfre

@davfre davfre commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Stacked on #23. After #23 is merged, this branch needs a rebase onto main and its base changed to main.

Problem

An installer dropped in the app always got an environment of its own, even from a vendor licensed through iLok. Its plug-ins could not be activated there, because only the iLok environment has PACE. Installing into the iLok environment was only possible through plugg ilok install.

Change

Before the install: ask only for known iLok vendors. If the installer's CompanyName names a vendor that the iLok environment already holds, Plugg asks: Cancel / Own environment / iLok environment (the default). Other installers are not asked about. The match is word by word from the start of the name, so "Neural DSP Technologies" matches a recorded "Neural DSP" and "Neural" matches nothing. The name is a hint, not proof, so Plugg asks instead of routing silently.

plugg install stops with the same question, naming both commands, and --own-environment skips it.

After the install: catch iLok vendors Plugg hasn't seen there. Plug-ins that PACE protects carry its wrapper: PE sections .proxy, .mfrt and .oldrel. In an environment without PACE, Plugg doesn't load them. The card says they use iLok and offers Install in iLok environment, which runs the kept installer there and then dismisses the first attempt. The environment that attempt made goes to cleanup. Nothing in it can have been activated, since it has no PACE. Plug-ins without the wrapper in the same install are published as usual. Inside the iLok environment nothing changes.

Checked read-only against a real library: all 11 PACE-wrapped modules out of 85 are in the iLok environment. The 71 plug-ins in other environments have no wrapper (Native Instruments, kiloHearts, Arturia, Klevgrand, Plugin Alliance, XLN, Melodyne). UA and Softube use iLok without the wrapper and were already sent to the iLok environment by installer hash.

Testing

  • python3 -m unittest discover -s tests: 922 tests pass, 13 of them new in tests/test_ilok_routing.py.
  • The dialog and the card button have not been tried in a running GUI yet.

An installer dropped in the app always got an environment of its own,
even from a vendor licensed through iLok. Its plug-ins could not be
activated there, because only the iLok environment has PACE.

When the installer's CompanyName names a vendor the iLok environment
already holds, Plugg now asks whether it goes there or into its own
environment. Nothing else is asked about. "plugg install" stops with the
same question and names both commands; --own-environment skips it.

A vendor new to the iLok environment is caught after the install. Plug-ins
carrying PACE's wrapper (sections .proxy, .mfrt and .oldrel) are not
loaded in an environment without PACE. The card says they use iLok and
offers to run the same installer in the iLok environment, then dismisses
the first attempt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant