/build/static/layout/Breadcrumb_cap_w.png

Script for X64bit Machine

I’m looking for a script or a way to write following registry on X64 bit machine, but it’s going to 32bit application’s path L

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{xyz-abc-def-ghij-klmnopqrst}.sdb]

"SystemComponent"=dword:00000001

 

Basically i want to hide shim from Add/remove on X64bit machine

 

Thanks in advance for the all your help!


0 Comments   [ + ] Show comments

Answers (4)

Posted by: piyushnasa 10 years ago
Red Belt
1

It depends how you are running the script. If you are running the script as a 32 bit process then it will automatically write in 32 bit hive.

Posted by: rileyz 10 years ago
Red Belt
0

Just use the command line tool REG.

Or are you trying to do this in a MSI?
When you say 32bit path do you mean the WOW6432Node? As that is the 32bit node for 32bit apps.


Comments:
  • Yes you are right it goes to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall. can you provide the command line options which can be executed through msi or wse ? - skj 10 years ago
    • But you need to write this in the..
      HKEY_LOCAL_MACHINE\\Microsoft\Windows\CurrentVersion\Uninstall
      instead?

      If so, just use a Custom Action to execute a command, use the REG tool to write to the key or value. Dont forget to condition the action.

      Is this a 64 or 32bit app? Its really strange you need to do this, as it really should be in the WOW6432Node. - rileyz 10 years ago
Posted by: SMal.tmcc 10 years ago
Red Belt
0

try

HKLM64\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{xyz-abc-def-ghij-klmnopqrst}.sdb]

"SystemComponent"=dword:00000001

 

Posted by: rock_star 10 years ago
4th Degree Black Belt
0

http://scriptingcenter.blogspot.com/2013/04/read-64-bit-registry-hive-by-using-32.html

 

You might have to edit it . Currently it reads  64 bit hive.

 
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