cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

Installing JMP 17 Via powershell to include license

Hoping someone can help, I am trying to find a script that will install JMP 17 via network drive and also install the SID file and set the per file to a default location. 

3 REPLIES 3
ih
Super User (Alumni) ih
Super User (Alumni)

Re: Installing JMP 17 Via powershell to include license

Hi @PoynomialMink80 , you could do this:

  • Reference this link to build a silent installation of JMP with your preferred preferences
  • In your script, copy the installation media to a local drive
  • Run the JMP install, you could include the license in the install and skip the next step but I find the next step makes it easier to renew the license in the future
  • Copy the license file to the machine and create a preferences file that references a specific license file location
#Load the License File
$LicenseFile = $InstallDir+"\jmp.per"
Copy-Item $SourceDir"\jmp.per" $LicenseFile -Force

# Create directories if needed
New-Item -Path $Env:ALLUSERSPROFILE"/SAS" -ItemType Directory -Force
New-Item -Path $Env:ALLUSERSPROFILE"/SAS/JMPPRO" -ItemType Directory -Force
New-Item -Path $Env:ALLUSERSPROFILE"/SAS/JMPPRO/17" -ItemType Directory -Force
$AddinDir = $Env:ALLUSERSPROFILE+"/SAS/JMPPRO/addins"
New-Item -Path $AddinDir -ItemType Directory -Force

# Create preferences file that links to the license file
$fn = $Env:ALLUSERSPROFILE+"/SAS/JMPPRO/17/JMP.PFS"
New-Item -Force $fn
Set-Content $fn "Preferences(
	File Location Settings(
		License File Path( $LicenseFile )
	)
);"

More info about installing the license and add-ins:

Anyone manage add-ins using a script or a centralized tool? Maybe a PowerShell script via Microsoft ... 

Re: Installing JMP 17 Via powershell to include license

Many thanks this is what I am looking for. Thank you

Re: Installing JMP 17 Via powershell to include license

This scirpt is awesome! I'm deploying via intune / powershell and its exactly what I was looking for. One question, how are you updating yearly? Do you just need to delivery a new .per file to the machine and overwrite the old one? JMP's docs indicate a user-interactive procedure vs an ideal silent update. 

My thinking is use intune to deliver a new per file and overwrite the old one, which is easy enough, but will JMP notice the new per file? I mean we can tell the users "yeah new per file's already there, just click it and go about your day" but that's less ideal 

Recommended Articles