I have developed a screen for admin username and password,how will I display the username and domain automatically in the place of admin name label.Please help me out.. I would like to know whether I should write any custom action for this.
+2
A:
You can access them directly as [%USERNAME]
and [%USERDOMAIN]
since both are environment variables.
klausbyskov
2010-01-15 14:05:23
+1 but note that `[USERNAME]` is also standard windows installer property, there's no need to use an environment variable for that one.
Wim Coenen
2010-01-15 14:18:33