On macOS, you cannot run the installer from a Dropbox, iCloud, or other similar location.
If you do, you will get an error like this: "The installation failed. The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance."
If this happens, copy or move the installer to a non-cloud location, and try again.