You can do what you want by using Set Preferences
Set Preferences(
File Location Settings(
Installation Directory( "C:\Program Files\SAS\JMPPRO\15" ),
License File Path( "C:\PROGRAM FILES\SAS\JMPPRO\15\JMP.PER" )
)
);
Note: You may have to set all of the File Location Settings that are on ones system all at once, so that you do not delete any existing File Location Settings. So you may have to first
thePrefs = Get Preferences(File Location Settings );
to get all of the File Location Settings, replace the License File Path, and then apply the Set Preferences.
Jim