i am building an installer to a program which must have the system locale to be "en-US".
i am able to read the current state using the following line:
CultureInfo currentCulture = Thread.CurrentThread.CurrentCulture
but when I tried to change it, it does not work. this is how I try to change it:
if (!currentCulture.Name.Equals("en-US"))
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
any suggestions how to do it properly? (the servers which i am going to use this installer on are only win-2012 servers).
thank you.