Re: [WiX-users] Possible Bug: RegDelete does not work properly with REG_KEY_32BIT on a 64-bit system

2015-07-16 Thread Rob Mensching
[WiX-users] Possible Bug: RegDelete does not work properly with REG_KEY_32BIT on a 64-bit system I can't use semi-custom-actions for this particular piece of work because I need to call an API to get permission to create, delete, or modify these particular registry keys. I work at a security com

Re: [WiX-users] Possible Bug: RegDelete does not work properly with REG_KEY_32BIT on a 64-bit system

2015-07-16 Thread Edwin Castro
I can't use semi-custom-actions for this particular piece of work because I need to call an API to get permission to create, delete, or modify these particular registry keys. I work at a security company where they have implemented additional security features through drivers that disallow normal i

Re: [WiX-users] Possible Bug: RegDelete does not work properly with REG_KEY_32BIT on a 64-bit system

2015-07-16 Thread Phill Hogland
FYI - I just implemented a semi-custom action using a similar implementation as I found in the WixGamingExtension which calls WcaAddTempRecord on the Registry table, to allow MSI to manage my registry change. The CA code (specifically

Re: [WiX-users] Possible Bug: RegDelete does not work properly with REG_KEY_32BIT on a 64-bit system

2015-07-15 Thread Nir Bar
You shuold OR it with the KEY_READ See Registry Key Security and Access Rights - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Plat

[WiX-users] Possible Bug: RegDelete does not work properly with REG_KEY_32BIT on a 64-bit system

2015-07-15 Thread Edwin Castro
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_