-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changed Caption of last -Next button in Windows InstallationWizard to -Install button #48537
Changed Caption of last -Next button in Windows InstallationWizard to -Install button #48537
Conversation
…instead of next button
https://jrsoftware.org/ishelp/topic_setup_disablereadypage.htm |
Hi, thanks for your contribution. Can you please give the pull request a more descriptive title? |
thank you for your guidance. I have edited the title |
contrib/windows/build-installer.iss
Outdated
@@ -147,6 +147,12 @@ end; | |||
|
|||
procedure CurPageChanged(CurPageID: Integer); | |||
begin | |||
; Fixing bug in git Issue #48521 |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comments would better describe the behaviour of the following code directly. Something like: change button text from
next
toinstall
when there are no more options.
yes Surely, thank you for the suggestion.
i did changed the comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad for not expressing myself clearly.
Delete line 150 ~ line 155. Line 160 can replace them completely.
yes got it!
i hope its ready to merge now.
contrib/windows/build-installer.iss
Outdated
@@ -147,6 +147,12 @@ end; | |||
|
|||
procedure CurPageChanged(CurPageID: Integer); | |||
begin | |||
; change button text from "next" to "install" when ReadyPage is disabled. | |||
if CurPageID = wpSelectProgramGroup then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For example, if the new last pre-installation wizard page is the Select Program Group page:
Our last page is wpSelectTasks
.
contrib/windows/build-installer.iss
Outdated
if CurPageID = wpSelectProgramGroup then | ||
WizardForm.NextButton.Caption := SetupMessage(msgButtonInstall) | ||
else | ||
WizardForm.NextButton.Caption := SetupMessage(msgButtonNext); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will override the button "Finish" on the final page.
Co-authored-by: woclass <[email protected]>
i commited @inkydragon the changes you suggested. |
I mean, just add a new branch for that case. For other reviewerYou don't need to build julia, a new folder and a fake exe is enough to complete the package test. # In JuliaLang/julia/
# download innosetup
make win-extras
# make fake binary dir
mkdir -p julia-innosetup/bin/
# make fake exe
echo 1 > julia-innosetup/bin/julia.exe Run this in MSYS2, Or you may need to manually combine the full path, for example by packing it in cmd
|
hey @inkydragon, I am new to the open source community. |
My bad for not expressing myself clearly. Delete line 150 ~ line 155. |
contrib/windows/build-installer.iss
Outdated
@@ -145,11 +145,15 @@ begin | |||
end; | |||
end; | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
contrib/windows/build-installer.iss
Outdated
procedure CurPageChanged(CurPageID: Integer); | ||
begin | ||
case CurPageID of | ||
wpWelcome: WizardForm.Color := WizardForm.WelcomePage.Color; | ||
wpFinished: WizardForm.Color := WizardForm.FinishedPage.Color; | ||
|
||
;change button text from "next" to "install" when ReadyPage is disabled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
;change button text from "next" to "install" when ReadyPage is disabled. | |
// change button text from "next" to "install" when ReadyPage is disabled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank You So much @inkydragon for helping me out with this.
I committed the changes you suggested, is it alright now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tested this pr locally and it looks fine.
cc: @staticfloat
Great, thanks! Welcome to the Julia community, @AbhaySingh004! |
closes #48521
Bug Description-
Here the Next button should be replaced with Install
the Windows-Installer-Wizard shows the Install button on the ReadyPage of other software
as provided attachments in #48521
Bug Fix-
-now to solve this bug
in builder.iss inno-Setup-Script file the
disablereadypage=yes
is not making Installation-Wizard reach its readypage .so to fix this I gone through Setup guide of Inno-Setup-Script and found the solution
link-
like show here in attachment below