Archive: how to use DeleteINIStr correctly


how to use DeleteINIStr correctly
im using

DeleteINIStr Notes.ini Notes Directory

in my nsi.file


the Notes.ini is in the same Directory and the first lines are:

[Notes]

Directory=C:\NotesTest\Notes\Data


BUT: after executing the installation the Notes.ini-file hasn't been changed...

i'm new into nsis and i'm not quite sure how to use error handling or flags,

or, did i do anything wrong when i wanted to delete the Directory-line in my ini file?

thx for help ;)

reini


Maybe wrong file path:


DeleteINIStr $INSTDIR\Notes.ini Notes "bla"

hm,
i don't copy the file to $INSTDIR,
i just have to modify it before starting the setup.exe to install lotus notes.

the file Notes.ini is in the same directory as the .nsi and .exe file, but it doesn't seem to work...

suggestions?

reinhard


Since is in the same dir:


DeleteINIStr $EXEDIR\Notes.ini Notes "bla"

yupidu,

$EXEDIR worked!

thx a lot!


It was nothing...glad to help... :p