-
Notifications
You must be signed in to change notification settings - Fork 174
Convert script and directory _nsis.py
subcommands into NSIS code
#1069
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
base: main
Are you sure you want to change the base?
Conversation
@marcoesters Is this something that is awaiting review? Let me know and I can review it. |
You are free to leave comments, but in the end, I need approval from a |
call un.AbortRetryNSExecWait | ||
${EndIf} | ||
!insertmacro AbortRetryNSExecWaitLibNsisCmd "rmpath" | ||
!insertmacro AbortRetryNSExecWaitLibNsisCmd "rmreg" |
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.
Why is this no longer needed?
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.
It was actually never needed. The uninstallation via conda-standalone
already performs the same function during the installation process. I included that line back then by mistake.
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 see, thanks!
Co-authored-by: Robin <34315751+lrandersson@users.noreply.github.com>
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.
Nice cleanups! Thanks!
I found a way to remove the |
Description
Convert simple script and directory subcommands into NSIS code to further decouple the python dependency from EXE installers (#549). Scripts are already executed directly via
cmd.exe
for pre-install scripts andmkdirs
is a simple directory creation command.Note that this means that
post-install
andpre-uninstall
script failures will cause the installation/uninstallation process to fail now. I think this is good behavior as it has masked issues in the past (see #942 and #1020).Checklist - did you ...
news
directory (using the template) for the next release's release notes?