Re: RunAsSet and WinXP -> was "msiexec is running on w2k but not on XP"

larrydalooza <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
> Here is the code:
> $path = @ScriptDir
> RunAsSet("administrator",@ComputerName,"password",0)
> RunWait($path&"\sametimeclient651.exe")
> RunAsSet()

two things... 

does the admin have rights to @scriptdir. Probably, cause they are an
admin...

is there a space in $path ? if so...

RunWait("""" & $path&"\sametimeclient651.exe""")

and perhaps a FileExists() check before running... for debugging

Lar.




 
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.