I was trying to use RegDelete from the dutil library and I noticed my 32-bit key did not get deleted on a 64-bit system. I think the problem is the following RegOpen call
hr = RegOpen(khRoot, wzSubKey, KEY_READ, &hkKey); if (E_FILENOTFOUND == hr) { ExitFunction1(hr = S_OK); } Since KEY_WOW64_32KEY is not specified then RegOpen checks the 64-bit hive, doesn't find the key, and exits RegDelete. In other words, I think RegDelete only works with REG_KEY_DEFAULT! -- Edwin G. Castro ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users