PDA

View Full Version : Can't force use of HKEY_CURRENT_USER



JohnAIT
07-14-2011, 12:03 PM
I have an installation that has been upgraded from an earlier version. Registry entries must go to HKEY_CURRENT_USER for legacy OCX's. It still works when installing onto XP, but it has a problem when installing onto Win 7. ALLUSERS is set to "" in General Information. If the "All Users" button is clicked on the Ready To Install dialog, all is well, but if "Only for Me" is clicked, the installation is no good (even if Setup was run with Administrator privileges).

Can these buttons be eliminated or the setting that they make be overridden?

MSIYER
07-14-2011, 01:06 PM
There is an additional property MSIINSTALLPERUSER that one needs to set for the Windows 7 installations. This is in addition to the ALLUSERS that we are familiar with.

JohnAIT
07-14-2011, 05:40 PM
Thanks for the pointer.