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</leandro.farinati></leandro.farinati>
Try to look at your Model section in INF. If you are a fake device driver,
then your device emulator would be “root”, so there are something like
“root\FakeDev” in your Model section, just use this string in Devcon sample.
Nike
----- Original Message -----
From: “FARINATI,LEANDRO (HP-Brazil,ex1)” <leandro.farinati>
To: “NT Developers Interest List”
Sent: Thursday, March 27, 2003 4:45 AM
Subject: [ntdev] Re: function driver installation inside of an applica tion
Hi people,
I need make this installation without a HW id, this installation
methods needed a HW id or the installation process does not work. Exists
this method? If yes, How I implement this?
Other question, where I found the list of HW ids to I choose one or
create one for a device driver?
Thanks,
Leandro Farinati
-----Original Message-----
From: FARINATI,LEANDRO (HP-Brazil,ex1) [mailto:leandro.farinati@hp.com]
Sent: quarta-feira, 26 de mar?o de 2003 14:18
To: NT Developers Interest List
Subject: [ntdev] 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
—
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@iei.com.tw
To unsubscribe send a blank email to xxxxx@lists.osr.com</leandro.farinati></leandro.farinati>
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</leandro.farinati></leandro.farinati>
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</leandro.farinati></leandro.farinati>