kimipooh / ESET-Custom-Installer-for-Mac

The apple script supports the GUI installation of ESET Custom Installer for Mac

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESET-Custom-Installer-for-Mac

This is the framework for supporting the ESET preconfigured custom installer package for Mac.

The current version is ESET Endpoint Antivirus 7.1.

ESET Endpoint Antivirus 7.x consists two installers, such as "ESET Management Agent" and "ESET Endpoint Antivirus". The tool helps to

ESET-Antivirus7-MacOSX

Construction in DMG file

ESET-Custom-Installer.dmg.zip is a full set of this installer packages. It consist of the following files.

  • ESET_Setup.app: Installer (Apple Script)
  • README.rtf: Handling manual (Template)
  • .background: Background image folder (Hidden Folder)
  • .packages: Standalone ESET Custom Installer files (installer.pkg, PROTECTAgentInstaller.sh)
  • Two files are dummy because they are created by ESET remote installer.

Attribution of DMG file

For automatically opening the mounted volume when the DMG file is opened, the following command was done.

Converted read-only volume. hdiutil convert -format UDZO -o ESET-Custom-Installer-converted.dmg ESET-Custom-Installer.dmg

Or

  1. Mount DMG file (for example, mounted volume name is "/Volumes/ESET-Antivirus7-MacOSX").
  2. Open "Terminal" application
  3. Type "bless /Volumes/ESET-Antivirus7-MacOSX --openfolder /Volumes/ESET-Antivirus7-MacOSX" and push "Enter" key.

Before provide the DMG file.

You had better convert it to the DMG file with compression Because the converted DMG file is mounted as read-only file system.

  1. Open "Disk Utility" application in Utility folder.
  2. Click on "Convert" button in the menu bar and select the DMG file.
  3. Confirm to enable "compress" option, save as it.

Preparation

There are some hidden folders, so you had better change the setting of the hidden folder/file visualization.

How to view the hidden folder/file.

  1. Open "Terminal" application in the Utilities folder (in Application folder).
  2. Type "defaults write com.apple.finder AppleShowAllFiles -boolean true" command and push "Enter" key.
  3. Type "killall Finder" command and push "Enter" key.

How to hide the hidden folder/file.

  1. Open "Terminal" application in the Utilities folder (in Application folder).
  2. Type "defaults delete com.apple.finder AppleShowAllFiles" command and push "Enter" key.
  3. Type "killall Finder" command and push "Enter" key.

Explanation

ESET7_SETUP.app

It's very simple apple script. It carries out the following behavior.

  1. Copy "installer.pkg" and "PROTECTAgentInstaller.sh" to "/tmp/" folder with administrator permission.
  2. Sirent install "Rosseta2" for PROTECT Agent(ERAAgent).
  3. Carry out "installer.pkg" including the custom setting (PROTECTAgentInstaller.sh) with administrator permission

If you'd like to change the mounted name of DMG file (default: ESET-Custom-Installer), you open "ESET_Setup.app" using Apple Script Editor (Search "Apple Script" on Spotlight) and edit the name of "ESET-Custom-Installer".

README.rtf

This is very simple handling manual in English and Japanese.

Especially, you need to pay attention about the security execution policy setting of the application. Basically, MacOSX blocks the execution of the untrusted application under the security setting. For getting the permission, it needs to right click the application icon and select "Open".

This is the manual for explaining it.

.background

This is the hidden folder, so if you access it, there are three approaches.

    1. Push "Command+Shift+G" and Input the full path (/Voulmes/ESET-Antivirus7-MacOSX/.background) in the dialog box.
    1. Open "Terminal" application, Type "open /Voulmes/ESET-Antivirus7-MacOSX/.background" and push "Enter" key..
    1. If you enable to display the hidden files/folders, right click ".background" folder and select "Open" menu.

If you would like to change the background image, please carry out the following operation.

  1. Save the background image to ".background" folder
  2. Open the top folder of the mounted volume (/Voulmes/ESET-Custom-Installer)
  3. Type "Command+J" and Select "Picture" in the background section.
  4. The image file drag and drop to the "Drag image here".

I think that the section 8 "Change the Views" in following site is easy explanation.

Reference: How To: Create DMG Art for Fancy Application Installations (Mac 101)

How to create ".background" hidden folder.

  1. Create ".background" folder in "/Voulmes/ESET-Antivirus7-MacOSX/".
  2. Open "Terminal" application.
  3. Type "SetFile -a V "/Voulmes/ESET-Antivirus7-MacOSX/.background" and push "Enter" key.
  • This is to add the hidden attribution to the folder.

.packages

This folder consists of the standalone preconfigured installation package for installing the ESET software with the custom settings including the linkage setting of the administration server.

About how to create ESET custom installer package, please see "How do I remotely install ESET NOD32 Antivirus Business Edition for Mac OS X?".

About

The apple script supports the GUI installation of ESET Custom Installer for Mac

License:GNU General Public License v2.0


Languages

Language:Rich Text Format 100.0%