We are working on converting the wiki to a static website controlled by markdown files in https://github.com/nsis-community. You can already see there how plug-ins will be posted. The end-user interface will still be a website but with a fresh coat of paint. Come meet us at Discord to talk about it.
Talk:Get the Special Folders Directories (System plugin)
From NSIS Wiki
Jump to navigationJump to search
A usage example would make this script more useful.
I just would like to get the value of the COMMONAPPDATA - so I can create my application data directory there. Goldend (talk) 13:28, 2 January 2016 (UTC)
- This article is an example in itself, just copy paste it in your script and change
${CSIDL_HISTORY}to${CSIDL_COMMONAPPDATA}at the line beginning bySystem::Call.
- To be more explicit: paste the
!definelines at the beginning of your script, and callSystem::Call 'shell32::SHGetSpecialFolderPath(i $HWNDPARENT, t .r1, i ${CSIDL_COMMONAPPDATA}, i0)i.r0'inside your section, you will then use the$1var as you want. - PS: Please sign your messages by adding ~~~~ at the end. Thanks.
- -- Bugmenot (talk) 16:40, 8 January 2016 (UTC)