[wx] Introduce installed file commands and db sanity checking