I am installing a per-machine .msi with elevated rights which runs a exe before install finalize. this exe changes a lot of different stuff and one of these requires to use the local user profile which I get using environment.specialfolder.userprofile
enum. the problem is that my exe and msi needs to run with elevated rights so it is using the admin user profile.
this question is really similar to this one: Run unelevated custom action from a WiX elevated installer
any thoughts on how to solve this without pulling out the non-elevated actions of the exe and creating another custom action?