PDA

View Full Version : Enabling/showing options for specific country?



dannylogi
09-03-2004, 06:05 PM
All,

I'm looking for a way to enable/show options only if the end user is in a specific country. For example, on the main demoshield page, I'll have "Install ABC" that anyone, anywhere can see, but the I'd like to have a second option of "Install XYZ" to only appear if the end user's machine is setup for France, for example. The gotcha is that I'm looking for a solution that works across Win9x through XP. I've found the "sCountry" key under HKEY_CURRENT_USER\Control Panel\International for XP that I can read/store and use in a custom action, but that doesn't exist for Win9x.

On a similar note, what would I need to do if I wanted to have that country specifc option appear for more than one country?

Thanks in advance!

Danny

M3_DeL
09-08-2004, 12:26 PM
Maybe your initial screen could just be a drop down box asking the user to select their country??

WantHelp
01-19-2006, 08:57 PM
How did you read/set this key? I trying to do something veeery similar to what you are/were trying - did you get a solution?