Subscribe Bookmark RSS Feed

Renewing the License

mewing

Community Trekker

Joined:

Jun 23, 2011

I don't know if this is possible, I couldn't find anything in the JMP documentation on this, BUT what I'm wondering is, can I write a script to call the renew license() command but pass along to it where the license file is without users having to navigate to it?  I tried renew license("C:\Program Files\SAS\JMP\10\license name.txt") but it complained there were too many arguments.  I also tried a Set Current Directory("C:\...") before the renew license() but I still had to naviagte from the desktop to get to the license file.

Any way to make this easier for the 100+ people I'm going to have renewing their license?

1 REPLY
gbu

Community Trekker

Joined:

Jun 23, 2011

Hi,

I use another solution in my company.

"Jmp.per" (license file) file is store on a share folder, and with a reg file, you can easily change the default jmp value. Like this jmp is able to find the new license every year.

For example, if license is stored on a share drive nammed : L:\licenses\jmp\

You can create a reg file like this (with notepad and save it with the reg extension).

===========

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\SAS Institute Inc.\JMP\9.0\Options]

"JMPPerPath"="L:\licenses\jmp\jmp.per"

===========

Notes : - this reg is for jmp9, if you're using jmp10, just replace 9.0 by 10.0

           - if you're using relative path, please write it like this : \\\servername\\licenses\\jmp\\jmp.per

User just have to execute this reg file one time. Automaticaly, jmp now check this new path for the license.

Hope that will be hepfull.

Regards