Sign in to follow this  
Followers 0
dkwokgs

Using RunAsSet - cannot run program from network computer

2 posts in this topic

Hi there,

I 'm try to run installation on a machine with only "User" rights (not domain) workgroup only.

Also try running installation from network also error.

The process detached the file into C:\ but error running the file.

______________________

$MDACv=RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess","FullInstallVer")

$MDACchk=StringInStr($MDACv,"2.8")

RunAsSet("administrator", @computername, "password")

FileInstall("C:\data\MDAC_TYP_28.EXE","C:\MDAC_TYP_28.EXE",1)

if $MDACchk = 0 Then

RunWait("C:\MDAC_TYP_28.EXE")

____________________

RunAsSet("pwc user","serv001","admin1",2)----also tried changing the option 0,1,2

RunWait("\\10.151.164.180\enterprise\setup_client.exe") -- tried using computername/IP (no domain)

RunAsSet()

Exit

___________________________

Else

EndIf

Please advise.

Regards

Daniel

Share this post


Link to post
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
Sign in to follow this  
Followers 0