/build/static/layout/Breadcrumb_cap_w.png

how to use secedit.exe to implement permission on HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Torto

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

Answers (3)

Posted by: Pressanykey 8 years ago
Red Belt
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...


Comments:
  • 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 - rileyz 8 years ago
Posted by: Pressanykey 8 years ago
Red Belt
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?



Comments:
  • Yes I am using 32 bit MSI and calling secedit with parameters like passing inf and db file. - umeed4u 8 years ago
  • When i see logs it says
    error in enumerating 64-bit location and fails
    32-bit location successfully configured.
    Please can u advise - umeed4u 8 years ago
Posted by: anonymous_9363 8 years ago
Red Belt
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.

Comments:
  • 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? - umeed4u 8 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ