Archive: Reservefile_installoptions


Reservefile_installoptions
Do someone know what i must change.
I can compile my script in linux whithout RESERVEFILE_INSTALLOPTIONS. Do some know wich line 5 the means?

!insertmacro: end of MUI_PAGE_STARTMENU
ReserveFile: "io_nomadisk.ini" 586 bytes
!insertmacro: MUI_RESERVEFILE_INSTALLOPTIONS
Usage: ReserveFile [/nonfatal] [/r] file [file...]
Error in macro MUI_RESERVEFILE_INSTALLOPTIONS on macroline 5
Error in script "installer.nsi" on line 160 -- aborting creation process

?


As far I know this macro (MUI_RESERVEFILE_INSTALLOPTIONS) reserve InstallOptions.dll for further usage. Maybe this file is absent.


Originally posted by glory_man
As far I know this macro (MUI_RESERVEFILE_INSTALLOPTIONS) reserve InstallOptions.dll for further usage. Maybe this file is absent.
I thought the same, but i placed the dll under /Plugins

so root/Plugins/InstallOptions.dll

From system.nsh:

!macro MUI_RESERVEFILE_INSTALLOPTIONS

!verbose push
!verbose ${MUI_VERBOSE}

ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll"

!verbose pop

!macroend
On your PC ${NSISDIR}=root?

Originally posted by glory_man
From system.nsh:

On your PC ${NSISDIR}=root?
on the linux server
it is

/home/myname/installer/Plugins

so the NSISDIR is /home/myname/installer - maybe it's that, because my splash doesn't work also.

I have tried to solve the problem and i noticed that he find the dll-file but he gives this error

Usage: ReserveFile [/nonfatal] [/r] file [file...]
Error in macro MUI_RESERVEFILE_INSTALLOPTIONS on macroline 5

so Usage??? That just a code-line in
/Contrib/Modern UI/system.nsh

macroline 5 :

ReserveFile "${NSISDIR}/Plugins/InstallOptions.dll"


so the dll-files that i have added doesn't work with the linuxcompiler. Does someone have the same problem?


do you need other plugins for a windows compiler and a linux compiler?


If ${NSISDIR} is /home/myname/installer/Plugins for you, something probably went wrong with the installation. ${NSISDIR} should be the root directory of the NSIS package where Contrib, Bin, Plugins and makensis are located. I suggest you rebuild NSIS and try again.