set codepage and install privileges