You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close

16: How do I deploy the PolicyPak Cloud Client via command line silently ?

There is nothing special at all about using the command line to deploy the PolicyPak Cloud Client. It will honor a silent install and will not require or request a reboot.

Examples of typical silent command lines to run are below:

  • To install the PolicyPak Cloud Client quietly with no UI:

    msiexec /i "C:\Temp\PolicyPak Cloud Client for company name.msi" /qn

  • To install the PolicyPak Cloud Client quietly with no UI and no restart:

    msiexec /i "C:\Temp\PolicyPak Cloud Client for company name.msi" /qn /norestart

  • To install the PolicyPak Cloud Client quietly using JOINTOKEN with no UI and no restart:

    msiexec /i "C:\Temp\PolicyPak Cloud Client for company name.msi" JOINTOKEN="AXBCDeVXbieqP9WUWQwnYM=" /qn /norestart

Note: Replace JOINTOKEN="AXBCDeVXbieqP9WUWQwnYM=" with the relevant JOINTOKEN string for your environment. See this KB for more information on how to use JOINTOKEN: https://kb.policypak.com/kb/article/911-policypak-cloud-automatically-join-groups-with-jointoken/

More info on MSIEXEC command line switches can be found here: https://docs.microsoft.com/en-us/windows/win32/msi/standard-installer-command-line-options

You may also create a command file to run the install and collect logs. 

setlocal
set d=%DATE:~-4%-%DATE:~4,2%-%DATE:~7,2%
set t=%time::=.% 
set t=%t: =%
set logfile="%d%_%t%.log"
msiexec /i %1 /norestart /quiet /lv*x %logfile%

  • 951
  • 30-Mar-2023
  • 3266 Views