Skip to content
⌘ NSIS Forum Archive

My Installer installs to the wrong diretcory

2 posts

Defcon0#

My Installer installs to the wrong diretcory

Hello folks,
I got a question to my installer.
I install some files to the Directory <WinDir>\system32.
In Windows XP Prof. it works. But in Windows x64 the problem is, that the standard system32-folder is <WinDir>\SysWow64.

Here's my code:
SetOutPath "$WINDIR\system32"
File "Dateien\Windows\system32\xmlfldr1.dll"
File "Dateien\Windows\system32\xdcc1.dll"
And NSIS automatically changes the path to the standard path of Windows X64.
How can I explicitly install to Windir\system32 ?

Bye Defcon.