Jump to content

Runstring not working correctly


Rokkitt
 Share

Recommended Posts

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...