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?
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?
Comment