Region or Country Property - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

alexzizzi
Posts: 13
Joined: Wed Apr 30, 2008 10:44 pm

Region or Country Property

Hi,

Is there a way to make a custom action or a property based on a geographic area. I tried using the property CurrentTimeZone, however, that doesn't seem to be the best method because if I wanted to rule out the United States for an example. I would have every standard time zone and also every daylight savings time zone name separated by "OR" which would be an incredibly long string. Any suggestions on how to do this would be great. And if this is not implemented yet, is it possible to have a feature like this to be added to the TO DO list? Thank you.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Region or Country Property

Hi,

I'm afraid that this is not supported by Windows Installer or by Advanced Installer. However, you can try using a custom action to get the IP of the machine and then use an IPFinder to find its location.
is it possible to have a feature like this to be added to the TO DO list?
We will consider adding this improvement in Advanced Installer. Thank you for your suggestion.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rsimmons
Posts: 3
Joined: Mon Mar 28, 2011 7:27 pm

Re: Region or Country Property

Hello I am trying to install my application based on time zone. All of our clients are within the united states so it will be restricted to 4 time zones eastern, mountain, central and pacific. What i wanted to know is there a way to install a custom action based on a registry key that is present on the users system. So far I have had no luck in doing so. :cry:
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Region or Country Property

Hi,

One of the registry locations that stores some timezone settings is:

Code: Select all

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
You can add a search for the desired value from the Search page and set your custom action's execution condition using the search name.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”