Take a swag at removing after install created files which would prevent the OFED_SDK\Samples folder from being removed during an OFED uninstall operation.
Revision: 2785 Author: stansmith Date: 4:55:02 PM, Wednesday, April 14, 2010 Message: [WIX] remove Sample code files generated during compilation & link to allow successful uninstall of OFED_SDK\Samples folder. ---- Modified : /gen1/trunk/OFED/WIX/common/ib_sdk.inc Signed-off-by: stan smith <[email protected]> --- a/OFED/WIX/common/ib_sdk.inc Wed Apr 14 16:44:53 2010 +++ b/OFED/WIX/common/ib_sdk.inc Wed Apr 14 16:44:16 2010 @@ -464,6 +464,14 @@ <File Id="README.txt" DiskId="1" Name="README.txt" Source="..\..\SDK_Samples\WDK\README.txt" /> + + <!-- remove build generated files --> + <RemoveFile Id='wdk_bld1_file1' On='uninstall' + Name='cmtest.exe' /> + <RemoveFile Id='wdk_bld1_file2' On='uninstall' + Name='cmtest.res' /> + <RemoveFile Id='wdk_bld1_file3' On='uninstall' + Name='cmtest.obj' /> </Component> </Directory> <!-- End WDK --> @@ -489,6 +497,14 @@ Name="Makefile" Source="..\..\SDK_Samples\cmtest\Makefile.x86" /> <?endif?> + + <!-- remove build generated files --> + <RemoveFile Id='vs_bld1_file1' On='uninstall' + Name='cmtest.exe' /> + <RemoveFile Id='vs_bld1_file2' On='uninstall' + Name='cmtest.res' /> + <RemoveFile Id='vs_bld1_file3' On='uninstall' + Name='cmtest.obj' /> </Component> </Directory> <!-- End VS_bld_example1 --> @@ -520,6 +536,16 @@ Name="Makefile" Source="..\..\SDK_Samples\rdma_bw\Makefile.x86" /> <?endif?> + + <!-- remove build generated files --> + <RemoveFile Id='vs_bld2_file1' On='uninstall' + Name='ibv_rdma_bw.exe' /> + <RemoveFile Id='vs_bld2_file2' On='uninstall' + Name='rdma_bw.res' /> + <RemoveFile Id='vs_bld2_file3' On='uninstall' + Name='rdma_bw.obj' /> + <RemoveFile Id='vs_bld2_file4' On='uninstall' + Name='perftest.obj' /> </Component> </Directory> <!-- End VS_bld_example2 --> _______________________________________________ ofw mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
