Jump to content

Using RunAsSet - cannot run program from network computer


dkwokgs
 Share

Recommended Posts

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...