allusersprofile

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

こ雲淡風輕ζ 提交于 2019-12-10 21:43:54
问题 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 回答1: Going to

Location of %allusersprofile% folder in Windows Vista?

人盡茶涼 提交于 2019-12-10 10:05:09
问题 What is the exact path to %allusersprofile% folder in Windows Vista? On some systems, I have seen the folder as 'c:\Users\All Users', on some it is mapped to 'C:\ProgramData', while on others it has been mapped to 'C:\Users\Public'. If you can provide link to microsoft documentation reference would be highly helpful (so far I have been unable to dig the link out). Edit: Registry settings do define the location of the folder. What I am looking for is more towards how Windows interprets/defines