How I can use inno script language to detect the user country, where he is present, based on the time zone settings of PC.
I simply need to know if user is from USA or outside USA.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I wouldn’t rely on time zone settings, but on geographical location instead. For list of values returned by the
GetUserGeoIDfunction see theTable of Geographical Locations:Forgot to notice, that the minimum supported client OS for this function is Windows XP. For those, who don’t know, where this setting comes from, is here a picture of the Region and Language control panel applet from Windows 7. Geographical location checked in the above function, can be configured there: