

VPN_CONFIG_FILE=$install_dir/"Filename_here.jnprpreconfig" Here's what I'm currently using for my Pulse Secure postinstall script: #!/bin/bash "$3/Applications/PulseSecure.app/Contents/Plugins/JamUI/./jamCommand" -importFile "$VPN_CONFIG_FILE" TMPMOUNT=`/usr/bin/mktemp -d /tmp/pulsesecure.XXXX` # Specify a /tmp/pulsesecure.XXXX mountpoint for the disk image VPN_CONFIG_FILE=$install_dir/"My Company.pulsepreconfig” # Specify location of the Pulse Secure configuration file # Specify location of the Pulse Secure disk image This is just a snippet, but you get the idea that is is just a rename of the client and location names. pulsepreconfig file has a space in it, so not sure if that also has something to do with it. If i am deploying it using Casper, do I need to check off "Require Admin password for installation"? I asume so as it is touching the Application folder. So without a doubt it is not working as intended. postinstall: hdiutil: detached failed - no such file or directory postinstall: installer: Error the package path specified was invalid: ''. I see things like this is the install.log I am leveraging Casper so I was not sure if there was something that needs to be done differently to the created package in order for it to work, but just running the. The new version of Pulse Secure 5.2R4 is obviously named different than the Junos name, so in the script i renamed what I believe is correct.

I know i am doing something wrong, as I am kinda flying blind with this. I have followed guide, and it does not work for me.īeing a new person to Mac, I am taking the unlikely road of "hey just take what he did and rename a few things and hope it sticks" If you didn't get any unexpected error message, thenĪnd answer y to the rm command to definetely remove the Juiper daemon.I have just been tasked with trying to get this to work.

Run this script without root priviledges.Ĭheck that the echo display the plist file is found in one of the 2 directories and the launchctl command issue an error because you don't _plist2=""įor _dir in /Library/LaunchDaemons /System/Library/LaunchDaemons do Here is a shell script made without a real case to test it (in blind mode), then beware of any errors and report them in comments so I will be able to fix it. First you will have to locate where Juniper installed the daemon.
