FireGeier Posted February 2, 2007 Posted February 2, 2007 (edited) Well I don't need to install to many drivers for my system. A Raid driver, sound driver and video. The video driver is installed at this state without the .exe certainly. So I would need to install this later. But that should not be a problem hopefully.It's important to call a cmd to set the variable. If I try to set it directly with startnet.cmd than it does not work.It would be usefull to have a confirmation of that procedure from others. But it works basicly here.Martin Edited February 2, 2007 by FireGeier
maxXPsoft Posted February 3, 2007 Posted February 3, 2007 It's important to call a cmd to set the variable. If I try to set it directly with startnet.cmd than it does not work.MartinWill test here in about an hour or 2 but glad I read that first.
nDrew Posted February 3, 2007 Posted February 3, 2007 (edited) It seems to work, thanks! Edited February 3, 2007 by nDrew
maxXPsoft Posted February 4, 2007 Posted February 4, 2007 haven't tried that yet as I'm havin fits with my sata/raid on new PC but i think I have a plan to cure that soon. I'd thought Vista would recognize the Satas out there.
maxXPsoft Posted February 12, 2007 Posted February 12, 2007 FireGeierwhere you create that and call it right before wpeinit in startnet.cmd but fails causeI went ahead and added an extra lineSet > A:\Set.txt where I place my xml on a: right now and the variable DriversRoot is showing up in the .txt but when wpeinit starts it sets its own variables so definitely not working here. I do the Set again after it crashes
FireGeier Posted February 13, 2007 Posted February 13, 2007 Hello maxXPsoft!First of all, thanks a lot for your feedback!If you have problems to set the DriversRoot variable using startnet.cmd, than leave the startnet.cmd untouched. So the only enty in startnet.cmd is (lile it is originaly):wpeinitNow change the SetDriversRoot.cmd like this:FOR %%i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %%i:\DriversRoot.txt SET DriversRoot=%%i:\X:\setup.exeNow create a new file in %windir%\system32 called winpeshl.ini:[LaunchApp]AppPath=%Windir%\System32\SetDriversRoot.cmdNow it should work! Had some feedbacks from tow German guys having the same problem like you. The steps above were working for them.I don't know, if you have a WinPE-Disk which boots you to a cmd. Than you could simple test the steps above manually, before wasting ISOs.So far I've not had the time to find out, why it's working for me from startnet.cmd and why it's not working for some others.Regards,Martin
maxXPsoft Posted February 14, 2007 Posted February 14, 2007 Its no problem I burn to RW and use the floppy for the xml so i can test in short timeI have winpe.chm and seen this in thereWhen you exit the Command Prompt window or your custom shell application, Windows PE restarts.but i'll check it out soon.
FireGeier Posted February 14, 2007 Posted February 14, 2007 When you exit the Command Prompt window or your custom shell application, Windows PE restarts.That is ture, if you leaving it without calling anything else. But if you call the Vista setup.exe wihtin this cmd as last command it will not restart - it will run the setup.I've tested that many times doing it with adapted boot.wim of Vista-DVD. I never create PE using copype.cmd so far, cause you've the srt-package-problem than.Regards,Martin
maxXPsoft Posted February 15, 2007 Posted February 15, 2007 someone mentioned reading the reg and getting this elusive path variable, okthe only place and I do mean 1 place that the letter of my Dvd appears in the registry during X: is at[HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices]"\\DosDevices\\F:"=hex:5c,00,3f,00,3f,00,5c,00,49,00,44,00,45,00,23,00,43,00,\ 64,00,52,00,6f,00,6d,00,5f,00,4e,00,45,00,43,00,5f,00,44,00,56,00,44,00,2b,\ 00,2d,00,52,00,57,00,5f,00,4e,00,44,00,2d,00,33,00,36,00,35,00,30,00,41,00,\ 5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,\ 00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,31,00,30,00,35,00,43,00,5f,00,5f,00,\ 5f,00,5f,00,23,00,34,00,26,00,33,00,38,00,33,00,36,00,64,00,36,00,35,00,34,\ 00,26,00,30,00,26,00,30,00,2e,00,32,00,2e,00,30,00,23,00,7b,00,35,00,33,00,\ 66,00,35,00,36,00,33,00,30,00,64,00,2d,00,62,00,36,00,62,00,66,00,2d,00,31,\ 00,31,00,64,00,30,00,2d,00,39,00,34,00,66,00,32,00,2d,00,30,00,30,00,61,00,\ 30,00,63,00,39,00,31,00,65,00,66,00,62,00,38,00,62,00,7d,00With F: being my DvdDone tried it, done did \\DosDevices\\ and all variations of itX is stupid, won't search on a *
FireGeier Posted February 15, 2007 Posted February 15, 2007 I don't think, that it's set to the registry. That would not make sense IMO, cause the registry get lost after reboot. I think they call these information with API functions. MS will bring out a tool - SCM (System Configuration Manager) - which will make it possible to take influence of setup procedure and integrating your own scripts. I think this will be very need.Regards,Martin
maxXPsoft Posted February 16, 2007 Posted February 16, 2007 FireGeier, No luck yetexactly how are they calling setup adfter running the cmd?I've tried it with /noreboot and every way I can see and it reboots after running that cmd.Dam MS, why no DVD variable or anything. Be too easy to include that, they set configsetroot and allwell really you think of it there was no CD variable in XP, had to do it ourselves right
FireGeier Posted February 16, 2007 Posted February 16, 2007 Do you use an "Exit" command in SetDriversRoot.cmd?Have you tried setting "Pause" command behind X:\Setup.exe command, like this:FOR %%i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %%i:\DriversRoot.txt SET DriversRoot=%%i:\X:\setup.exePauseRegards,Martin
maxXPsoft Posted February 17, 2007 Posted February 17, 2007 I did use an exit, It don't even show on screen so be no good to do a pause. Not that will matter cause can Alt Tab to it maybe. I'll leave off the exit and see.
maxXPsoft Posted February 17, 2007 Posted February 17, 2007 Exit was itFor a quick test I set to show disk configPnPIBS: Building the list of drivers in the path F:\sources\pnpDrivers ...PnPIBS: Found the directory 1.PnPIBS: Building the list of drivers in the path F:\sources\pnpDrivers\1 ...I copied the log and done a setI'll have to run full Install now and see what happens.BTW, Don't close that cmd window. You going for a reboot!!!
FireGeier Posted February 17, 2007 Posted February 17, 2007 Hello maxX!That's right! You dare not use "Exit" cause batch commands a running quickly and so the "Exit" is executed already before setup.exe is started properly. My mistake. I think I have not had explained that well enough the first time. But glad to see that you're on the right way now! Regards,Martin
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now