Has anyone taken a look at Aspera Connect 3.5.2.x? Owned by IBM, and until today not listed under Third-Party Products, it is distributed as an .app installer, with the requisite PKG icon, probably a hint that IBM thinks we won't notice. It has a 501 line .script (AppleScript) intrusive script embedded in it. It has an embedded flat *.mpkg installer, that has embedded scripts with such lovely syntax as:
Apparently the person writing the preflight script doesn't believe in close quotes...
if [ $is_admin = "yes" ] ; then
echo removing system wide apps
rm -rf /Applications/Aspera Connect.app
rm -rf /Applications/Aspera Crypt.app
echo removing system wide plugin
rm -rf /Library/Internet Plug-Ins/Aspera Web.plugin
rm -rf /Library/Internet Plug-Ins/Aspera Web.webplugin
# this is for versioned plugin dirs
rm -rf /Library/Internet Plug-Ins/Aspera Web*
fi
echo removing local user plugin
rm -rf ~/Library/Internet Plug-Ins/Aspera Web.plugin
rm -rf ~/Library/Internet Plug-Ins/Aspera Web.webplugin
rm -rf ~/Library/Internet Plug-Ins/Aspera Web*
echo exiting preflight
The postflight littered with copy/pasted blocks of unquoted commands like...
rmdir "$source_dir/Library/Internet Plug-Ins" || echo $target_dir/Library/Internet Plug-Ins not empty
rmdir "$source_dir/Library" || echo $target_dir/Library not empty
(believe it, the snippet is unedited...the required quotes did not disappear into the ether)
I'm writing this a second time, since IBM's Aspera Connect developers felt it was OK to force my browsers to close.