Archive: comunication bteween .ini and .nsi


comunication bteween .ini and .nsi
please, can you help me ?

I need to have a communication between file .ini and .nsi,how can I use "!insertmacro INSTALLOPTIONS_EXTRACT "test.ini" " and both files are not under the same directory?

might know how to put the relative path?


Use the INSTALLOPTIONS_READ macro.

Stu


the problem that I have the file .ini and the file .nsh in to diffrent directory, and when i put the path of .ini, when i execute my kit.exe I have a problem to dispaly the page, I have a error said me "the system can't open this path.ini".

i used INSTALLOPTION_READ and INSTALLOPTION_DISPALY and ihave the some problem.

my question is how can i read in my file .nsh the path of the file .ini who's in the other directory?


INSTALLOPTIONS_EXTRACT_AS

They're all in InstallOptions.nsh. Alternatively, switch to nsDialogs :).

Stu


thx
thx for your answers, o will try this tomorrow.


Please, remove support for those .ini files in NSIS 2.47!
nsDialogs are much better and there are no such problems with them :)