Skip to content
⌘ NSIS Forum Archive

Finding System directory

3 posts

josabraham#

Finding System directory

Hi,

Can any one explian me how to get the system32 folder on a computer from NSIS installer or how to use GetWindowsDirectory to get the path from NSIS INstalleer script.Please send me the script code

best regards
Joseph
glory_man#
From NSIS-doc:
$SYSDIR

The windows system directory (usually C:\windows\system or C:\winnt\system32 but detected at runtime).
What does this mean?

how to use GetWindowsDirectory to get the path from NSIS INstalleer script
What are you want to do?
kichik#
GetWindowsDirectory is an API function used to get the path of the Windows directory. You can use $WINDIR for that. Internally, $WINDIR calls GetWindowsDirectory.