Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 8th September 2012, 17:51   #1
ViviGamer
Junior Member
 
Join Date: Aug 2012
Posts: 2
Exclamation Just Splash Screen Wizard

I've got a problem. I just wanted to make the splash screen exemple, like, get that installer that appears after and just leave the splash. Is it possible?
Sorry, I'm dont speak english.
I need this Splash Screen for the next week, please help me.
ViviGamer is offline   Reply With Quote
Old 10th September 2012, 06:22   #2
T.Slappy
Senior Member
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 375
Send a message via ICQ to T.Slappy
Splash example

Yes, possible, the easiest way:

PHP Code:
Name "Splash.dll test"

OutFile "Splash Test.exe"

XPStyle on

Function .onInit
    
# the plugins dir is automatically deleted when the installer exits
    
InitPluginsDir
    File 
/oname=$PLUGINSDIRsplash.bmp "${NSISDIR}\Contrib\Graphics\Wizard\orange-nsis.bmp"
    
#optional
    #File /oname=$PLUGINSDIR\splash.wav "C:\myprog\sound.wav"

    
splash::show 1000 $PLUGINSDIRsplash

    Pop 
$; $0 has '1' if the user closed the splash screen early,
            ; 
'0' if everything closed normally, and '-1' if some error occurred.
FunctionEnd

Section
SectionEnd 
Exact copy of NSIS\Examples\Splash\Example.nsi

Create cool looking Graphical Installers in NSIS: www.graphical-installer.com -see below
I offer NSIS scripting, C/C++/C#/Delphi programming: www.unsigned-softworks.sk
Develop NSIS projects directly in Visual Studio 2005-2012: www.unsigned-softworks.sk/visual-installer/
T.Slappy is offline   Reply With Quote
Old 10th September 2012, 08:14   #3
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,848
T.Slappy: Your use of the php tag kills the backslashes in $PLUGINSDIR\Splash.
MSG is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump