Prev Previous Post   Next Post Next
Old 6th February 2006, 03:03   #1
guido666
Junior Member
 
Join Date: Dec 2003
Location: Ashland
Posts: 6
Send a message via ICQ to guido666 Send a message via AIM to guido666 Send a message via Yahoo to guido666
Unhappy WinXP x64 redirects system32 files to WOW64 directory

I have tried these three different commands to write a file to the C:/Windows/System32/ directory under WinXP x64.

InstallDir "C:\windows\system32" ; Won't work with 9x
InstallDir "$WINDIR\system32" ; Won't work with 9x
InstallDir "$SYSDIR"

Every single time it will write the file to the C:\Windows\WOW64\ directory (only on x64 machines, not XP/2003/9x).

I figure it is a self protection measure by Windows x64 to keep 32-bit software from mingling with the 64-bit software.

I'm trying to make a program that installs the system OEM info, in the system properties box. This costists of two files, "oeminfo.ini" and "oemlogo.bmp", and they must be placed in the system directory (C:\Windows\System\ on 9x, and C:\Windows\System32\ on XP\2000\2003\x64).

Any help or ideas how to circumvent this?
guido666 is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast 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