If your application is developed against a certain environment (such as a data environment), it is almost certainly going to need that evironment to be present to run properly.
If you expect that the specific data environment will not be present, but a different one will, then you can test the waters (so to speak), and have your application adapt accordinglyâbut you will need advance knowledge of exactly what you will encounter, and will need to write explicit alternate code to handle that situation. (Usually that which I'm describing is impossible, given time and finances restrictions.)
If the app only pulls info from the database, and it doesn;t pull much, you can write the app to be able to receive input from the keyboard when the database is not present.
But I suspect you will need to add the DB to the materials included in the installation.