Archive: compatible with 98?


compatible with 98?
  Hi,

I normally have my NSIS on my home windows xp computer, but now, on my work computer which is windows 98, all of these errors are occuring like with the language files.

Is NSIS 205 compatible with Windows 98?
Are there any differences in code that I should notice?

Thanks!


can you be more specific about the errors?


when I try to compile it, I don't get errors, but warnings. These warnings are:


23 warnings:

unknown variable/constant "outfile" detected, ignoring (C:WINDOWSDesktopinstallerscript.nsi:140)
LangString "MUI_INNERTEXT_LICENSE_BOTTOM" is not set in language table of language 1033
LangString"MUI_TEXT_LICENSE_TITLE" is not set in language table of language 1033
LangString"MUI_TEXT_LICENSE_SUBTITLE" is not set in language table of language 1033
LangString"MUI_INNERTEXT_LICENSE_TOP" is not set in language table of language 1033
LangString"MUI_TEXT_COMPONENTS_TITLE" is not set in language table of language 1033
LangString"MUI_TEXT_COMPONENTS_SUBTITLE" is not set in language table of language 1033
LangString"MUI_INNERTEXT_COMPONENTS_DESCRIPTION_TITLE" is not set in language table of language 1033
LangString"MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO" is not set in language table of language 1033
LangString"MUI_TEXT_DIRECTORY_TITLE" is not set in language table of language 1033
LangString"MUI_TEXT_DIRECTORY_SUBTITLE" is not set in language table of language 1033
LangString"MUI_TEXT_INSTALLING_TITLE" is not set in language table of language 1033
LangString"MUI_TEXT_INSTALLING_SUBTITLE" is not set in language table of language 1033
LangString"MUI_TEXT_FINISH_TITLE" is not set in language table of language 1033
LangString"MUI_TEXT_FINISH_SUBTITLE" is not set in language table of language 1033
LangString"MUI_TEXT_ABORT_TITLE" is not set in language table of language 1033
LangString"MUI_TEXT_ABORT_SUBTITLE" is not set in language table of language 1033
LangString"MUI_BUTTONTEXT_FINISH" is not set in language table of language 1033
LangString"MUI_TEXT_FINISH_INFO_TITLE" is not set in language table of language 1033
LangString"MUI_TEXT_FINISH_INFO_REBOOT" is not set in language table of language 1033
LangString"MUI_TEXT_FINISH_REBOOTNOW" is not set in language table of language 1033
LangString"MUI_TEXT_FINISH_REBOOTLATER" is not set in language table of language 1033
LangString"MUI_TEXT_FINISH_INFO_TEXT" is not set in language table of language 1033
>
When I open the now-compiled .exe file, It has absoutely no layout. Ill atach the entire script. The script Im attaching is striped, but still produces the same errors.

The MUI_LANGUAGE macro must be inserted after all page macros.

Also, when using the MUI, you must use MUI_ICON, not Icon.


When I have the MUI Language placed underneath the pages, I get these errors. I cannot test the installer.


MUI_PAGE_WELCOME

>!insertmacro: end of MUI_PAGE_WELCOME
Page
: custom (creator:sqlinstalled) (leave:helpbutton)
>Page: custom (creator:mysqlinstall) (leave:helpbutton)
>Page: custom (creator:mysql) (leave:helpbutton)
!insertmacro: MUI_PAGE_LICENSE
>!insertmacro: end of MUI_PAGE_LICENSE
>!insertmacro: MUI_PAGE_COMPONENTS
>!insertmacro: end of MUI_PAGE_COMPONENTS
>!insertmacro: MUI_PAGE_DIRECTORY
>!insertmacro: end of MUI_PAGE_DIRECTORY
>!insertmacro: MUI_PAGE_INSTFILES
>!insertmacro: end of MUI_PAGE_INSTFILES
>!insertmacro: MUI_PAGE_FINISH
>!insertmacro: end of MUI_PAGE_FINISH
>!insertmacro: MUI_LANGUAGE
File: "C:\Documents and Settings\Hess Smith\Desktop\SFR\installer\panel.bmp" -> no files found.
>Usage: File ***91;/nonfatal***93; ***91;/a***93; (***91;/r***93; ***91;/x filespec ***91;...***93;***93; filespec ***91;...***93; |
/oname=outfile one_file_only)
>Error in macro MUI_WELCOMEFINISHPAGE_INIT on macroline 5
Error in macro MUI_GUIINIT on macroline 2
Error in macro MUI_FUNCTION_GUIINIT on macroline 4
Error in macro MUI_INSERT on macroline 11
Error in macro MUI_LANGUAGEFILE_BEGIN on macroline 4
>!include: error in script: "C:\PROGRAM FILES\NSIS\Contrib\Modern UI\Language files\English.nsh" on line 9
Error in macro MUI_LANGUAGE on macroline 5
Error in script"C:\WINDOWS\Desktop\installer\script.nsi" on line 72 -- aborting creation process
>

That error is very clear. It says "C:\Documents and Settings\Hess Smith\Desktop\SFR\installer\panel.bmp" can't be found.


thanks!!