문제

Thanks for reading this. I am making a program and I choose to package it using NSIS after getting disappointed by Inno. I am trying to make a 2 steps install wizard. I could accomplish this by using Nsdialogs and a custom page. Please see this image: here

Is it possible to change the "Install" button to became "I Agree" as in the license page? and if this is possible, can this button be colored?

I have searched about this and I found some talk about a plugin called 'Buttonevent'. I download it and I saw the examples. AS I understood this can be used only to Add new buttons Not to change existing ones. please help me if there is any clues.

도움이 되었습니까?

해결책

That's a lot of code for a one-line solution. LicenseText is the attribute you are looking for. You should also consider using the license page as it is intended, too. Page License

다른 팁

!include nsDialogs.nsh

Page Custom MyPageCreate
Page InstFiles

Function MyPageCreate
nsDialogs::Create 1018
Pop $0

GetDlgItem $1 $hwndparent 1 ; Get handle to Install/Next button
${NSD_SetText} $1 "$(^AgreeBtn)" 

nsDialogs::Show
FunctionEnd

Changing button colors is a lot of work and cannot be done in NSIS without a plugin...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top