Anyone know how to detect if active directory is installed?
Thanks!
How to detect if active directory is installed
5 posts
well, for detecting a created directory try use the IfFileExists instruction. Since it uses the API for finding folders...
Hope that's what your looking for, the word active freaks me up 🧟
Name test
OutFile test.exe
XPStyle on
ShowInstDetails show
!define TESTDIR "C:\lobolunar\Hola"
Section -default
DetailPrint "Do you have ${TESTDIR}?"
IfFileExists ${TESTDIR} Yes No
Yes:
StrCpy $0 "Yes"
Goto End
No:
StrCpy $0 "No"
Goto End
End:
DetailPrint $0
SectionEnd
Oh no, I mean Active Directory - if it is a domain controller.
Thanks!
Thanks!
i dont know how 2 detect Active Directory, but to check if it is a domain controller, use GetVersionEx (using the system plugin)
Active Directory is what I really want to find out.
Thanks!
Thanks!