rez_change.exe with file switch not working
We're using the post install task to set the screen resolution as recorded in the get_screen_rez.exe with the /file switch in order to apply the screen resolution but it's failing with the following error:
Unable to change screen resolution
Error function call change display settingsex 1
Refresh Rate 60
I've made sure that the monitor can handle these settings but the task just doesnt seem to set the resolution. I also tried it without the /file switch and it works when you choose the resolution for a list given.
Anyone managed to get the /file switch working?
We're using Windows 7 SP1 x64.