Hi ,

For the registry which is pointing to 32 bit location how to set permission via secedit.exe
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Torto

I am getting Error 1722 while installing MSi because of custom action in which i am using secedit command. please advise
When i checked the logs under %windir%\security\logs it is showing that
error in enumerating 64-bit location and fails
32-bit location successfully configured

Is there a separate methods to give permission for the 64-bit and 32-bit.Kindly suggest
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

1
Hi,
could you post your security inf?
I must agree with VBScab, if you have a 32bit msi, then the custom action will be called in the 32bit context and therefore there is no requirement to explicitly "target" HKLM\SW\Wow... just use the "normal" registry in the inf file and this will be used by secedit...

Answered 01/28/2016 by: Pressanykey
Red Belt

  • I agree with the above.

    There should be no need to reference the 32-bit hive through the full registry path, when secedit it will be redirected via registry reflection to the correct place.

    http://www.advancedinstaller.com/user-guide/registry-wow6432-node.html
Please log in to comment

Answers

0
Hi,
just for the record,
you are calling secedit.exe (with parameters) from a custom action inside a 32bit msi or 64bit msi? From what you are saying, the 32bit registry hive is successful (i.e. under HKLM\SW\Wow6432Node\Torto) but the standard location HKLM\SW\Torto fails?


Answered 01/28/2016 by: Pressanykey
Red Belt

  • Yes I am using 32 bit MSI and calling secedit with parameters like passing inf and db file.
  • When i see logs it says
    error in enumerating 64-bit location and fails
    32-bit location successfully configured.
    Please can u advise
Please log in to comment
0
Why would you expect to be able to interact with the 64-bit registry from a 32-bit MSI?  Create a 64-bit MSI for that.
Answered 01/28/2016 by: VBScab
Red Belt

  • I have to give permisson to hive HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Torto...but why secedit is looking for 64-bit location is my question?
Please log in to comment
Answer this question or Comment on this question for clarity