Old 18th May 2011, 03:11   #1
jiake
Senior Member
 
jiake's Avatar
 
Join Date: Oct 2007
Location: Shanghai, China
Posts: 207
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:
http://msdn.microsoft.com/en-us/library/bb762276.aspx

Contact me: 137729898@qq.com
jiake is offline   Reply With Quote
Old 18th May 2011, 10:55   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Please post a bug report (if you haven't already).

Stu
Afrow UK is offline   Reply With Quote
Old 18th May 2011, 20:18   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
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

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump