gummy2 Posted April 9, 2006 Share Posted April 9, 2006 (edited) I have made a Multi-Boot dvd and allso put a autorun on with AutoPlay Media Studio , but when i try to install one of the os from the autorun it makes a new $WIN_NT$.~BT boot folder so its pointing to the wrong place. As my boot folders are PRO1 , PRO2 and PRO3 and SETUP\XP\Professional\In AutoPlay Media StudioFile.Run("setup\\XP\\Professional\\I386\\WINNT32.EXE", "", "", SW_SHOWNORMAL, false);I get this error just after it asks where to install to.Setup was unable to verify drive c:. Your computer may not have enough memory to examine the drives, or your windows XP CD may contain some corrupted files. Edited April 14, 2006 by gummy2 Link to comment Share on other sites More sharing options...
The008 Posted April 9, 2006 Share Posted April 9, 2006 maybe your forgot to edit one file (SETUPTXT.SIF) to point to the correct install folder. Link to comment Share on other sites More sharing options...
gummy2 Posted April 10, 2006 Author Share Posted April 10, 2006 (edited) they all work when i boot from cd shell , its when i try and install from my custom Autorun menu made with AutoPlay Media StudioIn AutoPlay Media StudioFile.Run("setup\\XP\\Professional\\I386\\WINNT32.EXE", "", "", SW_SHOWNORMAL, false); Edited April 14, 2006 by gummy2 Link to comment Share on other sites More sharing options...
The008 Posted April 11, 2006 Share Posted April 11, 2006 ok, maybe the problem is in your autorun, but have you tried install from this winnt32.exe in windows mode? Maybe you'll find the same problem. Try installing from winnt on windows and tell me if the problem still happens Link to comment Share on other sites More sharing options...
gummy2 Posted April 14, 2006 Author Share Posted April 14, 2006 (edited) Now i have put this in AutoPlay Media Studio this seem to work.result = File.Run("AutoPlay\\Docs\\pro1.CMD", "", "", SW_SHOWNORMAL, false);and in the pro1.CMDCMDOW @ /HID@echo offREM +===========================================================+REM | Finding CDROM driveletter. |REM |-----------------------------------------------------------|SET TAGFILE=\OEMFOR %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) DO IF EXIST "%%i:%TAGFILE%" set CDDRIVE=%%i:%CDDRIVE%\setup\XP\Professional\I386\WINNT32.EXE /unattend30:d:\setup\XP\Professional\I386\ANSWER_FILE.TXTREM +===========================================================+REM | Copying over txtsetup.sif to set the paths right. |REM |-----------------------------------------------------------|XCOPY /E /I /Q /Y /R %CDDRIVE%\PRO1\TXTSETUP.SIF %SYSTEMDRIVE%\$WIN_NT$.~BTXCOPY /E /I /Q /Y /R %CDDRIVE%\PRO1\TXTSETUP.SIF %SYSTEMDRIVE%\RD /S /Q "%SYSTEMDRIVE%\SYSTEM32"EXITI was thinking something like this but i am unsure if it would work%CDDRIVE%\setup\XP\Professional\I386\WINNT32.EXE /m:d:\PRO1 /unattend:d:\setup\XP\Professional\I386\ANSWER_FILE.TXT Edited April 14, 2006 by gummy2 Link to comment Share on other sites More sharing options...
The008 Posted April 14, 2006 Share Posted April 14, 2006 No, if you rename your ANSWER_FILE.TXT to WINNT.SIF in the same i386 directory, it would solve your problem. The autorun problem maybe already solved, but I still want to know if you tested installing from winnt32.exe in another Windows OS, 'cause if that old problem still remains, you have ONLY to change a little thing in your TXTSETUP.SIF and you can use directly your winnt32 or boot sector to install Windows, with no problem nor needing to use BAT files.I usually change the TXTSETUP.SIF to point to the correct i386 folder:SetupSourcePath = "\ROOT\XPPC\">>I'm telling setup to look for an i386 folder inside the %CD%\ROOT\XPPC folder, then I don't need to use any BAT file. And my Answer file is named WINNT.SIF, so I can just click in winnt32.exe and install the windows unattended, or I can boot and it would install unattended too. Link to comment Share on other sites More sharing options...
gummy2 Posted April 14, 2006 Author Share Posted April 14, 2006 (edited) On my autorun I have options to make a ISO of each os on my Multi dvdso for this to work i need to keep the TXTSETUP.SIF to SetupSourcePath = "\" in setup\XP\Professional\I386so when it makes the iso of the os its pointing to the right placebut in my boot sector pro1 my TXTSETUP.SIF SetupSourcePath = "\SETUP\XP\Professional\"Now when i install from with in windows useing winnt32.exe it makes a new $WIN_NT$.~BTthats why i made the bat file to copy over my TXTSETUP.SIF from my boot sector pro1 so it points to the right paths Edited April 14, 2006 by gummy2 Link to comment Share on other sites More sharing options...
The008 Posted April 14, 2006 Share Posted April 14, 2006 ah, Ok, now I understood why you wanted to keep the TXTSETUP.SIF original. I didn't know this function in your autorun. I had some problems with my CD 'cause I only changed the TXTSETUP in the boot folder, so when I tried to install from Windows I got Copy errors, so I thought your problem should be the same. Ok, I think your bat file is the soluction, but you may check the WINNT.SIF, 'cause you don't need to use the command-line to select the ANSWER_FILE.TXT if you can only copy the WINNT.SIF to the correct folder.There's a AutoIT script-based tool (I think it's SetupXP) that prepares a Windows Installation from WinPE: it copies the files to the C: (I think it creates the $WIN_NT$ folders) and start the installation. You may take a look at this tool. It's interesting. Link to comment Share on other sites More sharing options...
The008 Posted April 24, 2006 Share Posted April 24, 2006 hey, can you tell how did you make your Autorun to create ISO images directly from CD? There's a guy asking this in http://www.msfn.org/board/index.php?showtopic=72488 Link to comment Share on other sites More sharing options...
qwerty009 Posted May 28, 2006 Share Posted May 28, 2006 Hi i'm having the exact same problem here and i'm going to try your cmd file but there is a line i dont understand: /unattend30:d:\setup\XP\Professional\I386\ANSWER_FILE.TXTWhats it for? and what is ANSWER_FILE.TXT?Hope you can help me out. Link to comment Share on other sites More sharing options...
gummy2 Posted May 28, 2006 Author Share Posted May 28, 2006 ANSWER_FILE.TXT is just like the winnt.sif so your install can be unattendedThis line is the argument/Switch: /unattend30:d:\setup\XP\Professional\I386\ANSWER_FILE.TXT/unattend, no user input is required30:is the number of seconds between the time that Setup finishes copying the files and when it restarts your computerwhere ANSWER_FILE.TXT is d:\setup\XP\Professional\I386\ANSWER_FILE.TXT Link to comment Share on other sites More sharing options...
qwerty009 Posted May 28, 2006 Share Posted May 28, 2006 Can there be anything like %CDROM% used besides d:\ ? I'st just d: aint cdrom drive in any PC. Link to comment Share on other sites More sharing options...
minutka15 Posted October 26, 2011 Share Posted October 26, 2011 ANSWER_FILE.TXT is just like the winnt.sif so your install can be unattendedThis line is the argument/Switch: /unattend30:d:\setup\XP\Professional\I386\ANSWER_FILE.TXT/unattend, no user input is required30:is the number of seconds between the time that Setup finishes copying the files and when it restarts your computerwhere ANSWER_FILE.TXT is d:\setup\XP\Professional\I386\ANSWER_FILE.TXTtry this one in ams, it's workfunction appPathOriginal() local cdPath = ""; local findMarker = "SFXSOURCE:"; local cmdArgs = ""; if (Table.Count(_CommandLineArgs) > 0) then for i = 1, Table.Count(_CommandLineArgs) do if (String.Find(_CommandLineArgs[i], findMarker) > 0) then cmdArgs = _CommandLineArgs[i]; break; end end end if (cmdArgs ~= "") then if (String.Find(cmdArgs, findMarker) == 1) then local fullPath = String.Replace(cmdArgs, findMarker, "", true); local tblFullPath = String.SplitPath(fullPath); cd_Path = tblFullPath.Drive .. tblFullPath.Folder; end else cd_Path = _SourceFolder .. "\\"; end return cd_Path; endsPath = appPathOriginal();File.Run(sPath.."\\I386\\WINNT32.EXE", "", "", SW_SHOWNORMAL, false); Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted October 26, 2011 Share Posted October 26, 2011 Nice way to revive a 5.5 year old thread! 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