I think if you have a fresh install with there will be no preference.txt until you actually start a game, if it is a fresh install just try starting up a new game, it should create the file.