Detecting if the user selected "All Users" or "Just Me" in a Custom Action

Posted by Ben on Stack Overflow See other posts from Stack Overflow or by Ben
Published on 2010-03-17T23:36:51Z Indexed on 2010/03/17 23:41 UTC
Read the original article Hit count: 416

Hi,

I'm trying to detect if the user has selected the "All Users" or the "Just Me" radio during the install of my program. I have a custom action setup that overrides several methods (OnCommit, OnBeforeInstall, etc.). Right now I'm trying to find out this information during OnCommit.

I've read that the property I want to get at is the ALLUSERS property, but I haven't had any luck finding where it would be stored in instance/local data.

Does anyone know of a way to get at it?

-Ben

© Stack Overflow or respective owner

Related posts about c#

Related posts about allusersprofile