Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

RunAs() arguments

$
0
0

I'm sure it's been covered, but I keep getting confused on how many " or ' should be in the line. Here is what I am attempting:

RunAs("administrator", "domain", "password", "msiexec.exe " I:\launcherapps\Language Arts\Reading\Read Out Loud.msi"")

I keep getting syntax errors.  Yes I could define :  $RunMSI =  " I:\launcherapps\Language Arts\Reading\Read Out Loud.msi" ,  and then run a ShellExecute($RunMSI), but the stupid program keeps telling me the logged in user doesn't have rights to a directory and fails out, so I need to do a RunAs().

 

Right?


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>