https://bugs.winehq.org/show_bug.cgi?id=45756
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Can you try waiting for the wineserver to shut down after setting the dpi in winecfg, and only then start the Office 2007 installer?
Dynamic DPI changes are not supported at the moment, so the values will get out of sync if wineserver is not restarted.