Hi,
I am new here and a complete newbie. I need your help for the following (image attached).
I would like to display a bitmap while the installation is in progress and until the user clicks the Close button. The image should occupy all the space under the progress bar and optimally the "show details" button should be hidden.
Thanks a lot for your help
Nicolas
Embed an image below the progress bar
7 posts
Script http://nsis.sourceforge.net/wiki/Mod...stalling_files
or one of plug-ins http://nsis.sourceforge.net/Category:Plugins - EBanner for static images, AnimGif for animation. Put included to package dll to nsis\plugins folder.
IMHO plug-in is better, less code length, more reliable.
or one of plug-ins http://nsis.sourceforge.net/Category:Plugins - EBanner for static images, AnimGif for animation. Put included to package dll to nsis\plugins folder.
IMHO plug-in is better, less code length, more reliable.
Or you can use Resource Hacker to add a Bitmap control to dialog 106 in either Contrib\UIs\modern.exe or default.exe
Set the image using SetBrangingImage specifying the control ID with /IMGID=
Use ShowInstDetails nevershow to disable the Show Details button.
-Stu
Set the image using SetBrangingImage specifying the control ID with /IMGID=
Use ShowInstDetails nevershow to disable the Show Details button.
-Stu
Thanks a lot.
I tried the EBanner plugin and it works great, except this:
Because I want the image to be displayed until the GUI is completely closed, I have put the stop call in:
Function .onGUIEnd
ebanner::stop
Delete "$INSTDIR\nsis.bmp"
FunctionEnd
The problem is that the bmp file is not deleted.
Any clue ?
Thanks
Nicolas
I tried the EBanner plugin and it works great, except this:
Because I want the image to be displayed until the GUI is completely closed, I have put the stop call in:
Function .onGUIEnd
ebanner::stop
Delete "$INSTDIR\nsis.bmp"
FunctionEnd
The problem is that the bmp file is not deleted.
Any clue ?
Thanks
Nicolas
hmmm...
I just test this and found that something is holding the image file open even after the installation is closed. I also tried copying the image to $PLUGINSDIR, but found that all files in $PLUGINSDIR were deleted except my image file. (This was all done by slightly modifying the Example.nsi to add a delete command.)
Seems this might be an issue with eBanner itself. As a workaround, use the /rebootok command in your delete statement. At least that way, when the user reboots, it should remove the file.
Beyond that, perhaps Tahkir can offer more advice.
I just test this and found that something is holding the image file open even after the installation is closed. I also tried copying the image to $PLUGINSDIR, but found that all files in $PLUGINSDIR were deleted except my image file. (This was all done by slightly modifying the Example.nsi to add a delete command.)
Seems this might be an issue with eBanner itself. As a workaround, use the /rebootok command in your delete statement. At least that way, when the user reboots, it should remove the file.
Beyond that, perhaps Tahkir can offer more advice.
This looks like IImgCtx interface related issue - not repeats in the previous OleLoadPicturePath() based version http://nsis.sourceforge.net/mediawik...%21EBanner.zip . For simple image display you can use old ver (but image redraw may be not so good in this build and align-fit not implemented) or rebootok.
http://nsis.sourceforge.net/mediawik.../AnimGifPe.zip also supports static images of all OleLoadPicturePath types.
Right now I not found any related topics in google 🙁
http://nsis.sourceforge.net/mediawik.../AnimGifPe.zip also supports static images of all OleLoadPicturePath types.
Right now I not found any related topics in google 🙁
OK I will /rebootok since it is the best workaround right now. I will monitor Ebanner updates on this matter.
Thank you
Nicolas
Thank you
Nicolas