I am trying to fix an existing application that uses a Visual Studio 2005 setup project.
We are requiring it to work on limited user accounts for XP, our app is written in C# for .Net 2.0.
It writes keys into HKCU during the setup, but skips the UI step for choosing Install for Everyone versus Just me . So it defaults to installing for Everyone.
The problem is, you install on an admin account, and then switch to a limited account. This makes it do a repair install that fails. If I go to any other admin account, it works just fine.
My question is, where is it putting these keys for HKCU that the limited account is trying read/write to?
Is there a magical place in HKEY_USERS that applies to "Everyone"? I do not understand how it work going from admin user to another admin user. To test this theory, I manually entered the keys in HKCU on the limited user, and it still tried to repair.
If I knew where this "Everyone" key is, I could merely grant full access to all users with a custom action so the limited account would not force a repair install.