grzech
20th September 2007 12:14 UTC
get special folder
Hi,
I have few questions
1) I need to obtain the folder "C:\Documents and Settings\<current user>\Local Settings\Application Data"
How can I obtain it in NSIS?
2) How to check if the specific file exist?
3) How to check the size of the file?
Thanks
Afrow UK
20th September 2007 13:35 UTC
1. What is wrong with $LOCALAPPDATA after SetShellVarContext current?
2. IfFileExists
3. Search the Wiki for "file size".
Stu
grzech
20th September 2007 18:54 UTC
1. Nothing wrong, works perfectly. :)
2,3. Thanks. NSIS is easy, but it's documentation is terrible.
I'm so glad there is this forum. :D
Afrow UK
21st September 2007 11:15 UTC
What in your view would make the documentation better than it is now?
Stu
Wizou
24th September 2007 09:00 UTC
Most of the time, I find the documentation is good and concise.
Longer texts would not be good if they don't add new information.
aemik
24th September 2007 11:42 UTC
i think the documentation of NSIS is perfect...
grzech
26th September 2007 17:23 UTC
Originally posted by Afrow UK
What in your view would make the documentation better than it is now?
Navigation I guess. It's very hard to find what I want. This applies to Wiki and FAQ as well. IMO. Even searching for an answer trough this forum is more friendly.
Perhaps a good search facility for the docs would be a great improvement for it.
Afrow UK
26th September 2007 19:02 UTC
What you should do is take a look through the entire scripting reference and then you'll know what you have available.
IMO I don't think it could be made any better, unless it had human voice recognition and a human brain USB device.
Stu