Msi API Error 80004005: OpenDatabase,DatabasePath,OpenMode

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.


  • I had the msi buried under user folders (c:\users\my name\downloads\etc.\etc. etc.\) and had to use quotes around the msi path because of spaces. I received that error, then copied the .MSI and VBS to c:\msi, repeated the command with the new path and it worked fine. - AlanSchmid 9 years ago
  • I copied the setlang.vbs and the ampagent msi to c:\msi and then ran cscript setlang.vbs "c:\msi\ampagent-5.5.30275-x86_kboxname.domainname.msi" 1033 and it still comes up with the error, any ideas ? - KiwiJJ 8 years ago
  • oops ... I was missing the .msi at the end of the command, so all good now - KiwiJJ 8 years ago
  • Had this issue as well. Was due to the MSI being Read-Only when I downloaded it. - paulfaz 6 years ago
This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ