I need to revisit this issue it seems. We want to condition the installation of a file based on the user's domain, actually membership in any of two domains; let's call them "BERT" and "ERNIE".
I created a custom action during the install sequence with set's my property as follows:
Code: Select all
Property: USER_DOMAIN_PROP
Value: [%USERDOMAIN]
(Qu: are the square brackets needed?)
Then, in the Organization area, for each of the components I want to be affected by this property I have set the
Code: Select all
Condition: USER_DOMAIN_PROP ~= "bert" OR USER_DOMAIN_PROP ~= "ernie"
That is, I'm trying to do a case-insensitive test, so that all of these should return true "bert", "Bert", "BERT" etc,
I have some user's that are working as expected, but I have others that are in the "BERT" domain where it is not working as expected. Apparently one of the user's where it is failing is having their installation scripted using these Setup exe switches
So, within the details above am I doing something incorrectly?
Secondly, could the "/quiet" or "/restart" switches be negatively impacting the end result?
And, third, how do I go about adding to the installation log file the name of the domain that the user is authenticated on at the time of the installation, so we can find out if the expected value is recorded? It doesn't seem to be recorded in the install.log file by default.