Sublime Forum

Installing license file via command line

#1

Is it possible to provide the license file via a script, during an automated setup process? For instance, when installing via WinGet?

I found this thread:

But I have not had success in getting the license to be recognized. There is no feedback as to what might be going wrong.

When I use the text from the License.sublime-license file in the “enter license” dialog, the license is activated as expected.

But I really need a workflow where I’m not hassled with dealing with this dialog every time I stamp out a new VM or a new Windows Sandbox instance. I know I could just put up with the nag screens, but I like running in licensed mode.

0 Likes

#2

Never mind. That post has the name of the license file slightly wrong.

When I corrected it, things started working as expected.

0 Likes