I have a Wix installer with a "Test connection" button.
I am using a custom action to do my connection test.
But this custom action need administrator privileges, so I get an error.
The only way I found to make it work is to run the MSI as administrator using the command line or using "right click, run as different user".
Otherwise, the administrator privileges are only asked before the installation when clicking on "Instal".
Is there a way to prompt for admin privileges directly when running the installer ?
EDIT : I found this solution but I can't use "Execute="deferred" Impersonate="no"" because I need to execute the action directly