Hi, I am trying to create setup file to install device drivers with usbr.inf, usbr.cat, and SiLib.sys, SiUSBXp.sys files, with using Difx tool to install.
when I run the code only with .inf and .cat files those files copied into DRVSTORE, but when I try to include .sys files, I am getting error: "Setup Wizard ended prematurely because of an error, Your system has not been modified", I have attached the log file, and giving my wix code here, could someone tell me what I am missing here ? <?xml version='1.0' encoding='Windows-1252'?> <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:difx='http://schemas.microsoft.com/wix/DifxAppExtension'> <Product Name='DriverInstaller' Id='0884BB4E-F1B1-4939-BDE1-5BA266F0B2E8' Language='1033' Codepage='1252' Version='1.0' Manufacturer='Pradeep' UpgradeCode='E22361FA-54DD-40cd-A64E-39015BECC058'> <Package Id='*' Keywords='Driver' Description='Driver' Comments='Driver' Manufacturer='Pradeep' InstallerVersion='100' Languages='1033' Compressed='yes' SummaryCodepage='1252' /> <Media Id='1' Cabinet='driver.cab' EmbedCab='yes' /> <Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id='ProgramFilesFolder'> <Directory Id="Driver" Name ="DeviceDriver"> <Directory Id="ICCDIR" Name="Driverss"> <Directory Id="DEVICEDRIVERS" Name="DeviceDriver" /> </Directory> </Directory> </Directory> </Directory> <DirectoryRef Id="DEVICEDRIVERS"> <Directory Id="USBRDRIVERS" Name="USBR Driver" /> </DirectoryRef> <DirectoryRef Id="USBRDRIVERS"> <Component Id="USBRDriverComponent" Guid="1124B6EA-0E96-47d7-9CA6-2F48FFD4F620"> <File Id="usbr.inf" Name="usbr.inf" DiskId="1" Source="..\..\Device Drivers\new\usbr.inf" Vital="yes"/> <File Id="usbr.cat" Name="usbr.cat" DiskId="1" Source="..\..\Device Drivers\new\usbr.cat" Vital="yes"/> <difx:Driver Legacy='yes' /> </Component> </DirectoryRef> <DirectoryRef Id="USBRDRIVERS"> <Directory Id="X86USB" Name="x86" /> </DirectoryRef> <DirectoryRef Id="X86USB"> <Component Id="USBRX86DriverComponent" Guid="B15A8868-5A16-49c1-8C66-B699453DDBC5"> <File Id="silib.sys" Name="SiLib.sys" DiskId="1" Source="..\..\Device Drivers\new\SiLib.sys" Vital="yes"/> <File Id="siusbxp.sys" Name="SiUSBXp.sys" DiskId="1" Source="..\..\Device Drivers\new\SiUSBXp.sys" Vital="yes"/> <difx:Driver Legacy='yes' /> </Component> </DirectoryRef> <Feature Id='Complete' Level='1'> <ComponentRef Id='USBRDriverComponent' /> <ComponentRef Id='USBRX86DriverComponent' /> </Feature> <UIRef Id="WixUI_Minimal" /> </Product> </Wix> Thanks, Pradeep -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Setup-Wizard-ended-prematurely-driver-setup-tp6384851p6384851.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users