I’m trying to run Sublime Text 3 (Built 3143, Windows) off a read-only network share (where we host all our other applications).
I’m trying to follow these instructions:
http://www.sublimetext.com/docs/3/portable_license_keys.html
I use the portable version of Sublime Text 3 to generate the License.sublime_license file from our 10 user license. But when I try to run the “installed” Sublime Text 3 after having copied it to the network share, Sublime always shows up as UNREGISTERED. If I generate License.sublime_license from the “installed” Sublime Text 3 version, then it will recognize the license, but of course only on the machine where the license was generated.
So it seems like the ability to get “installed” Sublime Text 3 to recognize a license file generated by the portable version may be broken?
Running the portable version off the network is not an option, since it tries to write preferences to the Data directory in its installation directory, and that’s read-only and shared between users / workstations.
Also, using Windows Process monitor to try to figure out what Sublime Text is doing, I noticed a couple of other things:
- in an environment with workstations joined to an AD domain and roaming profiles enabled, Sublime looks for the license in:
%APPDATA\Sublime Text 3\Local
and not
%LOCALAPPDATA%\Sublime Text 3\Local
as documented.
- Sublime also seems to look for its license file in the directory where the binary lives: that’s actually useful, since it means we don’t need to pre-copy the license to user’s profiles, but still suffers from the incompatibility between the portable and installed versions.
Hope this makes sense, hopefully this is reproducible outside our environment.