Deploying Juniper Junos Pulse VPN client

I'm try to deploy the Juniper Junos Pulse VPN client, which comes as an .msi, but the tricky thing is that the installer requires an absolute path for the config file. The config file contains all the relevant connection settings for our organization.

 

So the command in PDQ deploy is

msiexec -i jpulse402x86.msi CONFIGFILE="\\server1\files\corp.jnprpreconfig" ADDLOCAL=PulseSA,SAEndpointDefense,SAHostChecker /qb

Problem is there's a few workgroup machines that need that client, and those machines can't access the server share for the config file.

 

Any suggestions on how to get the config file correctly grabbed during install?

0

Comments

2 comments
Date Votes
  • Use a batch command file. 

    Copy the config file first to a temporary folder. 

    something like MKDIR C:\TEMP

    then copy the file to TEMP

    then, using your command above to reference the temp location. 

    msiexec -i jpulse402x86.msi CONFIGFILE="c:\temp\corp.jnprpreconfig" ADDLOCAL=PulseSA,SAEndpointDefense,SAHostChecker /qb

    you can also use that same batch file to clean/delete that file as well. 

    (del command, RMDIR command)

    0
  • darn, no edits. i should have been a little more detailed. 

    Basically, in PDQ Deploy, you would use the batch file instead of the msi. 

    The MSI will be called upon from the batch file. 

    so basically, in PDQ Deploy it will point to setup.bat

    and here's the logic i'm thinking for the setup.bat file itself

    1.) Copy/create temp location on the user's workstation (e.g. C:\Temp)

    2.) if you're having trouble with network shares, then omit referencing network shares by copying the jpulse203x86.msi to the temp location as well

    3.) msiexec -i c:\temp\jpulse402x86.msi CONFIGFILE="c:temp\corp.jnprpreconfig" ADDLOCAL=PulseSA,SAEndpointDefense,SAHostChecker /qb

    4.) del C:\Temp\corp.inprpreconfig

    5.) del c:\temp\jpulse402x86.msi

    6.) rmdir c:\temp

    That should get you going. 

    if you have questions on how to do this, please let us know. 

    0

Please sign in to leave a comment.

Didn't find what you were looking for?

New post