Jump to content

gyan1010

Member
  • Posts

    6
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by gyan1010

  1. I wrote a small script to call microsoft's robocopy tool, and have it copy a directory on a network drive, and all of its sub directories and files, into a folder in the program files directory of the local computer. Then I set this script to run at computer start up from group policy. This being a computer setting not a user one, means it should run as the domain computers group which I believe has same rights as the system user. Anyway, the script runs and all of the folders get copied and created, but the files inside the folders fail. The robocopy log says the file failed to copy because "ERROR 1314" which is "A required privilege is not held by the client". Thing is I wrote the log so that it creates itself on the C:\ drive, so if it could write the log file. Why can't it write the copied files to the proper program files directory? Also, if its not a permissions error on the local machine but a read error from the network drive, then how did it read all of the folder an file names, and why was it able to copy all of the folders but not the files? Plus we set everyone to have read/exec permissions on that folder on the network drive. Oh and I forgot to mention that the exact same script works just fine when run manually when logged on the computer. When run from group policy however, only the folders get copied, not the files. Anyone have any ideas? -Shawn
  2. Nevermind, found the solution in another thread. Just needed to redownload version 7.0 because there was an update without version change that fixed the error.
  3. not sure what his errors where but I also get 1 script error when I open wpi.hta It happens both when I open it by double clicking on it from my install disk folder, as well as when the install disk is running on virtual PC. Here is a screenshot of the error from Virtual PC. Although when I click yes it runs just fine anyway. Just a minor annoyance. Plus I gotta be at the computer to hit yes, so it makes my 100% unattended install only 95% then come back and leave again for the other 5% Edit: this is using version 7.0
  4. I didn't even change anything yet though. Might be an error in how RVMi updates the WPI Wizard version. I'll try downloading it here and replacing the files created by the RVMi plugin. But can't test it until next build because I just made this one without it since it was only going to be used for 2 computers and only 2 programs each through WPI.
  5. Ok maybe I am doing something wrong but it used to be that I could make my install with RVMi using the WPI plugin, then go to the WPI folder and run WPI.hta to setup everything. Now though I try to run WPI.hta and get Internet Explorer Script Errors... several in a row, here they are. Line: 113 Char: 5 Error: Automation server can't create object Line: 28 Char: 5 Error: 'fso' is null or not an object Line: 130 Char: 5 Error: 'undefined' is null or not an object Line: 130 (same error twice) Char: 5 Error: 'undefined' is null or not an object Line: 357 Char: 9 Error: 'tf' is null or not an object Line: 132 Char: 5 Error: 'fso' is null or not an object Line: 2 Char: 1 Error: 'Style' is null or not an object Finally a Window Post-Install Wizard "JavaScript Error Report" Message: 'undefined' is null or not an object URL: ...path to my wpi.hta file... File: registry_dos.js Function FileExists() Line:129 Then it ends in a blank area that I must alt+f4 to get out of. Please help! -Shawn
  6. OK What if I already have my office install packed into a silent switchless installer I made with 7z switchless installer method. Will I have to unpack everything or can I just use RunWait( @ScriptDir & "<path to my switchless installer>", "", @SW_HIDE) instead. Also will getting rid of this error make the WPI wizard stay open until everything is completely done? Because even with the error everything installs but the GUI for the wizard goes away after the error but the office install is still running and I have to view task manager to see when it finishes before I can reboot.
×
×
  • Create New...