Jump to content
Sign in to follow this  

Install setting base on time zone

Recommended Posts

Hi there,

I have a very simple script that I wrote to install Cisco IP Communicator. 


          Dim $message = "Initializing Cisco IP Communicator Install."
          SplashTextOn("Cisco IP Communicator Install", $message, 450, 200, -1, -1, 48, "", 12, 400)
          Sleep(10000) ;There are 1000 milliseconds in a second. There are 60 seconds in a minute. 10000 milliseconds = 10 seconds

          ShellExecuteWait ("CiscoIPCommunicatorSetup_8640.msi", '/qb TFTP1= TFTP2=', @ScriptDir)

         ControlSetText("Cisco IP Communicator Install", "", "Static1", "Installation Complete")
         Sleep(3000) ;There are 1000 milliseconds in a second. There are 60 seconds in a minute. 3000 milliseconds = 3 Seconds

         $question = MsgBox(4, "Restart Now OR Restart Later", "You must restart your system for the configuration changes made to Cisco IP Communicator to take      effect. Click Yes to restart now or No if you plan to restart later.")
        If $question == 6 Then


This does install and apply the server IP address just how it should.  So, my issue now is how to get this script to install and apply different server IP address base on different time zone.  I would figure the right function to use is If...ElseIf.....Else...EndIf?  If so how would I script it to say IF UK you install with this IP Address and IF US you install with this IP Address?



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...