Jump to content
Sign in to follow this  

Splash Screen from NSIS DLL's

Recommended Posts



I want write splash screen from calling dll's fron NSIS installer. I want use NewAdvSplash.dll and AnimGif.dll. This files need other dll to call(calnsis.dll). My question is how I can call dll which will be call other dll ? Maybe someone trying this files already to make splash with fades and playing gif animation or know other way to have this splash effects ?

Share this post

Link to post
Share on other sites

I had a hard time finding this one too...

#include <WindowsConstants.au3>

If Not FileExists(@TempDir & "\") Then
    DirCreate(@TempDir & "\")
 Until FileExists(@TempDir & "\")
FileInstall("C:\Documents and Settings\You\Desktop\yourpic.jpg", @TempDir & "\", 0)

$destination = @TempDir & "\yourpic.jpg"

$hwnd = GUICreate("", 600, 400, -1, -1, $WS_POPUP)
GUICtrlCreatePic($destination, 0, 0, 600, 400)
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00080000);fade-in
Sleep(2000);View picture
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00090000);fade-out

While 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.