![]() |
#1 |
Junior Member
Join Date: Jul 2012
Posts: 20
|
Paypal Donate button on the welcome/finish screen?
Hello, looking for the easiest, simplest way to add a paypal donate button to the welcome and/or finish screen. No need for any fancy stuff like animations or auto-open webpage, just a simple clickable button (even a clickable link would be fine).
Thanks. |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
MUI1 or MUI2?
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Jul 2012
Posts: 20
|
1, I believe.
|
![]() |
![]() |
![]() |
#4 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
Doing it with MUI2 is a lot less work so I did that:
PHP Code:
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#5 |
Junior Member
Join Date: Jul 2012
Posts: 20
|
Ok, I'll see whether I can (painlessly) migrate to MUI2 - thanks.
But if someone else has something that would work in MUI1, I'm still all ears - as mentioned, I think a simple clickable link would be enough for what I need. |
![]() |
![]() |
![]() |
#6 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
Unless you are already modifying the pages you should just be able to change !include MUI.nsh to MUI2.nsh
Something like this for MUI1: PHP Code:
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#7 |
Junior Member
Join Date: Jul 2012
Posts: 20
|
Ok, I think that works, but I need to supply it with a correct bmp (right now it's just a black square).
Also, found this in the meantime, and it actually almost does what I want. code: All that I need now is to move it way down so it wouldn't obstruct the text (see pic) - tried playing around with the top/bottom values, but as soon as I change anything the link is gone. |
![]() |
![]() |
![]() |
#8 |
Junior Member
Join Date: Jul 2012
Posts: 20
|
Ok, removed the bmp stuff for now - again, almost there. Almost.
code: As long as the box can be made to wrap around the right or left lower corner properly, I'll be happy with this. |
![]() |
![]() |
![]() |
#9 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
You can see that the link is under the other control, you need to use SetWindowPos like I did.
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#10 |
Junior Member
Join Date: Jul 2012
Posts: 20
|
Ok, ended up with this;
code: I think it's good enough - thanks again. I'll probably try to be less stupid later, but my time is short for the moment. //this also works (moves the link box low enough and makes it always visible without IniPageHacks): code: Last edited by v47; 3rd April 2017 at 21:50. |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|