I'm creating a single-exe mixed mode (32/64 bit) package that should install per-machine if user is admin or per-user otherwise. On Windows XP it works as expected, but on Windows 7 UAC prompt that requests admin password appears after configuration UI. I've tried various solutions but none of them helped:
* Setting MSIUSEREALADMINDETECTION=1 changes Privileged variable to correct value for non-admin in UI sequence, but UAC prompt appears after UI sequence anyway.
* Adding standard installation type dialog that asks if i want per user or per-machine installation. UAC appears regardless of choosing "Just me" or "Everyone".
One part of the documentation states that this type of installation is not supported and will revert to per-machine installation on Vista and above (http://www.advancedinstaller.com/user-g ... eters.html), but another says that single package authoring should work on windows installer 5 that is present on windows 7 (http://www.advancedinstaller.com/user-g ... ckage.html).