I have an installer in which I want to allow the user to install the product even if he's not an administrator. The main motive is to set the registry to HKLM is the user is admin or else to HKCU if he's not an admin. So for this, I did the following things:
- Disabled "Run as administrator"
Set the install type to: Per-machine if user is administrator, per-user otherwise
Added "InstallTypeDlg" in the dialogs
I have attached the .aip file which reproduces the above mentioned behaviour.
Thank you.