There are several steps to McAfee Installation Error code 0. Read some steps here:

You can try installing the software again; this step resolves the issue in most cases. But if the error still persists, you can use Virtual assistant.
You can also download and run the Pre-install tool and restart the computer. Once your computer restarts, try install McAfee product again. If the installation fails, you can move further to the next step
If you still are unable to fix the error, you can run McAfee virtual technician who can fix many different issues with McAfee products.
You should try to download the installation package again from another web browser. Then try to install using the newly downloaded package
You can also resolve the issue by changing the DNS setting on your network card to a public server


You can also get in touch with McAfee customer support number to avail assistance from the experts.
For more read this: Fix the McAfee Installation Error code 0


For more read this: Fix the McAfee Installation Error code 0