{"id":57,"date":"2018-11-13T13:25:12","date_gmt":"2018-11-13T13:25:12","guid":{"rendered":"https:\/\/purepcs.co.uk\/kb\/?p=57"},"modified":"2018-11-13T13:25:12","modified_gmt":"2018-11-13T13:25:12","slug":"cylance-unattended-install-on-mac","status":"publish","type":"post","link":"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/","title":{"rendered":"Cylance unattended install on Mac"},"content":{"rendered":"<p>We recently realised we needed a decent, robust solution for patch mangement of the Macs within our domain.\u00a0 We settled on Desktop Central from ManageEngine as it offers much more than patch management solutions.<\/p>\n<p>One such option, is to deploy software.\u00a0 While we can do this using AirWatch and our VPP account there are a number of applications that we&#8217;ve never manged to get installed using AirWatch. So to combat this and get Cylance installed on all of our Macs and automatically register with the correct key we had a bit of trial and error, but got there in the end&#8230;<\/p>\n<p>First off, download the latest Cylance Agent for Mac from your portal.\u00a0 My example used the .pkg and not the .dmg<\/p>\n<p>Locate the download and pop it into a new folder.\u00a0 inside the new folder create a blank file called cyagent_install_token, now select the installer package and the new file (without an extension) and zip them up so you end up with a single zip containing both files.<\/p>\n<p>In Desktop Central Admin navigate to:<\/p>\n<ul>\n<li>Software Deployment tab<\/li>\n<li>Add Package<\/li>\n<li>Mac<\/li>\n<\/ul>\n<p>Now you need to select Add Files and Browse &#8211; select the zip file you created and wait for it to upload.<\/p>\n<p>Expand the Advanced Options and insert the following into the Installation Command dialog box: (Remember to replace YOUR-TOKEN-HERE with your actual cylance install token<\/p>\n<pre>echo YOUR-TOKEN-HERE &gt; cyagent_install_token &amp;&amp; sudo installer -pkg CylancePROTECT.pkg -target \/<\/pre>\n<p>The &#8220;&amp;&amp;&#8221; helps here, it tells the system to process the first echo command and if sucessful execute the installer command as a root user.<\/p>\n<p>Naturally, you&#8217;ll need to give the package a name and fill in any other details you require.\u00a0 As Cylance comes with an uninstaller, there&#8217;s no need to complete the uninstall portion of the package properties.<\/p>\n<p>&nbsp;<\/p>\n<p>Happy camping!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We recently realised we needed a decent, robust solution for patch mangement of the Macs within our domain.\u00a0 We settled on Desktop Central from ManageEngine<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43,14,44,45],"tags":[46,49,48,47],"class_list":["post-57","post","type-post","status-publish","format-standard","hentry","category-apple","category-command-line-cli","category-cylance","category-manage-engine-zoho-corp","tag-cylance","tag-desktop-central","tag-mac","tag-unattended"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Cylance unattended install on Mac - Pure PC&#039;s<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cylance unattended install on Mac - Pure PC&#039;s\" \/>\n<meta property=\"og:description\" content=\"We recently realised we needed a decent, robust solution for patch mangement of the Macs within our domain.\u00a0 We settled on Desktop Central from ManageEngine\" \/>\n<meta property=\"og:url\" content=\"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/\" \/>\n<meta property=\"og:site_name\" content=\"Pure PC&#039;s\" \/>\n<meta property=\"article:published_time\" content=\"2018-11-13T13:25:12+00:00\" \/>\n<meta name=\"author\" content=\"purepcs\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"purepcs\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/\"},\"author\":{\"name\":\"purepcs\",\"@id\":\"https:\/\/purepcs.co.uk\/kb\/#\/schema\/person\/d93eda5f74d1012b66a00b4518a0b089\"},\"headline\":\"Cylance unattended install on Mac\",\"datePublished\":\"2018-11-13T13:25:12+00:00\",\"dateModified\":\"2018-11-13T13:25:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/\"},\"wordCount\":298,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/purepcs.co.uk\/kb\/#\/schema\/person\/d93eda5f74d1012b66a00b4518a0b089\"},\"keywords\":[\"cylance\",\"desktop central\",\"mac\",\"unattended\"],\"articleSection\":[\"Apple\",\"Command Line (CLi)\",\"Cylance\",\"Manage Engine \/ Zoho Corp\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/\",\"url\":\"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/\",\"name\":\"Cylance unattended install on Mac - Pure PC&#039;s\",\"isPartOf\":{\"@id\":\"https:\/\/purepcs.co.uk\/kb\/#website\"},\"datePublished\":\"2018-11-13T13:25:12+00:00\",\"dateModified\":\"2018-11-13T13:25:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/purepcs.co.uk\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cylance unattended install on Mac\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/purepcs.co.uk\/kb\/#website\",\"url\":\"https:\/\/purepcs.co.uk\/kb\/\",\"name\":\"Pure PC&#039;s\",\"description\":\"Ramblings, Knowledge and Musings\",\"publisher\":{\"@id\":\"https:\/\/purepcs.co.uk\/kb\/#\/schema\/person\/d93eda5f74d1012b66a00b4518a0b089\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/purepcs.co.uk\/kb\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/purepcs.co.uk\/kb\/#\/schema\/person\/d93eda5f74d1012b66a00b4518a0b089\",\"name\":\"purepcs\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/purepcs.co.uk\/kb\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/05a7ed7212adca9fab9199df1a61e3092c4eaf22b6e66ab39599144a212ea6f2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/05a7ed7212adca9fab9199df1a61e3092c4eaf22b6e66ab39599144a212ea6f2?s=96&d=mm&r=g\",\"caption\":\"purepcs\"},\"logo\":{\"@id\":\"https:\/\/purepcs.co.uk\/kb\/#\/schema\/person\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cylance unattended install on Mac - Pure PC&#039;s","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/","og_locale":"en_GB","og_type":"article","og_title":"Cylance unattended install on Mac - Pure PC&#039;s","og_description":"We recently realised we needed a decent, robust solution for patch mangement of the Macs within our domain.\u00a0 We settled on Desktop Central from ManageEngine","og_url":"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/","og_site_name":"Pure PC&#039;s","article_published_time":"2018-11-13T13:25:12+00:00","author":"purepcs","twitter_card":"summary_large_image","twitter_misc":{"Written by":"purepcs","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/#article","isPartOf":{"@id":"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/"},"author":{"name":"purepcs","@id":"https:\/\/purepcs.co.uk\/kb\/#\/schema\/person\/d93eda5f74d1012b66a00b4518a0b089"},"headline":"Cylance unattended install on Mac","datePublished":"2018-11-13T13:25:12+00:00","dateModified":"2018-11-13T13:25:12+00:00","mainEntityOfPage":{"@id":"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/"},"wordCount":298,"commentCount":0,"publisher":{"@id":"https:\/\/purepcs.co.uk\/kb\/#\/schema\/person\/d93eda5f74d1012b66a00b4518a0b089"},"keywords":["cylance","desktop central","mac","unattended"],"articleSection":["Apple","Command Line (CLi)","Cylance","Manage Engine \/ Zoho Corp"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/","url":"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/","name":"Cylance unattended install on Mac - Pure PC&#039;s","isPartOf":{"@id":"https:\/\/purepcs.co.uk\/kb\/#website"},"datePublished":"2018-11-13T13:25:12+00:00","dateModified":"2018-11-13T13:25:12+00:00","breadcrumb":{"@id":"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/purepcs.co.uk\/kb\/cylance-unattended-install-on-mac\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/purepcs.co.uk\/kb\/"},{"@type":"ListItem","position":2,"name":"Cylance unattended install on Mac"}]},{"@type":"WebSite","@id":"https:\/\/purepcs.co.uk\/kb\/#website","url":"https:\/\/purepcs.co.uk\/kb\/","name":"Pure PC&#039;s","description":"Ramblings, Knowledge and Musings","publisher":{"@id":"https:\/\/purepcs.co.uk\/kb\/#\/schema\/person\/d93eda5f74d1012b66a00b4518a0b089"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/purepcs.co.uk\/kb\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/purepcs.co.uk\/kb\/#\/schema\/person\/d93eda5f74d1012b66a00b4518a0b089","name":"purepcs","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/purepcs.co.uk\/kb\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/05a7ed7212adca9fab9199df1a61e3092c4eaf22b6e66ab39599144a212ea6f2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/05a7ed7212adca9fab9199df1a61e3092c4eaf22b6e66ab39599144a212ea6f2?s=96&d=mm&r=g","caption":"purepcs"},"logo":{"@id":"https:\/\/purepcs.co.uk\/kb\/#\/schema\/person\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/purepcs.co.uk\/kb\/wp-json\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/purepcs.co.uk\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/purepcs.co.uk\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/purepcs.co.uk\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/purepcs.co.uk\/kb\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":1,"href":"https:\/\/purepcs.co.uk\/kb\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"predecessor-version":[{"id":58,"href":"https:\/\/purepcs.co.uk\/kb\/wp-json\/wp\/v2\/posts\/57\/revisions\/58"}],"wp:attachment":[{"href":"https:\/\/purepcs.co.uk\/kb\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/purepcs.co.uk\/kb\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/purepcs.co.uk\/kb\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}