Hello,
I've got a fairly simple installer with Installation Type set to "Per-machine if user is administrator, per-user otherwise." Works great when I install as an admin - the app is correctly installed per machine for all users.
When I try to install from a normal user account (Windows 7, no UAC), the install fails telling me that I need Administrator privileges to install the package. I've checked the log, and it shows the following line:
PROPERTY CHANGE: Modifying ALLUSERS property. Its current value is '2'. Its new value: '1'.
For non-admins, when the value is 2, it should be switched to an empty string for per-user install. Instead, it's switched to 1 for a machine install.
Note, if I change the Installation Type to "Per-user only", the installer works fine on a normal user account. So the problem seems to be in the detection/decision of whether to do a per-user or per-machine. Any ideas why it's getting this wrong and trying to do a per-machine install for a normal user?
Thanks,
Sean