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)
Please log in to answer
Posted by:
Pressanykey
8 years ago
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...
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
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?
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?
Posted by:
anonymous_9363
8 years ago
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