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" 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.
$(env...)
syntax comes from the WiX Preprocessor. – CodeFox