Skip to content
⌘ NSIS Forum Archive

Problem about the constant "$PROFILE"

3 posts

jiake#

Problem about the constant "$PROFILE"

I remember a problem I met before just now. It is the value of $PROFILE. In fact:

SetShellVarContext all
MessageBox MB_OK "$PROFILE"
SetShellVarContext current
MessageBox MB_OK "$PROFILE"

Get the same value. I suggest using GetAllUsersProfileDirectory function instead:
Retrieves the path to the root of the directory that contains program data shared by all users. (ANSI)
Anders#
This is not a bug, it is a feature request. I added my comment on the tracker: https://sourceforge.net/tracker/inde...49&atid=373085