![]() ![]() |
Jan 25 2007, 07:24 PM
Post
#1
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 310 Joined: 30-July 03 Member No.: 5322 |
QUOTE Using %configsetroot% copies whole DVD to windows\configsetroot also all over the registry CODE <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DriverPaths> <PathAndCredentials wcm:action="add" wcm:keyValue="1"> <Path>%configsetroot%\pnpDrivers</Path> </PathAndCredentials> </DriverPaths> </component> [attachment=16240:ConfigSetRoot.png] Any one else noticed this or have a solution? |
|
|
|
Jan 25 2007, 11:37 PM
Post
#2
|
|
|
Newbie Group: Members Posts: 35 Joined: 21-January 07 From: Australia Member No.: 122724
|
I had a somewhat similar scenario today,
What i found is that you should not have your source in the root of the config set, rather only keep the required files you need in there. My problem was I had my install.wim file in there and when I did a capture of my generalised drive I could not work out why it had blown out from 2.5 Gig to 6.8 Gig. Surprise, surprise it was copied to the %configsets% folder. Hope that helps. Gwido |
|
|
|
Jan 26 2007, 01:17 AM
Post
#3
|
|
|
Newbie Group: Members Posts: 33 Joined: 29-January 05 From: Omsk Member No.: 42437
|
Is there a substitution for %configsetroot%? I heard that there's some %CDRoot% variable....is it true?
|
|
|
|
Jan 26 2007, 09:33 AM
Post
#4
|
|
|
MSFN Expert ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1486 Joined: 14-November 03 From: Texas Member No.: 9484 OS: XP Pro x86
|
http://technet2.microsoft.com/WindowsVista...3.mspx?mfr=true
QUOTE Important: If a configuration set is used during Windows Setup, all the contents at the root of the media where the answer file exists are copied to the Windows installation. If there are many files and folders at the same level as the answer file, Windows Setup copies all the files and folders to the Windows installation. Be aware that this might slow down installation, and, in some cases, you might run out of disk space. blows the whole configsetroot out of the water for putting on the dvd. Probably ok if you copied your drivers and xml to a usb stick This post has been edited by maxXPsoft: Jan 26 2007, 09:35 AM |
|
|
|
Jan 28 2007, 09:03 PM
Post
#5
|
|
|
Newbie Group: Members Posts: 33 Joined: 29-January 05 From: Omsk Member No.: 42437
|
|
|
|
|
Jan 31 2007, 12:49 AM
Post
#6
|
|
|
MSFN Expert ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1486 Joined: 14-November 03 From: Texas Member No.: 9484 OS: XP Pro x86
|
Lets get away from that because
Yes all of us been fighting this awhile till the configsetroot thing which turned out no good 1 thing I do is mountrw the boot.wim and put the drivers in there and unmount/export then all you need is the X:\sources\pnpdrivers during PE for BOOT critical drivers which means the drivers Vista don't have, i only have 3 at this time so I add all 4 of them regardless I personally choose to add the full X path for each of my drivers X:\sources\pnpdrivers\1 X:\sources\pnpdrivers\2 You can see from the log file it parses each dir which to me is better than risk a mistake on X:\sources\pnpdrivers Now the bad part, I'm not sure exactly when or I do know its after it reboots, X no longer exists, so now you need a FULL path to dvd\sources\pnpdrivers. I've been trying to get around this FULL Path as everyone but, might note if FULL Path is included in the Microsoft-Windows-PnpCustomizationsWinPE then all drivers appear to be installed at booting desktop I've had some mixed results with my Vid card having it's basic drivers installed but not the Nvidia Ctrl Panel in Display properties. Thats after about maybe 15 tests just over this past weekend searching for the %variable% will put us in paydirt MS left us out in the cold on this one but they lack to understand, if they missed dotting 1 i I will or someone will figure this out. This post has been edited by maxXPsoft: Jan 31 2007, 12:51 AM |
|
|
|
Jan 31 2007, 06:18 AM
Post
#7
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 405 Joined: 24-October 05 Member No.: 77605
|
To set a global %Variable% we would need to know, how Win PE does handle the environment.
It's not reading from HKLM\System\CurrentControlSet\Control\Session Manager\Envrionment. It's may reading it before starting but not while PE is running. So far I've found no way to "refresh" the environment and let it read changes from the Reg-Key above. But I don't know to much about PE. So maybe sombody else knows better... Martin |
|
|
|
Jan 31 2007, 06:47 AM
Post
#8
|
|
|
MSFN Expert ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1486 Joined: 14-November 03 From: Texas Member No.: 9484 OS: XP Pro x86
|
but no combo of %sources% worked, I crashed and sat there and tried every environment I can think of.. I'll look at the registry once again next try later today This post has been edited by maxXPsoft: Jan 31 2007, 06:48 AM |
|
|
|
Jan 31 2007, 10:32 AM
Post
#9
|
|
|
Newbie Group: Members Posts: 33 Joined: 29-January 05 From: Omsk Member No.: 42437
|
but no combo of %sources% worked, I crashed and sat there and tried every environment I can think of.. I'll look at the registry once again next try later today I understood that "issue" with %CDRoot% - sorry for spam. How do U think? If we mount wim, open the registry and find the key that assign the drive letter for CD/DVD drive, can we put there a "O:\" letter for example or Vista choose the letter early in setup? |
|
|
|
Jan 31 2007, 01:29 PM
Post
#10
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 405 Joined: 24-October 05 Member No.: 77605
|
QUOTE If we mount wim, open the registry and find the key that assign the drive letter for CD/DVD drive, can we put there a "O:\" letter for example or Vista choose the letter early in setup? Well this solution would be static than, right?! So it will not work for all systems. We need to set the %Variable% once the drive letters are set for all media. And I'm looking for a solution during WinPE pass. Later passes will run in driver signing prompt issues. Does anybody know how WinPE does start? I'm talking about the process before startnet.cmd is executed now. Martin |
|
|
|
Jan 31 2007, 11:47 PM
Post
#11
|
|
|
Newbie Group: Members Posts: 33 Joined: 29-January 05 From: Omsk Member No.: 42437
|
hmm, what to do with the prompts - to do autoit script the choose "Yes, install anyway!"
|
|
|
|
Feb 1 2007, 04:59 AM
Post
#12
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 405 Joined: 24-October 05 Member No.: 77605
|
AutoIt is allways the worst case solution IMO. Works, if nothing else is possible.
But I still would prefere a solution during WinPE pass, cause gave me least trouble so far. And meanwhile I'm interested how it works. There must be a solution to set a global environment variable under PE 2.0. I just can't see the right way ATM. Thanks, Martin |
|
|
|
Feb 1 2007, 08:19 PM
Post
#13
|
|
|
MSFN Expert ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1486 Joined: 14-November 03 From: Texas Member No.: 9484 OS: XP Pro x86
|
Wanted to mention I did the inject with same results where only get a partial from the drivers. Theres something we're missing somewhere somehow.
been settin up my new pc so now I can get back to figuring it out since i moved the Nvidia PCI-E into this new one |
|
|
|
Feb 2 2007, 01:07 PM
Post
#14
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 405 Joined: 24-October 05 Member No.: 77605
|
I just got the solution for this yesterday... after spending a lot time on it. Mount your boot.wim, you have to mount the second subimage:
CODE imagex /mountrw <PathToYourVistaDVD>\sources\boot.wim 2 C:\Mount Now browse to C:\Mount\Windows\System32 and look for startnet.cmd. Open startnet.cmd with Notepad and enter the following line: CODE %Systemroot%\System32\SetDriversRoot.cmd wpeinit Save the startnet.cmd. Now create a new file in System32 with Notepad and save it as SetDriversRoot.cmd. The SetDriversRoot.cmd should have the following content: CODE @echo off 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:\ Exit Save the SetDriversRoot.cmd and than unmount your boot.wim: CODE imagex /unmount /commit C:\Mount Now browse to the Root of your VistaDVD and create a new text-file. Label it DriversRoot.txt. Now create your iso. This will set the variable %DriversRoot% so you can use it during WinPE pass to install drivers directly from DVD. This would work for USB-Stick, too. Than you would have to put the DriversRoot.txt in the Root of your Stick. Note: Tested this during WinPE pass driver installation. I'm pretty sure that it will not work in audit mode for example, cause there a some reboots between. But for audit mode you could set a new %DriversRoot% variable I guess. If it should not work for you, please let me know! Regards, Martin |
|
|
|
Feb 2 2007, 02:07 PM
Post
#15
|
|
|
MSFN Expert ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1486 Joined: 14-November 03 From: Texas Member No.: 9484 OS: XP Pro x86
|
last attempt earlier this morning I tried the startnet.cmd but done it backwards from what you attempted.
set the wpeinit first and it failed I didn't call a cmd only the variable initialization was about to reverse my actions and urie pointed me to this, will try with different approach Did all your drivers Install with that? |
|
|
|
Feb 2 2007, 02:27 PM
Post
#16
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 405 Joined: 24-October 05 Member No.: 77605
|
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 This post has been edited by FireGeier: Feb 2 2007, 02:28 PM |
|
|
|
Feb 2 2007, 10:17 PM
Post
#17
|
|
|
MSFN Expert ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1486 Joined: 14-November 03 From: Texas Member No.: 9484 OS: XP Pro x86
|
|
|
|
|
![]() |