Thread: Path
View Single Post
Old 11th October 2011, 19:09   #6
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,358
This is not a good idea:

A) Why fill the global path with your crap, there is a total limit, what if all apps did this? It is possible to add per application path info in the registry under "App Paths"

B) Using normal NSIS strings to manipulate global variables is a very bad idea, if the user has a %path% longer than 1024 you will corrupt their setup!

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote