I'm working on wix installer. There I have given option to user to install it for per machine(all user) and per user.
If I'm using the below code:
<Package InstallerVersion="200" Compressed="yes" InstallPrivileges="elevated" InstallScope="perMachine" />
everything is working fine for per machine(all user). User is able to install and uninstall properly but installer is not working for per user.
<Package InstallerVersion="200" Compressed="yes"/> if use this code
installation is working fine for both per machine and per user. but uninstall is not working for per machine. once we say run as admin, its properly uninstall it.
so question is how to elevate the user during uninstall so that it work in both scenario per machine(All user) and per user.