I'm testing my installaition of device driver (with supporting other
components e.g. service and gui element). Currently doing test on WinXP
with installer on machine 3.01.4001.5512 .
I'm also using Wix 3.5.
Install portion works ok, everything looks like it's in right place.
On uninstall I get the following error (C/paste last bit of log):
MSI (s) (58:00) [11:45:08:130]: Created Custom Action Server with PID 124
(0x7C).
MSI (s) (58:20) [11:45:08:161]: Running as a service.
MSI (s) (58:74) [11:45:08:161]: Hello, I'm your 32bit Elevated custom action
server.
DIFXAPP: UninstallDriverPackages()
DIFXAPP: 'CustomActionData' property 'DIFxApp Version' is 2.1.
DIFXAPP: 'CustomActionData' property 'UI Level' is 3.
DIFXAPP: 'CustomActionData' property 'componentId' is
{328B00CD-4ED2-40C0-B44E-7ECEF4182300}.
DIFXAPP: 'CustomActionData' property 'flags' is 0x0.
DIFXAPP: 'CustomActionData' property 'ProductName' is xxxxxxxxxx4.0.0.0.
DIFXAPP: 'CustomActionData' property 'ManufacturerName' is xxxxxxxxxx.
DIFXAPP: INFO: user SID of user performing the install is
'S-1-5-21-1214440339-1035525444-1801674531-500'.
DIFXAPP: INFO: opening
HKEY_USERS\S-1-5-21-1214440339-1035525444-1801674531-500\Software\Microsoft\Windows\CurrentVersion\DIFxApp\Components\{328B00CD-4ED2-40C0-B44E-7ECEF4182300}
(User's SID: 'S-1-5-21-1214440339-1035525444-1801674531-500') ...
DIFXAPP: INFO: ENTER: DriverPackageUninstallW
DIFXAPP: INFO: Uninstalling driver package
C:\WINDOWS\system32\DRVSTORE\filter_30390BED04FEBE96F6DA15543CA74856B6D25698\filter.inf...
DIFXAPP: ERROR: Unable to revert to a previous driver store for service
'CSPDRV'.
Fragment that deals with windows driver is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:difx='http://schemas.microsoft.com/wix/DifxAppExtension'>
<?include $(sys.CURRENTDIR)Includes\Core-StateVariables.wxi ?>
<Fragment>
<DirectoryRef Id="DriverFolder">
<!-- Windows Core-State Driver -->
<Component
Id="DriverComponent"
Guid="328B00CD-4ED2-40C0-B44E-7ECEF4182300">
<!-- Specify driver file name -->
<File
Id="DriverFile"
Name="$(var.DriverName)"
Source="$(var.ServiceBaseWinXP)$(var.DriverName)"
Hidden="yes"
/>
<File
Id="DriverFilter"
Name="$(var.DriverFilter)"
Source="$(var.ServiceBaseWinXP)$(var.DriverFilter)"
Hidden="yes"
/>
<File
Id="DriverCatalog"
Name="$(var.DriverCatalog)"
Source="$(var.ServiceBaseWinXP)$(var.DriverCatalog)"
Hidden="yes"
/>
<difx:Driver />
<RegistryKey Root="HKLM"
Key="SYSTEM\CurrentControlSet\Services\CSPDRV\Parameters"
Action="createAndRemoveOnUninstall">
<Permission User="Administrators" GenericAll="yes"/>
<RegistryValue Type="integer" Name="RescueFlags" Value="8"/>
<RegistryValue Type="integer" Name="RecoveryFlags" Value="1"/>
</RegistryKey>
</Component>
</DirectoryRef>
</Fragment>
</Wix>
-------------------------------------
Anybody can provide me guidance on what I should be looking for?
Bernie
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users