Get an environment variable into a WiX property

Viewed 31768

Is there a way to get an environment variable into a WiX property?

I'm trying to get the USERPROFILE with:

Property Id="UserFolder"  Value="$(env.USERPROFILE)\EdwardsApp\MyFolder"

But this only picks up the USERPROFILE of the build machine where the installer is built.

I want it to use the USERPROFILE of the machine where the app is being installed.

4 Answers
Related