Help - Search - Members - Calendar
Full Version: "Microsoft Data Access Components" Plugin
The CD Forum > Bart's PE Builder > General
Bazaroff
Hello! I'm from Russia! Excuse my poor English proficiency.
Very few Russian-language forums on BartPE. In those forums, there is friendly to newcomers. There is even less friendly to those who are not expert.
Also, excuse my poor knowledge of BartPE.
To create the disk I needed MDAC. I found this plugin. But this plugin does not install the components and creates the file Install.exe. This file must be run in PE for the installation of components.
In the help file is written about the possibility of car setup, but there is no complete instructions for this.
I did not know how to solve the problem. Then I wrote a CMD-file, but could not automate it to run.
Also failed to take advantage of this Autorun-plugin.
I have read the Autorun-plugin. In the help file says that this plugin runs the files Autorun_ *. Cmd located in% SystemRoot% \ system32.
I did so, but the file does not start.
Please help me solve this problem.

I am using PE Builder v3.1.10a
jaclaz
Well, said from an Italian wink.gif, your English is not that bad. smile.gif
Where exactly did you get the MDAC plugin from? (post a link to the relevant thread)

The Autorun plugin must be enabled when you do the build:
http://www.911cd.net/forums//index.php?showtopic=23811

Don't worry smile.gif, though we also like to bite newcomers w00t.gif, we might do an exception for you wink.gif.

cheers.gif
jaclaz


Bazaroff
Thank you so much for the warm welcome!

QUOTE (jaclaz @ Mar 15 2012, 12:28 PM) *
Well, said from an Italian wink.gif, your English is not that bad. smile.gif


This is a translation of Google. It is difficult to construct sentences that are understandable for the Google translator.

QUOTE (jaclaz @ Mar 15 2012, 12:28 PM) *
Where exactly did you get the MDAC plugin from? (post a link to the relevant thread)


Here is this MDAC-plugin.
http://www.drowaelder.de/winpe/MDAC_2.8_SP..._SP2/MDAC_2.Cab

QUOTE (jaclaz @ Mar 15 2012, 12:28 PM) *
The Autorun plugin must be enabled when you do the build:
http://www.911cd.net/forums//index.php?showtopic=23811


It is a bad machine translation. This requires a simple combination of words in the topics. (I'm talking about link.)
I understood from the text, in order to use autorun plugin need to run nu2menu.
My project is BartXPE. And all the plugins of this project are implemented without the use of nu2menu.
I thought it would be a mistake. But the autorun plugin was in the builder. The string "nu2menu" was closed in the inf file of the plugin.
If you want to see the builder - is here. http://www.fayloobmennik.net/1666256

QUOTE (jaclaz @ Mar 15 2012, 12:28 PM) *
Don't worry smile.gif, though we also like to bite newcomers w00t.gif, we might do an exception for you wink.gif.

cheers.gif
jaclaz


I want to again thank you for your friendship!
cdob
QUOTE (Bazaroff @ Mar 16 2012, 12:56 AM) *
My project is BartXPE.


Does default manual parts works? mdac2.8.inf
QUOTE
0x2,"Sherpya\XPEinit\Programs","Tools\MDAC\MDAC-Installer","%SystemDrive%\programs\MDAC\MDAC-Installer.exe"
0x2,"Sherpya\XPEinit\Programs","Tools\MDAC\MDAC-Installer-AUTO","%SystemDrive%\programs\MDAC\MDAC-Installer.exe|/AUTO"
0x2,"Sherpya\XPEinit\Programs","Tools\MDAC\MDAC-Installer-HIDDEN","%SystemDrive%\programs\MDAC\MDAC-Installer.exe|/HIDDEN"
Boot BartPE and select the installer.

Do you like to run the installer automatically?
Read z_xpe-custom.inf.sample as a example. There is RunOnceEx used to run a batch.
Copy z_xpe-custom.inf.sample to z_xpe-custom.inf. And edit the new file.

jaclaz
But if it does not use nu2menu, does it use Sherpya's XPE?
If yes, you shoudl need something "like" unsure.gif:
CODE
; Sherpya's XPE-Autostart (reg add-values):
[Software.AddReg]
0x1, "Sherpya\XPEinit\StartUp", "autostart cmd file", "%SystemDrive%\i386\system32\autorun0_whatever.cmd"

to have your .cmd auto-execute....

cheers.gif
jaclaz
Bazaroff
Hello! Sorry for the long silence.
My colleague had a baby. Therefore, a corporate party with lots of alcohol.
After these parties, I usually get sick a few days. I was unable to work.

To continue this theme, I want to define a method to get results.
If I understand from the posts, my problem can be solved in two ways:
1) Using the capabilities of the MDAC-plugin;
2) Using the autorun plugin with the launch of CMD-file.
I would prefer the 1st method.
Therefore, I have a question for the post from cdob.
This is the post:

"Read z_xpe-custom.inf.sample as a example. There is RunOnceEx used to run a batch.
Copy z_xpe-custom.inf.sample to z_xpe-custom.inf. And edit the new file. "


The file z_xpe-custom.inf I should find a line that says "RunOnceEx"?
I've seen in this file the following lines. You are talking about this?
And I do not understand what and where you say to copy.
How should I understand? "Copy z_xpe-custom.inf.sample to z_xpe-custom.inf."

Forgive me for my dullness.
cdob
Can you clarify: do you use Sherpya's XPE plugin?

Can you run MDAC manually?
Bazaroff
Can you clarify: do you use Sherpya's XPE plugin?

I can not really answer this question. How do I know this?
I looked at some plugins and some of them say "Created by Sherpya" and the other says another.
This MDAC-plugin says "Plugin created by Joshua V-0.99 - 03.06.2005".
In addition to my builder have a package XPE-plugins 1.0.7.

Can you run MDAC manually?

I do not understand why this plugin is not installed automatically during the boot PE.
Such lines are present in the plugin.

[Software.AddReg]
0x1,"Microsoft\Windows\CurrentVersion", "CommonFilesDir", "X:\Program Files\Common Files"
; only for XPE-Plugin
0x2,"Sherpya\XPEinit\Programs","Tools\MDAC\MDAC-Installer","%SystemDrive%\programs\MDAC\MDAC-Installer.exe"
0x2,"Sherpya\XPEinit\Programs","Tools\MDAC\MDAC-Installer-AUTO","%SystemDrive%\programs\MDAC\MDAC-Installer.exe|/AUTO"
0x2,"Sherpya\XPEinit\Programs","Tools\MDAC\MDAC-Installer-HIDDEN","%SystemDrive%\programs\MDAC\MDAC-Installer.exe|/HIDDEN"

But how do I implement the presented "AUTO"?
This plugin only creates install.exe-file. And then I had to install this package components.
jaclaz
Bazaroff
You miss a small piece of "history".

Initially the original WinPE from microsoft used as SHELL the cmd.exe console.
Bart developed a new menu system/shell called nu2menu.
Then some people started working on a shell that could make the PE look more like a normally booted Windows XP.
Sherpya worship.gif made a thingy called Sherpya's XPE or just XPE to that effect.

Different BartPE builds may have different shells and the behavious of such things as menu systems, auto-executing commands/apps, shortcuts are implemented differently on different shells.

Here you can find is a screenshot of a BartPE using nu2menu and one using Sherpya's XPE:
http://www.cdrinfo.com/sections/reviews/pr...articleid=15113

Basically if when you boot you have a "normal" taskbar and a "Start" button, it is likely you are using XPE, if you have an oddly shaped button with "GO" on it you are likely to be using normal nu2menu.

cheers.gif
jaclaz
Bazaroff
Thank you, jaclaz, for the interesting lecture!)
I did not know that XPE is Sherpya. I thought that the Sherpya is one of the many varieties of XPE.
Now I can confidently say that my project is the XPE or Sherpyas.
I came across a builder nu2menu interface, but I found it less convenient than the XPE interface.
Now that we have found the "type" of my project, the methods of solving the problem easier?
jaclaz
QUOTE (Bazaroff @ Mar 21 2012, 07:17 PM) *
Now that we have found the "type" of my project, the methods of solving the problem easier?


Expand the contents of xpe-1.0.7.cab in a directory.

READ xpe.htm

Re-read posts #4 and #5.

The bolded entries:
QUOTE
[Software.AddReg]
0x1,"Microsoft\Windows\CurrentVersion", "CommonFilesDir", "X:\Program Files\Common Files"
; only for XPE-Plugin
0x2,"Sherpya\XPEinit\Programs","Tools\MDAC\MDAC-Installer","%SystemDrive%\programs\MDAC\MDAC-Installer.exe"
0x2,"Sherpya\XPEinit\Programs","Tools\MDAC\MDAC-Installer-AUTO","%SystemDrive%\programs\MDAC\MDAC-Installer.exe|/AUTO"
0x2,"Sherpya\XPEinit\Programs","Tools\MDAC\MDAC-Installer-HIDDEN","%SystemDrive%\programs\MDAC\MDAC-Installer.exe|/HIDDEN"

ONLY add the links to the three methods of installing to the menu.
To have it auto start, you need to choose WHICH of the three methods you want to run and add the corresponding command to Sherpya\XPEinit\StartUp
Try running manually (open a command prompt and type in it):
CODE
%SystemDrive%\programs\MDAC\MDAC-Installer.exe

etc.
does it work?

cheers.gif
jaclaz
Bazaroff
On your advice I did the following as an experiment.
In the Bart-environment. I brought this to the console command:

%systemdrive%\programs\mdac\mdac-installer.exe /auto

The installation was successful. Such an experiment I conducted earlier.

Then I read what you have pointed out to me.
It is difficult not to get confused with the translation.

I did so, as I understand read:
Z_xpe-custom.inf file. Software.AddReg-section. Startup-subsection.
There I added the line

0x2,"Sherpya\XPEinit\Programs","Tools\MDAC\MDAC-Installer-AUTO","%SystemDrive%\programs\MDAC\MDAC-Installer.exe|/AUTO"

I created a CD with the modified file.
But when loading the disc installation MDAC did not happen.(((
cdob
Read xpe.htm again.
QUOTE
"Sherpya\XPEinit\StartMenu" to place shortcuts on Start Menu Root
"Sherpya\XPEinit\StartUp" is used for StartUp (autorun programs after explorer.exe)
"Sherpya\XPEinit\Programs" to place shortcuts on Start Menu Programs folder


Use StartUp to autorun a program.

Try
CODE
0x2,"Sherpya\XPEinit\StartUp","MDAC-Installer-AUTO","%SystemDrive%\programs\MDAC\MDAC-Installer.exe|/AUTO"
jaclaz
QUOTE (cdob @ Mar 22 2012, 09:58 PM) *
Read xpe.htm again.

Or re-read my previous post wink.gif.

QUOTE (jaclaz @ Mar 21 2012, 08:50 PM) *
The bolded entries:
QUOTE
[Software.AddReg]
0x1,"Microsoft\Windows\CurrentVersion", "CommonFilesDir", "X:\Program Files\Common Files"
; only for XPE-Plugin
0x2,"Sherpya\XPEinit\Programs","Tools\MDAC\MDAC-Installer","%SystemDrive%\programs\MDAC\MDAC-Installer.exe"
0x2,"Sherpya\XPEinit\Programs","Tools\MDAC\MDAC-Installer-AUTO","%SystemDrive%\programs\MDAC\MDAC-Installer.exe|/AUTO"
0x2,"Sherpya\XPEinit\Programs","Tools\MDAC\MDAC-Installer-HIDDEN","%SystemDrive%\programs\MDAC\MDAC-Installer.exe|/HIDDEN"


ONLY add the links to the three methods of installing to the menu.
To have it auto start, you need to choose WHICH of the three methods you want to run and add the corresponding command to Sherpya\XPEinit\StartUp


cheers.gif
jaclaz
Bazaroff
Thank you so much!
I saw my mistake!
I have written "programs" and had to write a "startup".
I fixed it.
It was very strange. Installation was not passed, but after loading the PE has opened a window:
b: \ temp \ documents and settings \ default user \ Start Menu \ Programs \ Startup \ Tools
with a folder MDAC.
Something has gone wrong ...
jaclaz
QUOTE (Bazaroff @ Mar 22 2012, 10:52 PM) *
I fixed it.

Post the exact strings you have written, even a small typo can cause such an error.

cheers.gif
jaclaz
Bazaroff
;startup
;0x0,"sherpya\xpeinit\startup"
0x2,"sherpya\xpeinit\startup","tools\mdac\mdac-installer-auto","%systemdrive%\programs\mdac\mdac-installer.exe|/auto"

I wrote it from my z_xpe-custom.inf.
jaclaz
Is in your view this:
QUOTE (Bazaroff @ Mar 23 2012, 08:29 PM) *
0x2,"sherpya\xpeinit\startup","tools\mdac\mdac-installer-auto","%systemdrive%\programs\mdac\mdac-installer.exe|/auto"

EXACTLY what was suggested to you by cdob ?

CODE
0x2,"Sherpya\XPEinit\StartUp","MDAC-Installer-AUTO","%SystemDrive%\programs\MDAC\MDAC-Installer.exe|/AUTO"


Why don't you try using EXACTLY what was suggested to you?

Example (automotive comparison):
Q.My car does not start, what can I do?
A.Verify that spark plugs are clean and check that the gap in them is exactly 0.6 mm.
Q.I cleaned them, then checked the gap - had no suitable tools - so i made them roughly between 0.8 and 1.0 mm, my car seems like starting but it doesn't, what should I do?
A.Check that the gap in them spark plugs is exactly 0.6 mm.

cheers.gif
jaclaz
Bazaroff
Thank you so much!
I feel very sorry for my carelessness. (((
To my regret, my care decreases with age.

It started to work!)
During the boot MDAC, there was a message about the absence of the two files.
I added these files in a folder Files of MDAC- plugin.
It turned out well!

With your permission, if necessary, I will turn to you for help.
So is it possible?
jaclaz
QUOTE (Bazaroff @ Mar 24 2012, 04:37 PM) *
Thank you so much!
I feel very sorry for my carelessness. (((
To my regret, my care decreases with age.

How old are you? Judging from this thread, 150 years old!? w00t.gif
Just joking wink.gif.
No problem only too happy you made it. smile.gif


QUOTE (Bazaroff @ Mar 24 2012, 04:37 PM) *
It started to work!)
During the boot MDAC, there was a message about the absence of the two files.
I added these files in a folder Files of MDAC- plugin.
It turned out well!

Very good. smile.gif
Just for your interest:
QUOTE (C.S.Lewis)
Experience: that most brutal of teachers. But you learn, my God do you learn.

and:
QUOTE (Ray Bradbury)
Life is "trying things to see if they work".


QUOTE (Bazaroff @ Mar 24 2012, 04:37 PM) *
With your permission, if necessary, I will turn to you for help.
So is it possible?

Sure it is possible, that's the basic idea behind a forum like this one, someone needs help and someone else tries providing it. thumbsup.gif

cheers.gif
jaclaz
Bazaroff
And in Russian:
"Century live - century learn!"
(folk wisdom)

Thank you, friends!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.