Attempting to use a .bin file as an installer with the self packager will generate an unspecified error message.
A .bin file can not be directly added as an installer in the self packaging sequence. instead, you must trigger it with a custom shell script with specific installation arguments
The required critical steps to create a vai using a .bin are as follows:
Create a file called install_script.sh and write something along the lines of the following content:
#!/bin/bash
sudo chmod 775 "$1"/[bin-filename].bin
sudo "$1"/[bin-filename].bin -s
Create a file called uninstall_script.sh and write something along the lines of the following content:
#!/bin/bash
sudo [path-to-the-uninstaller]
- In the self-packager, after clicking on New Package and adding the agent information, click next.
- On step 2 (Install):
Installation → Add installation files → Select Files
Upload the script files and the .bin file:
Installation → Add installation files → Select Files
Upload the script files and the .bin file:
"Microsoft-dependency-agent" (Example)
- Add Installer → Select the install_script.sh → Add ${INTIGUA_PAYLOAD} as its argument
- Save the installer and click next. Verify there are no error messages.
- On step 3 (Configure Page ), edit the service to include the correct information on this agent:
Service Name: "Microsoft-dependency-agent" (Example)
PID File Path:
Service Name: "Microsoft-dependency-agent" (Example)
PID File Path:
- On step 4 (Uninstall Page), click Add Uninstaller and upload the uninstall_script.sh file.
- Then save the agent and download the .vai file.
Comments
0 comments
Please sign in to leave a comment.