MSFN Forum: Multi-Boot winnt32.exe install started from inside Windows - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Multi-Boot winnt32.exe install started from inside Windows Rate Topic: -----

#1 User is offline   gummy2 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 17-June 04

Posted 09 April 2006 - 04:55 AM

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 Studio
File.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.

This post has been edited by gummy2: 14 April 2006 - 06:48 AM



#2 User is offline   The008 

  • MSFN Curious
  • PipPip
  • Group: Members
  • Posts: 124
  • Joined: 18-July 05

Posted 09 April 2006 - 11:50 AM

maybe your forgot to edit one file (SETUPTXT.SIF) to point to the correct install folder.

#3 User is offline   gummy2 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 17-June 04

Posted 10 April 2006 - 09:45 AM

they all work when i boot from cd shell , its when i try and install from my custom Autorun menu made with AutoPlay Media Studio

In AutoPlay Media Studio
File.Run("setup\\XP\\Professional\\I386\\WINNT32.EXE", "", "", SW_SHOWNORMAL, false);

This post has been edited by gummy2: 14 April 2006 - 07:16 AM


#4 User is offline   The008 

  • MSFN Curious
  • PipPip
  • Group: Members
  • Posts: 124
  • Joined: 18-July 05

Posted 11 April 2006 - 11:44 AM

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

#5 User is offline   gummy2 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 17-June 04

Posted 14 April 2006 - 07:00 AM

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.CMD
CMDOW @ /HID
@echo off
REM +===========================================================+
REM | Finding CDROM driveletter.				|
REM |-----------------------------------------------------------|
SET TAGFILE=\OEM
FOR %%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.TXT
REM +===========================================================+
REM | Copying over txtsetup.sif to set the paths right.		|
REM |-----------------------------------------------------------|
XCOPY /E /I /Q /Y /R %CDDRIVE%\PRO1\TXTSETUP.SIF %SYSTEMDRIVE%\$WIN_NT$.~BT
XCOPY /E /I /Q /Y /R %CDDRIVE%\PRO1\TXTSETUP.SIF %SYSTEMDRIVE%\
RD /S /Q "%SYSTEMDRIVE%\SYSTEM32"
EXIT

I 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

This post has been edited by gummy2: 14 April 2006 - 07:04 AM


#6 User is offline   The008 

  • MSFN Curious
  • PipPip
  • Group: Members
  • Posts: 124
  • Joined: 18-July 05

  Posted 14 April 2006 - 10:05 AM

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.

#7 User is offline   gummy2 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 17-June 04

Posted 14 April 2006 - 02:32 PM

On my autorun I have options to make a ISO of each os on my Multi dvd
so for this to work i need to keep the TXTSETUP.SIF to SetupSourcePath = "\" in setup\XP\Professional\I386
so when it makes the iso of the os its pointing to the right place

but 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$.~BT
thats why i made the bat file to copy over my TXTSETUP.SIF from my boot sector pro1 so it points to the right paths

This post has been edited by gummy2: 14 April 2006 - 02:35 PM


#8 User is offline   The008 

  • MSFN Curious
  • PipPip
  • Group: Members
  • Posts: 124
  • Joined: 18-July 05

Posted 14 April 2006 - 02:56 PM

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.

#9 User is offline   The008 

  • MSFN Curious
  • PipPip
  • Group: Members
  • Posts: 124
  • Joined: 18-July 05

Posted 23 April 2006 - 06:47 PM

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/...showtopic=72488

#10 User is offline   qwerty009 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 18-December 04

Posted 28 May 2006 - 12:47 AM

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.TXT

Whats it for? and what is ANSWER_FILE.TXT?
Hope you can help me out.

#11 User is offline   gummy2 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 17-June 04

Posted 28 May 2006 - 02:25 AM

ANSWER_FILE.TXT is just like the winnt.sif so your install can be unattended

This line is the argument/Switch: /unattend30:d:\setup\XP\Professional\I386\ANSWER_FILE.TXT

/unattend, no user input is required

30:is the number of seconds between the time that Setup finishes copying the files and when it restarts your computer

where ANSWER_FILE.TXT is d:\setup\XP\Professional\I386\ANSWER_FILE.TXT

#12 User is offline   qwerty009 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 18-December 04

Posted 28 May 2006 - 06:50 AM

Can there be anything like %CDROM% used besides d:\ ? I'st just d: aint cdrom drive in any PC.

#13 User is offline   minutka15 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 16-May 08

Posted 26 October 2011 - 12:01 PM

View Postgummy2, on 28 May 2006 - 02:25 AM, said:

ANSWER_FILE.TXT is just like the winnt.sif so your install can be unattended

This line is the argument/Switch: /unattend30:d:\setup\XP\Professional\I386\ANSWER_FILE.TXT

/unattend, no user input is required

30:is the number of seconds between the time that Setup finishes copying the files and when it restarts your computer

where ANSWER_FILE.TXT is d:\setup\XP\Professional\I386\ANSWER_FILE.TXT

try this one in ams, it's work

function 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; 
 end
 
sPath = appPathOriginal();
File.Run(sPath.."\\I386\\WINNT32.EXE", "", "", SW_SHOWNORMAL, false); 


#14 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,322
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 26 October 2011 - 12:02 PM

Nice way to revive a 5.5 year old thread!

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy