|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#1 |
Junior Member
Join Date: Dec 2012
Posts: 2
|
![]()
Hi Experts,
Please i want to creat an NSIS customer page, this page will contain "Image" and "Fileselected". When the user click on the button "Fileselected", he will be able to brows an image, and whene he select it, it (the image) will be display on the "image" field. The image will be fit to the correct dimenssion (See atached file) For that i creat a "builer.ini" file: PHP Code:
in my NSIS code "NSI" i do this program : code: where Verify is : code: this code show the image, but when i select an other image i cant display it. Please, can i find some helps Thanks Last edited by joeseph; 17th December 2012 at 07:17. Reason: addin attached file |
![]() |
![]() |
![]() |
#2 |
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
You need a callback function that is called each time a new image is entered in the fileselect. This function will then send an update message to the image control. I have no idea how to do this with InstallOptions. But I do know that nsDialogs has built-in callback functions that you can use for just this purpose:
http://nsis.sourceforge.net/Docs/nsD...l#ref-onchange And in any case, nsDialogs has superceded InstallOptions a long time ago. I recommend you look at the tutorial in the nsDialogs readme: http://nsis.sourceforge.net/Docs/nsD...adme.html#step |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Dec 2012
Posts: 2
|
|
![]() |
![]() |
![]() |
|
Tags |
custom, fileselected, image, nsis, page |
Thread Tools | Search this Thread |
Display Modes | |
|
|