Skip to main content
Solved

Creating a ForcePoint installation package for Self Service hosting

  • July 9, 2020
  • 7 replies
  • 70 views

Forum|alt.badge.img+3

Hello group,

I'm attempting to create a custom ForcePoint ( WebsenseEndpoint ) installer for hosting on Self Service and automated deployment via policy. At present installing ForcePoint is a manual and tedious process that involves installing two separate packages with administrative privileges. These two packages require launching and installation to be done from within the directory that contains the required " ca.cer " , " DLPClientConfig.hsw " and " localConfig.xml " files ( listed below ) .... I've used ForcePoints " WebsenseEndpointPackageBuilder.exe " package builder application on Windows which creates the folder contents listed below, great but still requires manual installation ...

Does anyone have any insight or had luck creating a custom package in composer ? I've tried multiple times with little to no luck...Any help would be greatly appreciated.

ForcePoint direcoty contents -

1) ca.cer
2) DLPClientConfig.hsw
3) localConfig.xml
4) WebsenseEndpoint.pkg
5) WebsenseEPClassifier.pkg

Cheers,
ColonelClank

Best answer by merps

Maybe your issue is the single quotes in the first 2 lines of your script? Also, does ls -lah /private/tmp show the files, or do you need to uses /tmp?

We're deploying the files to /private/tmp/EndpointInstaller with Composer.

Postinstall script is this:

#!/bin/sh

/usr/sbin/installer -pkg /tmp/EndpointInstaller/WebsenseEndpoint.pkg -target /

7 replies

Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 4 replies
  • July 9, 2020

Just wanted to add that following note, that ForcePoints instructions are not working -

https://support.forcepoint.com/KBArticle?id=000016604

My Composer post install code ,

'#!/bin/sh'
'## postinstall'
sudo /usr/sbin/installer -pkg /private/tmp/ForcePoint_20.02/EndpointInstaller/WebsenseEndpoint.pkg -target /


Forum|alt.badge.img+9
  • Contributor
  • 149 replies
  • Answer
  • July 9, 2020

Maybe your issue is the single quotes in the first 2 lines of your script? Also, does ls -lah /private/tmp show the files, or do you need to uses /tmp?

We're deploying the files to /private/tmp/EndpointInstaller with Composer.

Postinstall script is this:

#!/bin/sh

/usr/sbin/installer -pkg /tmp/EndpointInstaller/WebsenseEndpoint.pkg -target /

Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 4 replies
  • July 9, 2020

took your advice and changed paths - 'appears' to be working now.... Thank you :)


Mark_Lamont
Forum|alt.badge.img+7
  • New Contributor
  • 9 replies
  • May 28, 2021

@merps @colonelclank have you managed to get this working on Big Sur? I'm trying to get it working for a client and get several system certificates popups that need admin to approve which is no use in this organisation as they aren't admins. I have 20.12 as the client version.


Forum|alt.badge.img
  • New Contributor
  • 1 reply
  • July 20, 2021

@merps @colonelclank have you managed to get this working on Big Sur? I'm trying to get it working for a client and get several system certificates popups that need admin to approve which is no use in this organisation as they aren't admins. I have 20.12 as the client version.


I have the same problem was this problem resolved for you ? 


Forum|alt.badge.img+4
  • Contributor
  • 15 replies
  • February 25, 2022

Maybe your issue is the single quotes in the first 2 lines of your script? Also, does ls -lah /private/tmp show the files, or do you need to uses /tmp?

We're deploying the files to /private/tmp/EndpointInstaller with Composer.

Postinstall script is this:

#!/bin/sh

/usr/sbin/installer -pkg /tmp/EndpointInstaller/WebsenseEndpoint.pkg -target /

Hello , how can i deploy file with comprosser i couldnt find it actually. 


Forum|alt.badge.img
  • New Contributor
  • 1 reply
  • March 6, 2023

Maybe your issue is the single quotes in the first 2 lines of your script? Also, does ls -lah /private/tmp show the files, or do you need to uses /tmp?

We're deploying the files to /private/tmp/EndpointInstaller with Composer.

Postinstall script is this:

#!/bin/sh

/usr/sbin/installer -pkg /tmp/EndpointInstaller/WebsenseEndpoint.pkg -target /

merps,
thanks it's working for me