RobsonShelterit
Posts: 14
Joined: Thu Oct 10, 2013 2:18 pm

Select Domain

Hello!

Must select the domain and current user installation.
Know to select the user I use [LogonUser]. How would I get the Domain?

I'm waiting.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Select Domain

Hi,

I'm afraid I don't understand very well what is your scenario, however you can get the Domain related to the current user from the [%USERDOMAIN] environment variable.

So, you can create a "Set installer property" custom action that sets a property with the value of the [%USERDOMAIN] environment variable like below:
  • Property: DOMAIN
    Value: [%USERDOMAIN]
Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”