[WinOF] remove orphaned files on uninstall
[mirror/winof/.git] / WinOF / WIX / wlh / x64 / wof.wxs
index b690933..63a4cff 100644 (file)
               <File Id="ib_iou.inf" Compressed="yes" DiskId="1"\r
                      LongName="ib_iou.inf" Name="IB_IOU.inf"\r
                      Source="..\bin\HCA\amd64\ib_iou.inf" />\r
+              <!--\r
+                 Orphaned install files - remove on uninstall\r
+                 Here SystemFolder == SysWOW64, System64Folder == System32\r
+              -->\r
+              <RemoveFile Id='o64_ibal.dll' On='uninstall'\r
+                     Property="SystemFolder"\r
+                     Name="ibal.dll" LongName='ibal.dll' />\r
+              <RemoveFile Id='o64_complib.dll' On='uninstall'\r
+                     Property="SystemFolder"\r
+                     Name="complib.dll" LongName='complib.dll' />\r
             </Component>\r
 \r
             <Component Id="cMthcaDriver"\r
               <File Id="ndinstall.exe" Compressed="yes" DiskId="1"\r
                      LongName="ndinstall.exe" Name="NDINSTAL.EXE"\r
                      Source="..\bin\net\amd64\ndinstall.exe" />\r
+              <!-- Orphaned install files - remove on uninstall -->\r
+              <RemoveFile Id='o32_ibwsd.dll' On='uninstall'\r
+                     Property="System64Folder"\r
+                     Name="ibwsd.dll" LongName='ibwsd.dll' />\r
+              <RemoveFile Id='o64_ibwsd.dll' On='uninstall'\r
+                     Property="SystemFolder"\r
+                     Name="ibwsd.dll" LongName='ibwsd.dll' />\r
             </Component>\r
           </Directory>\r
 \r