I didn't work with WIX Installer. Now I work with latest WIX v4. I want to check with which rights was started installer and after this dynamically select the installation path.
Idea example:
if is_admin()
StandardDirectory Id="ProgramFiles6432Folder"
else
StandardDirectory Id="LocalAppDataFolder"
I see these steps:
- User see UAC prompt
- User Click Yes or No
- Here I try to understand execution level
How can I do this?
I tried to find information how to do it and found that I can use Privileged property but I not found any example of code on WIX v4... Or maybe on WIX v3
Thank you!