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
Customized Welcome After Pages and Conclusion Pages #590
Customized Welcome After Pages and Conclusion Pages #590
Conversation
We require contributors to sign our Contributor License Agreement and we don't have one on file for @ryanskeith. In order for us to review and merge your code, please e-sign the Contributor License Agreement PDF. We then need to manually verify your signature. We will ping the bot to refresh the PR status when we have confirmed your signature. |
@conda-bot check |
Requires #589 to be merged first due to unrelated CI errors. |
Also requires to locally run |
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.
Super cool to see this happening. One more step towards the fork re-integration! Thanks for the submission.
I have two main comments about the implementation:
- I'd rather see the custom welcome and conclusion pages as replacement pages, not additional ones, by default. Of course, the custom page can define again the
MUI_*_PAGE
macros to re-insert the replaced pages, but this way users actually have a way to remove the default pages. - I'd rather see how we reuse
extra_files
to handle the temporary files.
These are not strong opinions and I'll be happy to discuss them, but this is how I had envisioned the initial implementation.
Co-authored-by: Jaime Rodríguez-Guerra <jaimergp@users.noreply.github.com>
Adding in custom conclusion logic. Co-authored-by: Jaime Rodríguez-Guerra <jaimergp@users.noreply.github.com>
… MUI_PAGE_FINISH.
Co-authored-by: Jaime Rodríguez-Guerra <jaimergp@users.noreply.github.com>
Co-authored-by: Jaime Rodríguez-Guerra <jaimergp@users.noreply.github.com>
@ryanskeith Some more comments that need addressing, but we are getting very close to a mergeable state :D I would like to play with this PR a bit to get a feeling on how it could work for other projects before merging, but I think it all can happen within the week! |
Co-authored-by: Jaime Rodríguez-Guerra <jaimergp@users.noreply.github.com>
Co-authored-by: Jaime Rodríguez-Guerra <jaimergp@users.noreply.github.com>
Co-authored-by: Jaime Rodríguez-Guerra <jaimergp@users.noreply.github.com>
@jaimergp Comments added to requested file. |
|
||
${NSD_CreateLink} 10u 55u 200u 10u "https://github.com/conda" | ||
Pop $InstallationAfterWelcomeLink | ||
${NSD_OnClick} $InstallationAfterWelcomeLink LaunchLinkOne |
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.
Does this link work? The function is only defined later (in the conclusion file), so I am not sure NSIS knows about it now (maybe it does). I just want to know whether this link in the welcome page works. Can you confirm? Thanks!
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.
Yes, it seemed to work in our tests.
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.
Awesome. Thanks!
Thanks @ryanskeith! I fixed the conflicts and added one more (last?) question. Can you resync the docs ( |
docs should be resynced |
Thanks! I'll merge as soon as everything's green. |
Description
Checklist - did you ...
news
directory (using the template) for the next release's release notes?Screen shots