Is there a way to get an environment variable in WIX into a property?
I\'m trying to get the USERPROFILE with:
Property Id=\"UserFolder\
since i cant add a comment yet, with regard to @demp's answer, i had to do this to get the condition to evaluate sometime during initialization so that the value could be displayed in a UI dialog:
I believe that Before="InstallInitialize" happens just before the installation itself proceeds (i.e. copying files and whatnot) and not during the initialization phase of the installer itself.