If you get the error "Msi API Error 80004005: OpenDatabase,DatabasePath,OpenMode" when trying to set the language for the MSI used to deploy the agent, try moving the ampagent msi to another directory and running the command again.