krismark Posted June 23, 2004 Share Posted June 23, 2004 Hi,I am having Trouble when I run run My install.batHere's the setupBoot from Bart PE login to image servermap \\computername\share as I:from run command i:\Partpe.bat which contains:-DISKPART /s diskpartcfg.txt FORMAT C: /fs:ntfs /q /v:Winxp /y FORMAT D: /fs:fat32 /q /v:Data /y diskpartcfg.txt select disk 0 clean create partition primary size=60000 select partition 1 assign letter=c active create partition extended create partition logical assign letter=d exit This works fine.Then I run unattend.bat@echo offcls:: Set environmental variablesset AnswerFile=i:\unattend.txtset SetupFiles=i:\i386%SetupFiles%\winnt32 /s:%SetupFiles% /unattend:%AnswerFile% /syspart:c: /tempdrive:d:and get the error message:-The specified script file (I:\unattend.txt) is inaccessible or invalidI have double checked all paths, the unattend.txt works from a network boot floppy.Have I got the winnt.exe syntax wrong ?Any Help AppreciatedRegards Krismark Link to comment Share on other sites More sharing options...
likuidkewl Posted June 23, 2004 Share Posted June 23, 2004 In order to fix this issue you need to re do the unattended file, the problem the problem is in the variables used in the guiRunOnce or which ever you use. So what you cold try is to copy the batch files specified to the B: ramdrive, and run them from there. hth Link to comment Share on other sites More sharing options...
krismark Posted June 24, 2004 Author Share Posted June 24, 2004 But will the ram drive be available on first boot ? Link to comment Share on other sites More sharing options...
likuidkewl Posted June 24, 2004 Share Posted June 24, 2004 No, If you use winnt32.exe from inside PE it will pass that phase as for the RamDisk, So you could use it to copy all the batches to a drive after running diskpart. I had so much trouble with this I decided to do a straight clean install and jsut copy the files over. What you need to do is research when the sections of the Unattended.txt get copied over... Link to comment Share on other sites More sharing options...
gely Posted June 30, 2004 Share Posted June 30, 2004 the problem is sure from the command0 : systemDrive is not understood : you've to set c:\install\run.cmd instead of %systemDrive%\Install\Run.cmd !another probleme is that in fact winnt32 don't copy the $oem$ folder ???!!!---argggggh :] Link to comment Share on other sites More sharing options...
piro Posted June 30, 2004 Share Posted June 30, 2004 @!krismarkThis problem is because you use incorrect settings for the /tempdrive parameter. The drive used with tempdrive must match that used with syspart, so your script should look like this:@echo offcls:: Set environmental variablesset AnswerFile=i:\unattend.txtset SetupFiles=i:\i386%SetupFiles%\winnt32 /s:%SetupFiles% /unattend:%AnswerFile% /syspart:c: /tempdrive:c:piro 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