Archive: Finding System directory


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


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?

GetWindowsDirectory is an API function used to get the path of the Windows directory. You can use $WINDIR for that. Internally, $WINDIR calls GetWindowsDirectory.