Re: function driver installation inside of an applica tion

Yes Marc is the devcon project, to install a device driver use devcon
install .
Thanks people by your help.

Leandro Farinati
-----Original Message-----
From: Marc Reinig [mailto:xxxxx@nospam.com]
Sent: quarta-feira, 26 de mar?o de 2003 12:57
To: NT Developers Interest List
Subject: [ntdev] Re: function driver installation inside of an
application

Devcon in the DDK?

Marc Reinig
System Solutions

“Leonid Meyerovich” wrote in message
news:xxxxx@ntdev…
>
> There is an example in DDK\src\setup\install, as well as FASTINST in
Walter
> Oney book.
> I didn’t find any example for uninstalling driver, may be somebody will
give
> me the reference.
>
> Leonid
>
> ----- Original Message -----
> From: “FARINATI,LEANDRO (HP-Brazil,ex1)” <leandro.farinati>
> To: “NT Developers Interest List”
> Sent: Wednesday, March 26, 2003 8:02 AM
> Subject: [ntdev] function driver installation inside of an application
>
>
> > Hi people,
> >
> > I create a fake (not have a real hardware associated to it) function
> > driver and I need install this driver automatically inside my
application
> > install program.
> > How I do this?
> >
> > Thanks in advance,
> >
> > -----------------------------------------------------------------------
> > Leandro Marcondes Farinati
> > Software Developer
> >
> > * leandro.farinati@hp.com
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@v-one.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>


You are currently subscribed to ntdev as: leandro.farinati@hp.com
To unsubscribe send a blank email to xxxxx@lists.osr.com</leandro.farinati>

A new OEM# file is created when a new driver is installed. It is used by the
Setup process to select the driver for a device. You have to write an
uninstall program to remove this file if so desired. I think you need to do
this when the new driver does not work properly and you want the old driver
to be used. Refer to the following link for more information about how Setup
selects driver:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/install/hh/
install/dif-codes_822a.asp

Tri

-----Original Message-----
From: Leonid Meyerovich [mailto:xxxxx@v-one.com]
Sent: Monday, March 31, 2003 8:14 AM
To: NT Developers Interest List
Subject: [ntdev] Re: function driver installation inside of an
application

So, what it the role of .OEM files? Every time when new driver instance is
installed a new .OEM file is created. Who uses it? Who deltes it?

Leonid

----- Original Message -----
From: “Mathieu Routhier”
To: “NT Developers Interest List”
Sent: Friday, March 28, 2003 8:49 AM
Subject: [ntdev] Re: function driver installation inside of an applica tion

> IMHO, it’s not such a big deal to delete oem*.inf files. By deleting
them,
> you just make Windows forget about those past installations infs.
>
> And if a driver is already installed, it won’t affected it (infs are only
> accessed during device installations).
>
> A couple of times in the past, I had to delete those files because I had
> problems with hardware id matching with some old versions of my inf. It’s
> also useful to delete them if you want to test installing on a clean
> machine. But you can’t really beat a good old reghost :wink:
>
> Mat
>
> -----Original Message-----
> From: Marc Reinig [mailto:xxxxx@nospam.com]
> Sent: Thursday, March 27, 2003 1:40 PM
> To: NT Developers Interest List
> Subject: [ntdev] Re: function driver installation inside of an applica
tion
>
> The source code for DevCon is in the DDK, just use the part that is used
for
> the uninstall or whatever.
>
> You should not delete the OEM*.INF unless you are really sure of what you
> are doing. You might get the wrong one if multiple devices have been
> installed.
>
> Marc Reinig
> System Solutions
>
>
> “Leonid Meyerovich” wrote in message
> news:xxxxx@ntdev…
>
> DevCon is doing even more job than I need, but I need a code example.
> During installation process file OEM*.INF is created in INF folder. Beside
> SetupCopyOemInf() is there any other function that creates this file? I
> believe this file is used in uninstallation process (am I wrong?). Who
> should delete this file?
>
> Thank you
> Leonid
> ----- Original Message -----
> From: “Marc Reinig”
> Newsgroups: ntdev
> To: “NT Developers Interest List”
> Sent: Wednesday, March 26, 2003 12:28 PM
> Subject: [ntdev] Re: function driver installation inside of an applica
tion
>
>
> > I was actually answering the question about uninstalling a driver:
> >
> > devcon.exe [-r] remove
> >
> > Marc Reinig
> > System Solutions
> >
> > “FARINATI,LEANDRO (HP-Brazil,ex1)” <leandro.farinati> wrote in
> > message news:xxxxx@ntdev…
> >
> > Yes Marc is the devcon project, to install a device driver use devcon
> > install .
> > Thanks people by your help.
> >
> > Leandro Farinati
> > -----Original Message-----
> > From: Marc Reinig [mailto:xxxxx@nospam.com]
> > Sent: quarta-feira, 26 de mar?o de 2003 12:57
> > To: NT Developers Interest List
> > Subject: [ntdev] Re: function driver installation inside of an
> > application
> >
> >
> > Devcon in the DDK?
> >
> > Marc Reinig
> > System Solutions
> >
> > “Leonid Meyerovich” wrote in message
> > news:xxxxx@ntdev…
> > >
> > > There is an example in DDK\src\setup\install, as well as FASTINST in
> > Walter
> > > Oney book.
> > > I didn’t find any example for uninstalling driver, may be somebody
will
> > give
> > > me the reference.
> > >
> > > Leonid
> > >
> > > ----- Original Message -----
> > > From: “FARINATI,LEANDRO (HP-Brazil,ex1)” <leandro.farinati>
> > > To: “NT Developers Interest List”
> > > Sent: Wednesday, March 26, 2003 8:02 AM
> > > Subject: [ntdev] function driver installation inside of an application
> > >
> > >
> > > > Hi people,
> > > >
> > > > I create a fake (not have a real hardware associated to it) function
> > > > driver and I need install this driver automatically inside my
> > application
> > > > install program.
> > > > How I do this?
> > > >
> > > > Thanks in advance,
> > > >
> > >
> > -----------------------------------------------------------------------
> > > > Leandro Marcondes Farinati
> > > > Software Developer
> > > >
> > > > * leandro.farinati@hp.com
> > > >
> > > >
> > > >
> > > >
> > > > —
> > > > You are currently subscribed to ntdev as: xxxxx@v-one.com
> > > > To unsubscribe send a blank email to
xxxxx@lists.osr.com
> > >
> > >
> > >
> > >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: leandro.farinati@hp.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@v-one.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@guillemot.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@v-one.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@unisys.com
To unsubscribe send a blank email to xxxxx@lists.osr.com</leandro.farinati></leandro.farinati>