Dear Sir,
I want to change Foxit Reader Splash Screen using NSIS compiler the following error message is displayed.
Plugin Command: show 1200 0 0 -1 /L $PLUGINSDIR\splash.jpg
IfFileExists: "$SETTINGSDIRECTORY\*.*" ? GetPassedParameters :
CreateDirectory: "$SETTINGSDIRECTORY"
CopyFiles: (silent) "$EXEDIR\App\DefaultData\settings\*.*" -> "$SETTINGSDIRECTORY", size=0KB
!insertmacro: GetParametersCall
!insertmacro: end of GetParametersCall
StrCmp "'$0'" "''" equal=, nonequal=LaunchProgramParameters
StrCpy $EXECSTRING ""$PROGRAMDIRECTORY\$PROGRAMEXECUTABLE"" () ()
Goto: AdditionalParameters
StrCpy $EXECSTRING ""$PROGRAMDIRECTORY\$PROGRAMEXECUTABLE" $0" () ()
StrCmp "$ADDITIONALPARAMETERS" "" equal=AdjustPaths, nonequal=
StrCpy $EXECSTRING "$EXECSTRING $ADDITIONALPARAMETERS" () ()
StrCmp "$SECONDARYLAUNCH" "true" equal=LaunchAndExit, nonequal=
ReadINIStr $LASTDRIVE [FoxitReaderPortableSettings]:LastDrive from $SETTINGSDIRECTORY\FoxitReaderPortableSettings.ini
Invalid command: ${GetRoot}
Error in script "C:\Documents and Settings\Administrator\Desktop\FoxitReaderPortable\Other\Source\FoxitReaderPortable.nsi" on line 184 -- aborting creation process
How to Fix it
You are missing the FileFunc header.
If you already have it installed (I think its stabdard), add a !include FileFunc.nsh to your script.
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Sir,
Sorry for the distrub.
I have already include FileFunc.nsh in my script.
My Script is
[Please put code in <pre> </pre> blocks, mod SL]
Did you add the following as well:
It is needed after including filefunc.nsh
If this doesn't help you, include the script it self in your comment
Ps.: Why would you want to change the splash screen though. Isn't it better to leave the one of it's publishers !!!
Formerly Gringoloco
Windows XP Pro sp3 x32
Are you talking about Foxit Reader 3.1 Portable Launcher Development Test 3?
If so, it compiles fine with a standard install of NSIS Portable.
If not, carry on