How to enable vsync via config file in packaged game?

This is what works for me, put this in your engine.ini file.

[SystemSettings]
r.VSync=1