aworldofblue
24th February 2003 15:30 UTC
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
Joel
24th February 2003 21:31 UTC
Maybe wrong file path:
DeleteINIStr $INSTDIR\Notes.ini Notes "bla"
aworldofblue
24th February 2003 21:43 UTC
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
Joel
24th February 2003 21:47 UTC
Since is in the same dir:
DeleteINIStr $EXEDIR\Notes.ini Notes "bla"
aworldofblue
24th February 2003 21:51 UTC
yupidu,
$EXEDIR worked!
thx a lot!
Joel
24th February 2003 21:56 UTC
It was nothing...glad to help... :p