I had designed the inf file and some installation package for my USB device ,
and some application will be copyed to system via the inf file and run it whe
the installation new device action finished, so I wrote one coinstaller dll
to run my applciation (executible file) when the coinstaller got the
DIF_FINISHINSTALL_ACTION DIF code , but there is one problem when I plug my
USB device into second USB port which my USB device never attached to, it
will show a prompted message to notify me if we would like to install the
driver software for my USB device when my USB device install the driver
automatically . is it normal to show the prompted message box? and can I
avoid the prompted message box to show and also launch my application at the
same time when the device installation finish?

Re: The issue of Driver install with the application coinstall on Vist by Doron

Doron
Mon Dec 25 11:43:21 CST 2006

if your device does not have a serial number, plugging it into a new port
will be treated as a new device

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Marvin_Taiwan" <MarvinTaiwan@discussions.microsoft.com> wrote in message
news:BA7966DE-1E3C-4153-ADD4-5F76E86C3D28@microsoft.com...
>I had designed the inf file and some installation package for my USB device
>,
> and some application will be copyed to system via the inf file and run it
> whe
> the installation new device action finished, so I wrote one coinstaller
> dll
> to run my applciation (executible file) when the coinstaller got the
> DIF_FINISHINSTALL_ACTION DIF code , but there is one problem when I plug
> my
> USB device into second USB port which my USB device never attached to, it
> will show a prompted message to notify me if we would like to install the
> driver software for my USB device when my USB device install the driver
> automatically . is it normal to show the prompted message box? and can I
> avoid the prompted message box to show and also launch my application at
> the
> same time when the device installation finish?
>



Re: The issue of Driver install with the application coinstall on by MarvinTaiwan

MarvinTaiwan
Mon Dec 25 20:14:00 CST 2006

Yes , I know , my USB device will be treated as a new device when I plug it
into a new port, but actually my driver had passed the WHQL certification and
got the digital sinature, and system will install my driver for my USB device
as the default driver automatically, and I would like to know how can I avoid
the prompted message to be showed when I plug my USB device to another USB
port , I think somethng wrong with my coninstaller dll , but I can't know
more details for error in the coinstaller, because I know if I don,t launch
any executable file(application) with my inf file , the prompted message box
will not apear , please kindly describ the details , thanks.

"Doron Holan [MS]" wrote:

> if your device does not have a serial number, plugging it into a new port
> will be treated as a new device
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "Marvin_Taiwan" <MarvinTaiwan@discussions.microsoft.com> wrote in message
> news:BA7966DE-1E3C-4153-ADD4-5F76E86C3D28@microsoft.com...
> >I had designed the inf file and some installation package for my USB device
> >,
> > and some application will be copyed to system via the inf file and run it
> > whe
> > the installation new device action finished, so I wrote one coinstaller
> > dll
> > to run my applciation (executible file) when the coinstaller got the
> > DIF_FINISHINSTALL_ACTION DIF code , but there is one problem when I plug
> > my
> > USB device into second USB port which my USB device never attached to, it
> > will show a prompted message to notify me if we would like to install the
> > driver software for my USB device when my USB device install the driver
> > automatically . is it normal to show the prompted message box? and can I
> > avoid the prompted message box to show and also launch my application at
> > the
> > same time when the device installation finish?
> >
>
>
>

Re: The issue of Driver install with the application coinstall on by chris

chris
Tue Dec 26 14:28:58 CST 2006

Which "prompted message" are you referring to exactly? The balloon tip
in the tray area indicating that a new device arrival is installing
drivers, or the add new hardware wizard?

If you're getting a hardware wizard, I don't think you preinstalled
your driver package correctly.

Marvin_Taiwan wrote:

> Yes , I know , my USB device will be treated as a new device when I plug it
> into a new port, but actually my driver had passed the WHQL certification and
> got the digital sinature, and system will install my driver for my USB device
> as the default driver automatically, and I would like to know how can I avoid
> the prompted message to be showed when I plug my USB device to another USB
> port , I think somethng wrong with my coninstaller dll , but I can't know
> more details for error in the coinstaller, because I know if I don,t launch
> any executable file(application) with my inf file , the prompted message box
> will not apear , please kindly describ the details , thanks.


Re: The issue of Driver install with the application coinstall on by Eliyas

Eliyas
Wed Dec 27 21:23:04 CST 2006

There has been some changes to the way installation is done on Vista and how
co/class installer can interact with user or install value added software.
This whitepaper documents all the rules. Please follow that.

http://www.microsoft.com/whdc/driver/install/InstallRules.mspx

-Eliyas