BMC Software installation for Mac OS

Dear Team,

Through Mac software distribution wizard I upload BMC.pkg file and initiate the task to one Mac OS machine, The task is completed successfully but its not installed on that particular endpoint.

Exit code is 0

Here below I mentioned the action script too:

Completed prefetch BCM_Prod_Client_MacOS.tmp sha1:fda2292ebc82987facd9366bf215a6e0245b1f53 size:38705834 http://172.0.0.1:52311/Uploads/fda2292ebc82987facd9366bf215a6e0245b1f53/BCM_Prod_Client_MacOS.tmp sha256:9b4d10fabaefe011c8ed1f813bfa6179479432943f68b505fdbd8a4475b9da9e

Completed extract BCM_Prod_Client_MacOS.tmp

Completed if {not exists folder “/Applications”}

Completed wait mkdir -p “/Applications”

Completed endif

Completed if {not active of action OR exists file whose (name of it ends with “.tmp”) of folder “__Download” of client folder of current site}

Completed delete “{pathname of file whose (name of it ends with “.tmp”) of folder “__Download” of client folder of current site}”

Completed wait /bin/sh -c “find {concatenation “\ " of substrings separated by " " of pathname of client folder of current site}/__Download/* -exec cp -Rfp {”%7b%7d”} {concatenation “\ " of substrings separated by " " of “/Applications”} ;”

Completed endif

Please help us to done this

Regards
Vicky

Hi Vicky,

The action script is only showing the download of the tmp file and move to anything in __Download/ to the applications. I’m not sure why it’s using find and -exec, seems strange. The action script for any installer command doesn’t show in what you’ve posted.

If the install is actually running, then you can check the /var/log/install.log for any errors with the package.

Hi @rustymyers

We didn’t insert any commands to the action script and its auto generated by IBM Bigfix Mac OS software distribution wizard.

Any modification if we done it on this existing code is there any possibility to install this successfully?

Making some assumptions here, but this should work if it’s a pkg:

prefetch BCM_Prod_Client_MacOS.tmp sha1:fda2292ebc82987facd9366bf215a6e0245b1f53 size:38705834 http://172.0.0.1:52311/Uploads/fda2292ebc82987facd9366bf215a6e0245b1f53/BCM_Prod_Client_MacOS.tmp sha256:9b4d10fabaefe011c8ed1f813bfa6179479432943f68b505fdbd8a4475b9da9e
extract BCM_Prod_Client_MacOS.tmp
installer -pkg "__Download/BCM_Prod_Client_MacOS.pkg" -target /

Thanks for your suggestion, Once I try and update the status of it.

You’d want a “wait” in front of that command of course

1 Like