Skip to main content
Question

Pulse Secure versioning


AVmcclint
Forum|alt.badge.img+21

We've been running Pulse Secure 5.2.5 just fine and I was told that there is a 5.2.7 update that addresses Sierra issues. There are some Macs that I will need to update manually outside of Casper (because of reasons) so I can't just scope it to All Computers. I'd like to make a Smart Group based on the version of the existing Pulse Secure.app. HOWEVER, the version reported in Get Info is 5.2 for both versions. The only way to verify the version is to launch it and look in the About… window. Does anyone have a way of getting JSS to see the different versions of Pulse Secure.app? It appears that their developers don't believe in using CFBundleShortVersionString to it's full potential.

5 replies

Forum|alt.badge.img+3
  • New Contributor
  • 7 replies
  • March 31, 2017

I have an EA that looks that the VersionInfo.ini file, have not had any issues with it.

if [ -d /Applications/Pulse Secure.app ] ; then

PulseVersion=$(awk -F "=" '/DisplayVersion/ {print $2}' /Applications/Pulse Secure.app/Contents/Plugins/ConnectionStore/versionInfo.ini) echo "<result>$PulseVersion</result>"

else echo "<result>Not Installed</result>"


AVmcclint
Forum|alt.badge.img+21
  • Author
  • Esteemed Contributor
  • 1043 replies
  • March 31, 2017

@syoung17 Could you put that in a code block in your reply? I copy/pasted it but I'm getting errors and I can't see any differences in the visible text I'm using.


Forum|alt.badge.img+3
  • New Contributor
  • 7 replies
  • March 31, 2017

Here you go, sorry about that.

!/bin/sh

if [ -d /Applications/Pulse Secure.app ] ; then

PulseVersion=$(awk -F "=" '/DisplayVersion/ {print $2}' /Applications/Pulse Secure.app/Contents/Plugins/ConnectionStore/versionInfo.ini) echo "<result>$PulseVersion</result>"

else echo "<result>Not Installed</result>"

fi

exit 0


Forum|alt.badge.img+3
  • New Contributor
  • 7 replies
  • March 31, 2017

The App directory moved with version 5.25, if you have clients with older versions will need to modify to the old location.
/Applications/Junos Pulse.app/


AVmcclint
Forum|alt.badge.img+21
  • Author
  • Esteemed Contributor
  • 1043 replies
  • March 31, 2017

Nevermind, I was able to figure it out. Here it is in code form

#!/bin/bash
if [ -d /Applications/Pulse Secure.app ];
then
    PulseVersion=$(awk -F "=" '/DisplayVersion/ {print $2}' /Applications/Pulse Secure.app/Contents/Plugins/ConnectionStore/versionInfo.ini) 
echo "<result>$PulseVersion</result>"

else echo "<result>Not Installed</result>"

fi

Thank you very much for pointing me toward that versionInfo.ini file.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings