Hello all,
On my application Setup Project, I'm trying to setup a Registry key either under HKLM/Software or HKCU/Software depending on whether the user checked "All Users" or "Just Me" during the setup.
For that effect, I've been trying to use the ALLUSERS property and check it against either 1 or "", respectively.:
- ALLUSERS = 1
- ALLUSERS = ""
I have the keys AlwaysCreate property set to False. And yet when installing both HKLM/Software/*my_key* and HKCU/Software/*my_key* are created.
What am I missing?
Update: I've been trying other alternatives like enclosing ALLUSERS in square brackets, enabling the transitive property or using ALLUSERS != 1 instead of = "". To no avail. I gave up on this for now and am only creating under HKLM for both cases. But if anyone does have an answer I would really appreciate.