Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 3rd April 2007, 18:12   #1
JamesKiller
Senior Member
 
Join Date: Jan 2007
Posts: 125
Windows Vista 64 bit Registry Key issue

Hi , is anybody notice that the registry key will go to the node Win64bitNode (something like that) when try to write the registry key on Windows Vista 64bit. 32 bit Xp works fine?

Any thoughts?
JamesKiller is offline   Reply With Quote
Old 3rd April 2007, 20:34   #2
JamesKiller
Senior Member
 
Join Date: Jan 2007
Posts: 125
no one replyed. Seems like I can express my question clearly.
when i write a rigstry key like :
writeregstrykey HLMK /company/client/install
on 32 bit windows, it works fine.
but on 64 bit windows, it will be like this:
HLMK /win6432Node/company/client/install

it under win6432node now???
any thoughts?
JamesKiller is offline   Reply With Quote
Old 4th April 2007, 02:04   #3
Comperio
Major Dude
 
Comperio's Avatar
 
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
Take a look at this article and see if that helps. (I've not tested, but it looks like it might work...)

And just so you understand:
The redirection is done by Windows itself for any 32-bit app. It may look odd, but the win6432node is where all 32-bit apps get redirected to, so that should be where you need to look too, unless you are trying to set the registry of a 64-bit app.
Comperio is offline   Reply With Quote
Old 4th April 2007, 20:38   #4
JamesKiller
Senior Member
 
Join Date: Jan 2007
Posts: 125
Because the installer is 32 bit, that why 64 bit vista redirect to win6432node ....

is it possible to compile the installer to 64 bit?????
JamesKiller is offline   Reply With Quote
Old 8th April 2007, 17:13   #5
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
You can't compile 64-bit installers yet. lrobinot's patch in the thread Comperio linked allows you to access x64 registry from 32-bit installers.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump