Wicked187 Posted October 16, 2003 Share Posted October 16, 2003 I am setting up some registry stuff to run, and I do my install over the network. I have an unattend.txt that i run, and when the following in inserted:[GuiRunOnce] Command0=%systemdrive%\install.cmdI receive the following error:The specified Setup script file ([FILENAME]) is inaccessible or invalid...I do not understand the problem, can anyone enlighten me? Link to comment Share on other sites More sharing options...
gosh Posted October 16, 2003 Share Posted October 16, 2003 Did you do an OEMPreinstall?Do the basics. First run setup and make sure the $OEM$ folder is being copied. During the install do shift + F10 and makes sure the files are all there. See what happens when you run your batch file from the cmd window. Check the log files.-gosh Link to comment Share on other sites More sharing options...
Wicked187 Posted October 16, 2003 Author Share Posted October 16, 2003 This is my batch:CLS@echo offECHO.ECHO Applying Registry Tweaks...REGEDIT /S %systemdrive%\install\RegTweaks.regEXITI do have the OEMPreInstall=Yes set. I will check to make sure things are getting copied over... The batch should be in \$OEM$\$1\install.cmd, right? Link to comment Share on other sites More sharing options...
flyakite Posted October 16, 2003 Share Posted October 16, 2003 Is your OEM folder PARALLEL to your i386 folder? In other words, when looking in the root of the cd (or wherever i386 is), can you see both the i386 folder AND the $OEM$ folders?Also make sure your registry file is in $OEM$\$1\install\ just in case. Because if you have it in the same folder as the batch file then it won't work, because the batch is pointing to a directory called 'install'.Just some possible solutions. Link to comment Share on other sites More sharing options...
Wicked187 Posted October 16, 2003 Author Share Posted October 16, 2003 Well, it isn't copying the stuff out of the $oem$ dir... it is parallel to the i386 directory... Also, trying to add the SRP... That isn't going so well... I can install it normally with the /quiet switch, but if I run that from the svcpack method, it just brings up the help screen... Link to comment Share on other sites More sharing options...
Aaron Posted October 16, 2003 Share Posted October 16, 2003 [GuiRunOnce]Command0=%systemdrive%\install.cmdThe above is asking for install.cmd in the C:\ drive, which would be C:\install.cmdIf you have install.cmd in... lets say your CD has this: E:\$OEM$\$1\install\install.cmd then the correct path would be:[GuiRunOnce]%systemdrive%\install\install.cmd Link to comment Share on other sites More sharing options...
Wicked187 Posted October 16, 2003 Author Share Posted October 16, 2003 This is a long shot, but, is it possible you are not able to use GuiRunOnce in an unattend.txt? I am running winnt32 over the network from a PE Builder disk I made, would I have to use a winnt.sif instead? Link to comment Share on other sites More sharing options...
Wicked187 Posted October 16, 2003 Author Share Posted October 16, 2003 Nevermind, I removed the command it was supposed to run and just had the [GuiRunOnce] in the unattend.txt... it did not give me any errors... Now, what could possibly be wrong with my command? Does it do a check to see if the $OEM$ folder is going to be copied? Would setup know this from an unattend, for would it need to have this in a winnt.sif that would be loaded on the Gui portion of the install?Edit: What I have found is that the %systemroot% variable is not considered valid at this point... If I put in C:\ instead, it does not complain about the unattend.txt... not the only thing left to figure out is why the $OEM$ stuff is not getting copied... the $OEM$ dir in in the same dir as the i386 dir... Using the batch script I run to install, I can guarantee the drive will be C, so I have $OEM$\c\install and $OEM$\c\drivers... and they do not get copied, and they didnt as $OEM$\$1 either. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now