Rokkitt Posted November 27, 2013 Share Posted November 27, 2013 Hi, Still learning Autoit so be gentle. Have some code that uses runaswait to deploy an executable, using message boxes and filewrites I have confirmed the runstring passed to the OS is correct - I can copy and paste it into the run command and it installs without a hitch. I have pushed this to several machines and some seem to install yet others are unable to execute the runstring it would seem - no logs at all to point to the issue. The user is a domain account and is a member of the local administrators. My code is below, can you see any issues with this? Dim $CPClient_RunString Dim $Splash $CP12_RunString = CHR(34) & "NetworkShareReplicated DataSoftDistInstall_CitrixClient_12CitrixOnlinePluginFull_12.3.exe" & CHR(34) & " DONOTSTARTCC=1 /silent SERVER_LOCATION=" & CHR(34) & "http://XenAppServices/Citrix/PNAgent/config.xml" & CHR(34) $SPLASH = "NetworkShareReplicated DataSoftDistInstall_CitrixClient_12Splash.bmp" SplashImageOn("", $SPLASH,370,170) RunAsWait("domain user with local admin","domain","password",1,$CP12_RunString) SplashOff() Link to comment Share on other sites More sharing options...
Starstar Posted November 27, 2013 Share Posted November 27, 2013 (edited) Please post your script code as a autoit code from this is very esay to read......... Edited November 27, 2013 by Starstar Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once." Link to comment Share on other sites More sharing options...
l3ill Posted November 27, 2013 Share Posted November 27, 2013 Hi Rokkitt, you could try ShellExecuteWait in the place of RunAsWait. Bill My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example Link to comment Share on other sites More sharing options...
gruntydatsun Posted November 27, 2013 Share Posted November 27, 2013 how are you accessing and executing on the remote machine? 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