Sign in to follow this  
Followers 0
jochen

Regedit and WIN 7 64 problems

4 posts in this topic

Hello,

the smalls things makes so much problems ....

I have a reg file and want to register it under WIN 7 64 bit with AutoIt.

So i add

run("REGEDIT /s pastart.reg")

it add the entries NOT under 'Wow6432Node'.

When i make a double click on it and register it 'normal' than the entries are under the node 'Wow6432Node'. Also when i call the 'regedit /s pastart.reg' in a CMD.

How can i run it in my 64 BIT AutoIt script?

Thanks a lot!

Share this post


Link to post
Share on other sites



I wanted to compile the script in 2 versions. 32 BIT and 64 Bit.

In my version

AutoIt3Wrapper_UseX64=y

The Reg file has 'normal' key entries. So without 'Wow6432Node'. WIN 7 64 move it automatacally under the node 'Wow6432Node' when i register it with 'windows'. My AutoIt-Script don´t want....

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Well, when I use this code

#AutoIt3Wrapper_UseX64=y
$run = Run(@ComSpec & " /c regedit /s c:tmptest.reg")

with this content of test.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESOFTWARETest]
"Test"=dword:12345678

it will create the key under HKEY_LOCAL_MACHINESOFTWARE when I use #AutoIt3Wrapper_UseX64=y, otherwise directly under HKEY_LOCAL_MACHINESOFTWAREWow6432Node.

You need the full SciTE package to use the wrapper commands!

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0