Re: Re: 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]>
The Directory is a public Share on the Network (t:\updates\sametime 
which is \\bies002\projekt\program\updates\sametime)
I have tried to use both expressions instead of the @scriptdir with the 
same result.
The access to the directory is given and I have tried to make a 
fileexist check before, which returns 1, which means file is existing.
If I don't use RunAsSet, and I am logged on with the same user I use in 
the Script, it is working. So am am pretty sure that it has something to 
do with the RunAsSet function and the access to the network.
The strange thing is, that if I run it from the local desktop (with 
using @scriptdir) it is working.

Stefan

Valik schrieb:
> larrydalooza wrote:
>
>   
>> does the admin have rights to @scriptdir. Probably, cause they are an
>> admin...
>>     
>
> Doesn't matter if they are an admin or not.  If user accounts are 
> protected, only the owner can see @ScriptDir if @ScriptDir is in the 
> profile (Such as the Desktop).  Sure, an admin can change permissions, 
> but they can't access the directory by default.
>
> So, to answer the original question for the 28395235 time, make sure you 
> set the working directory to a directory the account you are running as 
> can access.  As is common, you're likely running the script from the 
> desktop of one user but no other user can access that directory so the 
> Run() fails.
>   



 
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.