problems add reg key
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
problems add reg key
i have reg key to add to my registry:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765]
"EstimatedSize"=dword:000014c8
well if i add file.reg to my reg from XY don't work...
if i add file.reg to my reg from win explorer work!
this problem is for 64bit redirection?? (i have win 7 64 bit)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765]
"EstimatedSize"=dword:000014c8
well if i add file.reg to my reg from XY don't work...
if i add file.reg to my reg from win explorer work!
this problem is for 64bit redirection?? (i have win 7 64 bit)
-
highend
- Posts: 14953
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: problems add reg key
Exactly. A 32 bit application will write it to:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765
One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: problems add reg key
yes i understand...but not work 
and this only because XY is 32bit? with future XY 64bit redirection no longer required?
and this only because XY is 32bit? with future XY 64bit redirection no longer required?
-
highend
- Posts: 14953
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: problems add reg key
Yes, it's because XY is a 32 bit application and if ever a 64bit one comes out, it'll work right out of the box.
A workaround:
Create a portable file association:
*.reg>::run """%windir%\sysnative\cmd.exe"" /c regedit.exe /s ""<pfaitem>""", , 2, 0;
A workaround:
Create a portable file association:
*.reg>::run """%windir%\sysnative\cmd.exe"" /c regedit.exe /s ""<pfaitem>""", , 2, 0;
One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: problems add reg key
alright, but....why HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\.........don't work??
you've tried?
you've tried?
-
highend
- Posts: 14953
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: problems add reg key
Häh?
You wanted to write your key to
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765]
and that's what the pfa does. Yes, I tried it...
You wanted to write your key to
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765]
and that's what the pfa does. Yes, I tried it...
One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: problems add reg key
after several attempts...
yes write my key, but the key is add to [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765]
not into [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765]
yes write my key, but the key is add to [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765]
not into [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765]
-
highend
- Posts: 14953
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: problems add reg key
Read about WOW64 Redirection (64-bit Windows only) in the helpfile and create the necessary sysnative folder.
One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: problems add reg key
i have read this but i don't have understand! otherwise i would not ask help here!
and this is your reply?
i appreciate your help, but with your suggestion add the value to mistaken key
and this is your reply?
i appreciate your help, but with your suggestion add the value to mistaken key
-
highend
- Posts: 14953
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: problems add reg key
What is so difficult about creating a single folder?
Dos box with admin rights:
mkdir "%windir%\Sysnative"
or open the windows explorer and rightclick inside C:\Windows - > New folder
UAC will handle the admin part.
Dos box with admin rights:
mkdir "%windir%\Sysnative"
or open the windows explorer and rightclick inside C:\Windows - > New folder
UAC will handle the admin part.
One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: problems add reg key
folder??? i do not understand...
i want add a value to key on HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\......
with your suggestion i add a value on HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\......
what does new folder??
i want add a value to key on HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\......
with your suggestion i add a value on HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\......
what does new folder??
-
highend
- Posts: 14953
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: problems add reg key
YOU HAVE TO CREATE THE FOLDER "SYSNATIVE" IN C:\WINDOWS (or wherever your windows dir resides)...
One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: problems add reg key
ok i create this folder, and...??
now if add my .reg file (with \Wow6432Node\ or without this) i always have the same result as above...
(...this thing is very hard!)
now if add my .reg file (with \Wow6432Node\ or without this) i always have the same result as above...
(...this thing is very hard!)
Last edited by swan_x on 20 Apr 2014 20:18, edited 1 time in total.
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: problems add reg key
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765]
"EstimatedSize"=dword:000014c8
or
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765]
"EstimatedSize"=dword:000014c8
i have the same result: the value is add to: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765
but not into HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765
"EstimatedSize"=dword:000014c8
or
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765]
"EstimatedSize"=dword:000014c8
i have the same result: the value is add to: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765
but not into HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Arc98765
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: problems add reg key
@ highend
but you believe your correct behavior?? i have one problem, i follow your suggestion, but not work correctly (for me, or i did not understand you...), i send you PM but you not reply...you seem correct?
but you believe your correct behavior?? i have one problem, i follow your suggestion, but not work correctly (for me, or i did not understand you...), i send you PM but you not reply...you seem correct?
XYplorer Beta Club