Skip to content
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

Support running specific scripts on uninstall (as well as install) #12

Open
RafDelgadoUK opened this issue Jun 10, 2016 · 3 comments
Open

Comments

@RafDelgadoUK
Copy link

How can you specify two script files to run on install and the other on uninstall as there seems no way to distinguish from individual script files in the install sequence?

@flcdrg flcdrg changed the title Inlinescript Support running specific scripts on uninstall (as well as install) Jun 11, 2016
@flcdrg
Copy link
Owner

flcdrg commented Jun 11, 2016

You are correct. There isn't a way to do that at the moment. My initial thought is that we'd need to add a corresponding set of uninstall actions that mirror the existing ones, though maybe there's a tidier way to do it.

(for my own reference, see http://stackoverflow.com/a/17595951/25702 )

@ddurham2
Copy link

I think this problems comes down tot he fact that you can only specify where in the sequence that ALL scripts run and there you can only specify a single condition.

This was a limitation for me also because I needed to run some scripts before installing files and some others after installing files but could not.. I had to manually run powershell instead of using this nice plugin.

@GZidar
Copy link
Contributor

GZidar commented Apr 1, 2021

This PR #25 (if accepted) should address this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants