The described behavior sounds familiar. Assume the device driver is
not WHQL signed.For Win XP there is no workaround and you have a) do
the WHQL certification b) accept the situation with the driver
wizzard.

Also there should be a dialog ""Windows can't verify the publisher of
this driver" for Win 7 (comp.
http://www.bing.com/images/search?q=windows+cannot+verify+the+publisher+of+this+driver+software&go=&form=QBIR&qs=n&sk=
). This dialog (Only Win 7 not sure if Vista as well) can be
eleminated by signing the device driver with a cross certificate (
driver dll + exe):
Signtool sign /v /ac "C:\...\CrossCertificate\MyCrossCertificate.cer"
/f "c:\...\MyPFXFile.pfx" /p PASSWORD /n "COMPANYNAME" /t
http://timestamp.verisign.com/scripts/timestamp.dll FileToSign

As you described nothing on windows 7 I assume already cross signed the files...



2011/4/28 Orlando <javier.rami...@gmail.com>:
> Hi to all,
>
> I am currently Installing drivers via WIX for Windows XP 32 bit.  The
> installer runs fine. My question is... once I connect my device. Windows XP
> runs a wizard... and tries to install the drivers for the device. It
> shouldn't do that. It should just recognized the device and say is ready to
> go... avoiding to run a wizard.   Probably I am doing something wrong....
>  If I run the same installer for windows 7, I don't get the wizard problem.
> It just detects the device and works.
>
> Does anyone know why this happens?
>
> I am adding the code here, maybe I am doing something wrong for Windows XP
> 32 bit.
> ---
> <?xml version="1.0" encoding="UTF-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
>     xmlns:difx="http://schemas.microsoft.com/wix/DifxAppExtension";>
> <Product Id="1d68897d-fa74-49c7-9caf-17c25a0bd4ac"
>           Name="FlexInstaller_x32"
>           Language="1033"
>           Version="1.0.0.0"
>           Manufacturer="FlexComputing"
>           UpgradeCode="4f4b4a19-65da-4572-852f-9b87fbf3b3bf">
>
> <Package InstallerVersion="200" Compressed="yes" />
>
>    <MajorUpgrade DowngradeErrorMessage="A newer version already installed"
> />
>
> <Media Id="1" Cabinet="FlexInstaller_x32.cab" EmbedCab="yes" />
>
>    <Icon Id="Flex_icon.exe"
> SourceFile="..\FlexInstaller_x32\_files\Flex_icon.ico" />
>    <Property Id="ARPPRODUCTICON" Value="Flex_icon.exe" />
>    <Property Id="ALLUSERS" Value="1" />
>
>    <Directory Id="TARGETDIR" Name="SourceDir">
> <Directory Id="ProgramFilesFolder">
> <Directory Id="INSTALLLOCATION" Name="FlexInstaller_Drivers">
>          <Directory Id="INSTALLLOCATION1" Name="FlexInstaller_Usb">
>
>            <Component Id="USB_Component"
> Guid="6be53a8c-a078-4e7a-a93c-129275f071f5">
>
>              <File Id="WdfCoInstaller01007.dll"
> Name="WdfCoInstaller01007.dll" DiskId="1"
> Source="..\FlexInstaller_x32\_files\i386\WdfCoInstaller01007.dll"
> Vital="yes" />
>              <File Id="WinUSBCoInstaller.dll" Name="WinUSBCoInstaller.dll"
> DiskId="1" Source="..\FlexInstaller_x32\_files\i386\WinUSBCoInstaller.dll"
> Vital="yes" />
>              <File Id="Android_Winusb_X32.inf"
> Name="Android_Winusb_X32.inf" DiskId="1"
> Source="..\FlexInstaller_x32\_files\Android_Winusb_X32.inf" Vital="yes"  />
>              <File Id="Androidwinusb86.cat" Name="Androidwinusb86.cat"
> DiskId="1" Source="..\FlexInstaller_x32\_files\Androidwinusb86.cat"
> Vital="yes" />
>
>              <difx:Driver Legacy="yes" />
>
>              <RemoveFolder Id="FlexInstaller_Usb" On="uninstall"/>
>
>              <RegistryKey Id="FlexInstaller_UsbKey" Root="HKLM"
> Key="Software\Flextronics\FlexInstaller_Usb_x32"
> Action="createAndRemoveOnUninstall">
>                <RegistryValue Name="UsbInstaller" Type="string"
> Value="usb_driver_x32" />
>                <RegistryValue Name="Version" Type="string" Value="1.0.0.0"
> />
>              </RegistryKey>
>
>            </Component>
>          </Directory>
>
>          <Directory Id="INSTALLLOCATION2" Name="FlexInstaller_Modem">
>            <Component Id="Modem_Component"
> Guid="f8af1cF8-17ba-468f-ab06-95af61112fb5">
>
>              <File Id="Mousbser.sys" Name="Mousbser.sys" DiskId="1"
> Source="..\FlexInstaller_x32\_files\android_modem_x86\Mousbser.sys"
> Vital="yes" />
>              <File Id="Momdm.inf" Name="Momdm.inf" DiskId="1"
> Source="..\FlexInstaller_x32\_files\android_modem_x86\Momdm.inf"
> Vital="yes"/>
>              <File Id="mousbser.cat" Name="mousbser.cat" DiskId="1"
> Source="..\FlexInstaller_x32\_files\android_modem_x86\mousbser.cat"
> Vital="yes" />
>
>              <difx:Driver Legacy="yes"/>
>
>              <RemoveFolder Id="FlexInstaller_Modem" On="uninstall"/>
>
>              <RegistryKey Id="FlexInstaller_ModemKey" Root="HKLM"
> Key="Software\Flextronics\FlexInstaller_Modem"
> Action="createAndRemoveOnUninstall" >
>                <RegistryValue Name="ModemInstaller" Type="string"
> Value="modem_driver_x32" />
>                <RegistryValue Name="Version" Type="string" Value="1.0.0.0"
> />
>              </RegistryKey>
>
>            </Component>
>          </Directory>
>
> </Directory>
> </Directory>
> </Directory>
>
> <Feature Id="ProductFeature" Title="FlexInstaller_x32" Level="1">
>      <ComponentRef Id="USB_Component" />
>      <ComponentRef Id="Modem_Component"  />
> </Feature>
>
>    <UIRef Id="WixUI_Minimal" />
> </Product>
> </Wix>
>
>
> ---
>
> --
> ing. Javier Orlando Ramírez Martínez
> http://linux.mty.itesm.mx/~oramirez
> http://picasaweb.google.com/javier.ramirez
> http://twitter.com/oramirez1
> http://flickr.com/photos/orlando1
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to