[OFED] make sure HCA driver files are deleted as uninstall does not cleanup properly...
[mirror/winof/.git] / OFED / WIX / common / hca_filters.inc
1 <Include>\r
2 \r
3       <!-- Assumes FLTR is uiniquely set, see mlnx_drivers.inc -->\r
4 \r
5       <File Id="$(var.FLTR)complib.dll" DiskId="1"\r
6              Name="complib.dll"\r
7              Source="..\bin\HCA\$(var.ARCH)\complib.dll" />\r
8       <File Id="$(var.FLTR)complibd.dll" DiskId="1"\r
9              Name="complibd.dll"\r
10              Source="..\bin\HCA\$(var.ARCH)\complibd.dll" />\r
11 \r
12       <File Id="$(var.FLTR)ibal.dll" DiskId="1"\r
13              Name="ibal.dll"\r
14              Source="..\bin\HCA\$(var.ARCH)\ibal.dll" />\r
15       <File Id="$(var.FLTR)ibald.dll" DiskId="1"\r
16              Name="ibald.dll"\r
17              Source="..\bin\HCA\$(var.ARCH)\ibald.dll" />\r
18 \r
19       <File Id="$(var.FLTR)ibbus.sys" DiskId="1"\r
20              Name="ibbus.sys"\r
21              Source="..\bin\HCA\$(var.ARCH)\ibbus.sys" />\r
22       <File Id="$(var.FLTR)ibbus.pdb" Name="ibbus.pdb" DiskId="1"\r
23             \r
24              Source="..\bin\HCA\$(var.ARCH)\ibbus.pdb" />\r
25 \r
26       <?if $(var.ARCHP) = "x64" Or $(var.ARCHP) = "ia64" ?>\r
27           <File Id="$(var.FLTR)cl32.dll" DiskId="1"\r
28                  Name="cl32.dll"\r
29                  Source="..\bin\HCA\$(var.ARCH)\cl32.dll" />\r
30           <File Id="$(var.FLTR)cl32d.dll" DiskId="1"\r
31                  Name="cl32d.dll"\r
32                  Source="..\bin\HCA\$(var.ARCH)\cl32d.dll" />\r
33 \r
34           <File Id="$(var.FLTR)ibal32.dll" DiskId="1"\r
35                  Name="ibal32.dll"\r
36                  Source="..\bin\HCA\$(var.ARCH)\ibal32.dll" />\r
37           <File Id="$(var.FLTR)ibal32d.dll" DiskId="1"\r
38                  Name="ibal32d.dll"\r
39                  Source="..\bin\HCA\$(var.ARCH)\ibal32d.dll" />\r
40 \r
41           <RemoveFile Id='$(var.FLTR)rm64_ibal.dll' On='uninstall'\r
42                  Property="System64Folder"\r
43                  Name="ibal.dll" />\r
44           <RemoveFile Id='$(var.FLTR)rm64_ibald.dll' On='uninstall'\r
45                  Property="System64Folder"\r
46                  Name="ibald.dll" />\r
47           <RemoveFile Id='$(var.FLTR)rm64_complib.dll' On='uninstall'\r
48                  Property="System64Folder"\r
49                  Name="complib.dll" />\r
50           <RemoveFile Id='$(var.FLTR)rm64_complibd.dll' On='uninstall'\r
51                  Property="System64Folder"\r
52                  Name="complibd.dll" />\r
53       <?endif?>\r
54 \r
55       <!--\r
56          Orphaned install files - remove on uninstall\r
57          x64 SystemFolder == SysWOW64, System64Folder == System32\r
58       -->\r
59       <RemoveFile Id='$(var.FLTR)rm_ibal.dll' On='uninstall'\r
60              Property="SystemFolder"\r
61              Name="ibal.dll" />\r
62       <RemoveFile Id='$(var.FLTR)rm_ibald.dll' On='uninstall'\r
63              Property="SystemFolder"\r
64              Name="ibald.dll" />\r
65       <RemoveFile Id='$(var.FLTR)rm_complib.dll' On='uninstall'\r
66              Property="SystemFolder"\r
67              Name="complib.dll" />\r
68       <RemoveFile Id='$(var.FLTR)rm_complibd.dll' On='uninstall'\r
69              Property="SystemFolder"\r
70              Name="complibd.dll" />\r
71 \r
72       <RemoveFile Id='$(var.FLTR)rm_ibbus.sys' On='uninstall'\r
73              Property="SystemFolder" Name="ibbus.sys" />\r
74 \r
75       <RemoveFile Id='$(var.FLTR)rm64_ibbus.sys' On='uninstall'\r
76              Property="System64Folder" Name="ibbus.sys" />\r
77 \r
78       <?include $(sys.CURRENTDIR)\..\..\common\winverbs_drivers.inc ?> \r
79 \r
80 </Include>\r