2 Pages
1 2 >
|
 |
Vista SP2 And Vista PE Build Errors |
|
|
|
Jul 5 2009, 10:35 PM
|
|
|
GDay All, I'm trying to build VistaPE using a copy of Vista with SP2, however, I get the following error: FileCopy - Failed to copy [%BaseDir%\Temp\VistaPE-Core\InstallWimSrc\Windows\System32\DriverStore\FileRepository\acpi.inf_97916753\*.dll] to: [%BaseDir%\Target\VistaPE-Core\Windows\System32] The problem is that I can't find the code that is creating this error.  HELP!! I'm confident that the error is caused because the acpi.inf_97916753 folder does NOT contain any .dll files, or at least it doesn't in my SP2 install, and I'm unable to change the code to correct this. Anyone have any ideas? Also, I'm looking for an easy way to view the contents of a .wim file. Can anyone suggest any programs that will help?
--------------------
Regards Andy M
|
|
|
|
Jul 5 2009, 11:29 PM
|
|
|

|
|
Joined: 7-January 07
From: Boston, MA
Posts: 1,164
Thank(s): 228
 United States

|
|
No guarantees that SP2 will work at all. The actual code is in 00-api-main.script, called by a line somewhere that starts out "CopyDrv,...". In 00-api-main.script, change: CODE [Copy_Drv_Process] FileCopy,"#1\*.sys","%TargetDir%\Windows\System32\Drivers" FileCopy,"#1\*.dll","%TargetDir%\Windows\System32" FileCopy,"#1\*.inf","%TargetDir%\Windows\Inf" to: CODE [Copy_Drv_Process] If,ExistFile,"#1\*.sys",FileCopy,"#1\*.sys","%TargetDir%\Windows\System32\Drivers" Else,Echo,"No #1\*.sys files to copy" If,ExistFile,"#1\*.dll",FileCopy,"#1\*.dll","%TargetDir%\Windows\System32" Else,Echo,"No #1\*.dll files to copy" If,ExistFile,"#1\*.inf",FileCopy,"#1\*.inf","%TargetDir%\Windows\Inf" Else,Echo,"No #1\*.inf files to copy" I'm working on an updated version of VistaPE that will have this update incorporated. 7-zip is a good tool for viewing WIM files, and is indispensable for opening many of the attachments you'll see here. If yo want to modify WIM files you'll need to get fancier.
|
|
|
|
Jul 5 2009, 11:54 PM
|
|
|
QUOTE (JonF @ Jul 6 2009, 09:29 AM)  No guarantees that SP2 will work at all. 7-zip is a good tool for viewing WIM files, and is indispensable for opening many of the attachments you'll see here. If yo want to modify WIM files you'll need to get fancier. Thanks for replying JonF. I hope you are able to get it working and of course if I manage to stumble upon a solution I'll post it here Somehow I missed the fact that 7zip was able to read .wim files .... Doh!!!! In any case, I googled for an answer and found GimageX which seems to do everything. I haven't tried it yet, but it looks promising. In combination, these 2 programs should help me get the job done .... lol!! Is there a quick reference for WinBuilder commands and variables around? It would help if I had something to 'lookup' now and then. The old grey matter is running low on memory space ... lol!!!
--------------------
Regards Andy M
|
|
|
|
Jul 6 2009, 12:36 AM
|
|
|

|
|
Joined: 7-January 07
From: Boston, MA
Posts: 1,164
Thank(s): 228
 United States

|
|
WinBuilder and its projects are implemented by technophiles and change rapidly. As is often the case in such situations the documentation lags significantly. It's the way such things go, and I'm just as guilty as anyone else. There's a recent but slightly out of date guide at http://winbuilder.net/help/. There's also a widely-used set of commands that actually call "subroutines" that are made up of the lower-level commands. This set is called the API. The idea is to make it easier to write scripts that are usable in several projects. Alas, the API implementation differs significantly from project to project. The problem you ran into was a combination of an API command that exists only in VistaPE and a recent version of WinBuilder that has more strict definitions of what things are errors. The VistaPE version of the API is described at http://www.vistape.net/vistape-api.html ... it takes some study to figure it out since the author is Russian and has some difficulty with English. http://www.boot-land.net/forums/index.php?showtopic=8191 is useful. The most fully developed API is by Pedro Le for LiveXP. He has a VistaPE API script that is somewhat more developed than the standard VistaPE API but is well behind the curent LiveXP api. He's working on an API script that will work with LiveXP, VistaPE, and the up-and-coming Win7PE. Don't know if he will succeed, but it sure would be nice. The main developer of VistaPE hasn't been seen in well over a year. There's some issues of grabbing his baby and making it someone elses. Nonetheless, I'm working on an updated version of VistaPE that will have several signiifcant updates and make it much easier for Pedro to develop his common API. It's not totally settled how this VistaPE will be distributed.
|
1 user(s) said "Thank you!" to JonF for this fantastic post: psc |
|
|
Jul 6 2009, 05:33 AM
|
|
|

|
|
Joined: 15-April 08
Posts: 575
Thank(s): 60
 Germany

|
|
@trumpy81 : are you using Winbuilder [077 RC 1] ? look here, seems to be the same error. Dera pointed me to the right direction.
|
|
|
|
Jul 6 2009, 05:40 PM
|
|

|
|
Joined: 14-July 06
From: Korschenbroich
Posts: 9,729
Thank(s): 657
 Germany

|
|
QUOTE (JonF @ Jul 6 2009, 01:29 AM)  No guarantees that SP2 will work at all. The actual code is in 00-api-main.script, called by a line somewhere that starts out "CopyDrv,...". In 00-api-main.script, change: CODE [Copy_Drv_Process] FileCopy,"#1\*.sys","%TargetDir%\Windows\System32\Drivers" FileCopy,"#1\*.dll","%TargetDir%\Windows\System32" FileCopy,"#1\*.inf","%TargetDir%\Windows\Inf" to: CODE [Copy_Drv_Process] If,ExistFile,"#1\*.sys",FileCopy,"#1\*.sys","%TargetDir%\Windows\System32\Drivers" Else,Echo,"No #1\*.sys files to copy" If,ExistFile,"#1\*.dll",FileCopy,"#1\*.dll","%TargetDir%\Windows\System32" Else,Echo,"No #1\*.dll files to copy" If,ExistFile,"#1\*.inf",FileCopy,"#1\*.inf","%TargetDir%\Windows\Inf" Else,Echo,"No #1\*.inf files to copy" I'm working on an updated version of VistaPE that will have this update incorporated. 7-zip is a good tool for viewing WIM files, and is indispensable for opening many of the attachments you'll see here. If yo want to modify WIM files you'll need to get fancier. @JonF: You are not in all cases right with your suggestion. See here and follow the other 'here' link. Peter
--------------------
Build the house starting with the basement rather than with the roof! But always have in mind how the roof should be made!
There are very rarely problems, in most cases there are issues.
There are never stupid questions, there can be only stupid answers.
It does not make much sence to heal the symptoms of an illness. You must heal the illness!
|
|
|
|
Jul 6 2009, 06:55 PM
|
|
|

|
|
Joined: 17-January 07
Posts: 1,154
Thank(s): 268
 Hungary

|
|
QUOTE (trumpy81 @ Jul 5 2009, 11:35 PM)  I'm trying to build VistaPE using a copy of Vista with SP2 I am not sure either, but nowhere seen such statement that the project (which was created at 21.10.2008) is compatible with Vista SP2 source, myself cannot test it as i have no Vista with SP2 integrated by MS
|
|
|
|
Jul 6 2009, 08:06 PM
|
|
|
|
GDay All,
First off, PSC, JonF's solution did indeed work and I see no reason why it wouldn't.
You have to remember that the subroutine is a FILECOPY not a FOLDERCOPY command and naturally it won't recurse into sub folders.
Anyhow, I built the project and it works perfectly in VMWare except for networking. This was not unexpected, but when I burnt the ISO and tried it out on this machine, it boots all the way but then just as the boot process completes, the screen freezes and it locks up everything. A little disappointing but then this machine (i7core 920) wont install XP either, it crashes and burns also.
On my AMD Semperon Laptop it will boot almost to the desktop but then it blue screens with a stop error: C000021a
Obviously it's going to take a lot more work to get this going.
--------------------
Regards Andy M
|
|
|
|
Jul 6 2009, 08:14 PM
|
|
|
QUOTE (JonF @ Jul 7 2009, 05:54 AM)  That is an important point.
@trumpy81: the source DVD must be a DVD as issued by Microsoft. If it has been updated by some procedure you carried out, such as vLite, it is almost certain that it is not usefual as the source of a VistaPE build. Thanks JonF, I am using an MSDN copy of the 32bit DVD, so I shouldn't have any issues with it.
--------------------
Regards Andy M
|
|
|
|
2 Pages
1 2 >
|
 |
2 User(s) are reading this topic ()
|
|