<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to find out where JMP is installed in a windows machine. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-find-out-where-JMP-is-installed-in-a-windows-machine/m-p/17657#M16097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JMP Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently using a Perl script to launch our JSL script. The Perl script looks for the default installation location of JMP in the program files folder. Since there are potentially 4 different versions of JMP running around our workplace, I ended up with the following implementation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Attempt to launch the standard version executable of &lt;SPAN style="color: #ff0000;"&gt;JMP 12&lt;/SPAN&gt; in: &lt;STRONG&gt;C:\Program Files\SAS\JMP\12\jmp.exe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. If that file does't exists, then attempt to launch the pro version executable of &lt;SPAN style="color: #ff0000;"&gt;JMP 12&lt;/SPAN&gt; in: &lt;STRONG&gt;C:\Program Files\SAS\JMPPRO\12\jmp.exe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3. If that file does't exists, then attempt to launch the standard version executable of &lt;SPAN style="color: #0000ff;"&gt;JMP 11&lt;/SPAN&gt; in: &lt;STRONG&gt;C:\Program Files\SAS\JMP\11\jmp.exe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;4. If that file does't exists, then attempt to launch the pro version executable of &lt;SPAN style="color: #0000ff;"&gt;JMP 11&lt;/SPAN&gt; in: &lt;STRONG&gt;C:\Program Files\SAS\JMPPRO\11\jmp.exe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;5. If that file does't exists, end in error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an environment variable or something in windows that I can query to find out where JMP is installed in the user's machine? My fear is that there might be a user somewhere in our workplace that might have JMP installed in another disk partition. Thus, voiding my current implementation that looks for the jmp executable in the &lt;STRONG&gt;C:\&lt;/STRONG&gt; drive. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2016 16:00:34 GMT</pubDate>
    <dc:creator>javier_guzman0</dc:creator>
    <dc:date>2016-03-29T16:00:34Z</dc:date>
    <item>
      <title>How to find out where JMP is installed in a windows machine.</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-find-out-where-JMP-is-installed-in-a-windows-machine/m-p/17657#M16097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JMP Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently using a Perl script to launch our JSL script. The Perl script looks for the default installation location of JMP in the program files folder. Since there are potentially 4 different versions of JMP running around our workplace, I ended up with the following implementation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Attempt to launch the standard version executable of &lt;SPAN style="color: #ff0000;"&gt;JMP 12&lt;/SPAN&gt; in: &lt;STRONG&gt;C:\Program Files\SAS\JMP\12\jmp.exe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. If that file does't exists, then attempt to launch the pro version executable of &lt;SPAN style="color: #ff0000;"&gt;JMP 12&lt;/SPAN&gt; in: &lt;STRONG&gt;C:\Program Files\SAS\JMPPRO\12\jmp.exe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3. If that file does't exists, then attempt to launch the standard version executable of &lt;SPAN style="color: #0000ff;"&gt;JMP 11&lt;/SPAN&gt; in: &lt;STRONG&gt;C:\Program Files\SAS\JMP\11\jmp.exe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;4. If that file does't exists, then attempt to launch the pro version executable of &lt;SPAN style="color: #0000ff;"&gt;JMP 11&lt;/SPAN&gt; in: &lt;STRONG&gt;C:\Program Files\SAS\JMPPRO\11\jmp.exe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;5. If that file does't exists, end in error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an environment variable or something in windows that I can query to find out where JMP is installed in the user's machine? My fear is that there might be a user somewhere in our workplace that might have JMP installed in another disk partition. Thus, voiding my current implementation that looks for the jmp executable in the &lt;STRONG&gt;C:\&lt;/STRONG&gt; drive. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 16:00:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-find-out-where-JMP-is-installed-in-a-windows-machine/m-p/17657#M16097</guid>
      <dc:creator>javier_guzman0</dc:creator>
      <dc:date>2016-03-29T16:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out where JMP is installed in a windows machine.</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-find-out-where-JMP-is-installed-in-a-windows-machine/m-p/17658#M16098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use OLE automation from Perl to run a JSL file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="php" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14592851505019505 jive_text_macro" jivemacro_uid="_14592851505019505"&gt;&lt;P&gt;use OLE;&lt;/P&gt;&lt;P&gt;use Win32::OLE;&lt;/P&gt;&lt;P&gt;my $jmp = Win32::OLE-&amp;gt;new('JMP.Application');&lt;/P&gt;&lt;P&gt;$jmp-&amp;gt;{Visible} = 1;&lt;/P&gt;&lt;P&gt;$jmp-&amp;gt;RunJSLFile("C:\\jsl_file.jsl");&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information on JMP automation, check out the &lt;A href="https://www.jmp.com/content/dam/jmp/documents/en/support/jmp1001/automation_reference.pdf" title="https://www.jmp.com/content/dam/jmp/documents/en/support/jmp1001/automation_reference.pdf"&gt;JMP Automation Reference&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 20:59:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-find-out-where-JMP-is-installed-in-a-windows-machine/m-p/17658#M16098</guid>
      <dc:creator>Justin_Chilton</dc:creator>
      <dc:date>2016-03-29T20:59:55Z</dc:date>
    </item>
  </channel>
</rss>

