IPB

Welcome Guest ( Log In | Register )

Recommended
BootDisk.com

Active Users

 
Reply to this topicStart new topic
VistaPE open source driver integrator
Rating 5 V
 
markus8
post Apr 6 2008, 04:45 AM
Post #1


Newbie
*

Group: Members
Posts: 4
Thank(s): 1
Joined: 4-April 08
Member No.: 14,226


Australia


Hi All,

Here's my attempt at a driver integrator for VistaPE.

Q. Why did I write this?
A. The existing integrator by ctv99 didn't do what I wanted.
I wanted:
1. Logging of peimg output.
2. Visibility of commands being executed.
3. A text mode interface. The old GUI really didn't appeal to me. I think this app is better as a console app. (IMG:../forums/style_emoticons/default/smile.gif)
4. Something that created a "Users" directory that peimg requires, even if it's empty. (I'd rather the script did it than the pebuilder plugin.)
5. Something written in an understandable popular open source language so that others can improve it. Python rocks!

The main information is:
- I used (and tweaked slightly) the original plugin script from ctv99 ?.
- download http://mark.alphadimensions.net/vistape/Dr...Integrator01.7z
- Extract the contents of the archive to WinBuilder\Projects\VistaPE-Core\Drivers
- Configure the plugin in winbuilder with the correct directories.
- Run it!
- Log is created as adddrivers.log. This is appended to on each run, so you my want to clean it out occasionally.

I've also included a how.to.build.txt which gives the details of what to do to generate a new executable. All of the trickery for that is in add2exe.py

Please reply to this topic to confirm how it goes.

Cheers,
Markus.
Go to the top of the page
 
+Quote Post
The Following 1 Users Say Thank You to markus8 For This Useful Post:
Nuno Brito
jezza333
post Apr 6 2008, 09:28 AM
Post #2


Member
**

Group: Members
Posts: 28
Thank(s): 0
Joined: 2-May 07
Member No.: 6,486


Australia


Gday mate, I tested it out an I can't say there's any script files lying around to prove that it has worked. Maybe I'm doing something wrong? (IMG:../forums/style_emoticons/default/laugh.gif)

"'C:\\Program Files\\WinBuilder\\Target\\VistaPE-Core\\Windows'" - Shouldn't that be "C:\Windows" ? (IMG:../forums/style_emoticons/default/huh.gif)
Go to the top of the page
 
+Quote Post
markus8
post Apr 6 2008, 10:17 AM
Post #3


Newbie
*

Group: Members
Posts: 4
Thank(s): 1
Joined: 4-April 08
Member No.: 14,226


Australia


QUOTE (jezza333 @ Apr 6 2008, 07:28 PM) *
Gday mate, I tested it out an I can't say there's any script files lying around to prove that it has worked. Maybe I'm doing something wrong? (IMG:../forums/style_emoticons/default/laugh.gif)

"'C:\\Program Files\\WinBuilder\\Target\\VistaPE-Core\\Windows'" - Shouldn't that be "C:\Windows" ? (IMG:../forums/style_emoticons/default/huh.gif)


Hi Jezza,

The output should be like:
CODE
['D:\\build\\WinBuilder\\Projects\\VistaPE-Core\\Drivers\\Drivers\\AddDrivers.exe ', 'D:\\build\\WinBuilder\\Target\\VistaPE-Core\\Windows', 'D:\\build\\WinBuilder\\Projects\\VistaPE-Core\\Drivers\\Drivers\\Drivers']
Doing 1/65, cmd "peimg /inf="D:\build\WinBuilder\Projects\VistaPE-Core\Drivers\Drivers\Drivers\intel_chipset_Vista\5000XZVP.inf" "D:\build\WinBuilder\Target\VistaPE-Core\Windows""
Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved.  Installing INF package: D:\build\WinBuilder\Projects\VistaPE-Core\Drivers\Drivers\Drivers\intel_chipset_Vista\5000XZVP.inf  PEIMG completed the operation successfully. return code =  0
Doing 2/65, cmd "peimg /inf="D:\build\WinBuilder\Projects\VistaPE-Core\Drivers\Drivers\Drivers\intel_chipset_Vista\945.inf" "D:\build\WinBuilder\Target\VistaPE-Core\Windows""
Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved.  Installing INF package: D:\build\WinBuilder\Projects\VistaPE-Core\Drivers\Drivers\Drivers\intel_chipset_Vista\945.inf  PEIMG completed the operation successfully. return code =  0

snip....

The log is in D:\build\WinBuilder\Projects\VistaPE-Core\Drivers\Drivers\adddrivers.log on my machine.

The first line is the parameters that the program gets the from script
0: The executable path
1: The path of the windows image to insert the drivers in to.
2: The path that is being searched for drivers to insert.

If nothing was found in the drivers folder, you will just get the first line, so I reckon that's what has happened. Check the directory structure above and check that yours matches.

One thing I forgot to mention previously... make sure that peimg is in the system path!
Go to the top of the page
 
+Quote Post
TheHive
post Apr 19 2008, 03:35 AM
Post #4


Advanced Member
***

Group: .script developer
Posts: 2,592
Thank(s): 25
Joined: 14-July 06
Member No.: 5



Any Plans to add a Gui to it?
Go to the top of the page
 
+Quote Post
patsch
post Sep 4 2008, 07:03 AM
Post #5


Newbie
*

Group: Members
Posts: 6
Thank(s): 0
Joined: 15-April 08
Member No.: 14,481


Germany


I have some problems using this script ... I can't integrate drivers
the log-file shows for every driver I want to integrate:
QUOTE
Doing 65/104, cmd "peimg /inf="C:\temp\WinBuilder075_Beta4\Projects\VistaPE-Core\Drivers\Drivers\Drivers\intel\ich9usb.inf" "C:\temp\WinBuilder075_Beta4\Target\VistaPE-Core\Windows""
Preinstallation Environment Image Setup Tool for Windows
Copyright © Microsoft Corporation. All rights reserved.

PEIMG failed to use the servicing stack shim library (ssshim.dll) to locate a
servicing stack that matches the target image (0x80070003).

PEIMG failed to complete the operation with status code 0x80070003.
return code = 0

any plan what I'm doing wrong?

btw I use WinBuilder [075 beta 4] VistaPE Core v.12 (Beta 2) and a VistaDVD incl SP1 as source
Go to the top of the page
 
+Quote Post
« Next Oldest · VistaPE · Next Newest »
 

Fast ReplyReply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 

Display Mode: Standard · Switch to: Linear+ · Switch to: Outline

Track this topic · Email this topic · Print this topic · Subscribe to this forum

RSS Lo-Fi Version Time is now: 9th October 2008 - 03:53 AM

W3C XHTML • © 2008 Boot Land • All rights reserved • W3C CSS