Sign in to follow this  
Followers 0
Rokkitt

Runstring not working correctly

4 posts in this topic

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()

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Please post your script code as a autoit code from this is very esay to read.........

Edited 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."

Share this post


Link to post
Share on other sites

how are you accessing and executing on the remote machine?

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  
Followers 0