clam5917 Posted August 7, 2015 Share Posted August 7, 2015 Hi there,I have a very simple script that I wrote to install Cisco IP Communicator. #RequireAdmin Dim $message = "Initializing Cisco IP Communicator 8.6.4.0 Install." SplashTextOn("Cisco IP Communicator 8.6.4.0 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=172.20.18.20 TFTP2=0.0.0.0', @ScriptDir) ControlSetText("Cisco IP Communicator 8.6.4.0 Install", "", "Static1", "Installation Complete") Sleep(3000) ;There are 1000 milliseconds in a second. There are 60 seconds in a minute. 3000 milliseconds = 3 Seconds SplashOff() $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 Shutdown(2) EndIf 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? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now