LukaszT
25th November 2006 17:11 UTC
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
Takhir
25th November 2006 17:29 UTC
File "/oname=Inuyasha 1.exe" "D:\My Site\Desktop Themes\Inuyasha\Inuyasha 1.exe"
LukaszT
25th November 2006 18:14 UTC
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
LukaszT
26th November 2006 15:36 UTC
Evrything works now
Sup?
Evrything works now :)
It was so hard to figure it out, but the results are awseme :)