RunAsSet and WinXP -> was "msiexec is running on w2k but not on XP"
Stefan Lubitz <[email protected]>
| Newsgroups | gmane.comp.windows.autoit.user |
|---|---|
| Message-ID | <[email protected]> |
Maybe you remeber the strange Problem I had with running some files.
Here is now the code I use to find out what's realy wrong.
If I don't use the RunAsSet function everything works fine. Also the
script is running on W2k machines. I tried it with a local admin, and
with a domain admin. Every time the same result:
Line 0 (File "T:\updates\sametime\test.exe");
RunWait($path&"\sametimeclient651.exe")
Error: Unable to execute the external program.
The directory name is not valid (In German: Der Verzeichnisname ist
ungültig)
Here is the code:
$path = @ScriptDir
RunAsSet("administrator",@ComputerName,"password",0)
RunWait($path&"\sametimeclient651.exe")
RunAsSet()
I am realy confused!
Regards,
Stefan
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AutoItList/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/AutoItList/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/