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</leandro.farinati></leandro.farinati>