Page 1 of 1

Get Active Directory Domain Name

Posted: Sun Dec 06, 2020 1:54 pm
by Edhy
Hi All,

I need to install some files in my installation based on the setup being run under an specific active directory domain name like "mydomain.local".
Is there any way from IA X12 to query the system to find out if the current PC is part of an active directory domain name and read the domain name?

Thanks a lot!

P.S.
I've searching the forums and plugins sites but have not found anything related to reading the active directory domain for the PC running the setup file. :(

Re: Get Active Directory Domain Name

Posted: Sun Dec 06, 2020 9:37 pm
by Edhy
Hi All,

Well, I was able to find the command to get that information:

Code: Select all

Get System Setting Logged on Domain Name into DOMAIN_NAME

IA clipboard:

Code: Select all

~InstallAware Clipboard Data~
~Get System Settings~
~{41105DB5-EFD6-460E-A9A2-CEEB4162E954}~
~DOMAIN_NAME~
~62~

It works like a charm! :D