public:repackaging_isabel_security_components_for_macos

This is an old revision of the document!


Open the DMG.

Extract the package to a working location.

mkdir work
pkgutil --expand /Volumes/ISA_LAYER\ Security\ Components\ 1/\ .pkg ./work/ISABEL

Navigate to the offending subpackage:

cd work/ISABEL/ISA_LAYER.pkg

Open the postinstall script in a text editor:

vim Scripts/postinstall

Comment out this section:

#cp /Volumes/"ISA_LAYER Security Components"/ISA_LAYER_Uninstall.pkg /usr/local/ISA_LAYER

And also this section:

#echo 'on run
#    set some_file to POSIX file "'$login6_shortcut'" as alias
#    tell application "Finder"
#      try
#          set extension hidden of some_file to true
#        on error e
#        display dialog e buttons {"Ok"} default button 1
#      end try
#    end tell
#  end run
#' | osascript

Navigate back to the top of your working directory:

cd ../../

Repackage in a .pkg file:

pkgutil --flatten ISABEL Isabel.pkg
public/repackaging_isabel_security_components_for_macos.1712151223.txt.gz · Last modified: by thomas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki