Archive: Install Directory


Install Directory
I was wondering how I would specify the install directory. What I want to do is put this installer on a CD and have it unzip files from it. How would I do this?


See the examples in the NSIS\Examples\Modern UI folder.

-Stu


I looked there but I can't find any examples of them having it to where you can put it on a cd and have it unzip from the cd to the computer. I did see $INSTDIR but that is the directory for where it is being sent to. I need to find how I would be able to get it from a cd. (Ex) the directory could be "E:\file.zip"


You mean the installer's directory ?
use $EXEDIR
http://nsis.sourceforge.net/Docs/Chapter4.html#4.2.3
or GetExePath
http://nsis.sourceforge.net/Docs/AppendixE.html#E.1.10


thanks