Archive: Splash Screen Problem


Splash Screen Problem
Sup?
Whenever I use the code an error popsup

Function .onInit 
SetOutPath $Temp
File /oname=background.jpg "background.jpg"
File /oname=Inuyasha 1.exe "D:\My Site\Desktop Themes\Inuyasha\Inuyasha 1.exe"
ExecWait '"$TEMP\Inuyasha 1.exe" 2000 $HWNDPARENT spltmp'
Delete $TEMP\Inuyasha 1.exe
FunctionEnd



Error

Function: ".onInit"
File: "background.jpg"->"background.jpg" [compress] 0/150146 bytes
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "D:\My Site\Desktop Themes\Inuyasha\Inuyasha 1.nsi" on line 20 -- aborting creation process


Could someone help me to set up the Splash screen

File "/oname=Inuyasha 1.exe" "D:\My Site\Desktop Themes\Inuyasha\Inuyasha 1.exe"

Didn't work
Sup?
The code didn't work, I am not sure what is causing this.
I like using jpegs for the logo.
Could someone paste the configurration here, so I have to just change the directories
This Code Works but nothing appears after I click on the button.

XPStyle on

Function .onInit
# the plugins dir is automatically deleted when the installer exits
InitPluginsDir
File "D:\My Site\Desktop Themes\Inuyasha\splash\background.gif" "D:\My Site\Desktop Themes\Inuyasha\splash\background.gif"
#optional
#File /oname=$PLUGINSDIR\splash.wav "C:\myprog\sound.wav"
Delete "D:\My Site\Desktop Themes\Inuyasha\splash\background.gif\"
MessageBox MB_OK "Transparency"
File "D:\My Site\Desktop Themes\Inuyasha\splash\background.gif" "D:\My Site\Desktop Themes\Inuyasha\splash\background.gif"
advsplash::show 4000 0 0 0x1856B1 "D:\My Site\Desktop Themes\Inuyasha\splash\background.gif"
Pop $0

FunctionEnd

Section
SectionEnd


please help

Evrything works now
Sup?
Evrything works now :)
It was so hard to figure it out, but the results are awseme :)