eljefe357
09-05-2006, 03:07 PM
Hi,
I'm new to scripting and was wondering if someone could help me out?? I have been tasked to run a setup from CD on user's PCs that are not local administrators. What I am trying to accomplish is to get the install to use the local administrator account. I'm not sure how to script this:
this is what I got so far....am I going in the right direction????
Compname = System.GetLANInfo();
result = File.RunAs(_TempFolder.."\\setup.exe", "/s", "", SW_SHOWNORMAL, false, "Administrator", "Password", "Compname.Host", LOGON_NO_OPTION, nil, nil);
any help would be great:)
I'm new to scripting and was wondering if someone could help me out?? I have been tasked to run a setup from CD on user's PCs that are not local administrators. What I am trying to accomplish is to get the install to use the local administrator account. I'm not sure how to script this:
this is what I got so far....am I going in the right direction????
Compname = System.GetLANInfo();
result = File.RunAs(_TempFolder.."\\setup.exe", "/s", "", SW_SHOWNORMAL, false, "Administrator", "Password", "Compname.Host", LOGON_NO_OPTION, nil, nil);
any help would be great:)