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

Pass --update flag to uninstaller when auto updating an application #1162

Closed
maczikasz opened this issue Jan 24, 2017 · 4 comments · May be fixed by qcif/data-curator#563
Closed

Pass --update flag to uninstaller when auto updating an application #1162

maczikasz opened this issue Jan 24, 2017 · 4 comments · May be fixed by qcif/data-curator#563

Comments

@maczikasz
Copy link
Contributor

  • Version: latest

  • Target: nsis

I would like to do some cleanup on uninstall in the customUninstall macro, but atm I cannot differentiate between uninstall or auto-update uninstall.

@maczikasz
Copy link
Contributor Author

Thanks

@exprodrigues
Copy link

How to use?

@develar
Copy link
Member

develar commented May 8, 2017

@exprodrigues Where do you want to use it?

@exprodrigues
Copy link

I was trying to differentiate the uninstall/update in the customUnInit macro.
It worked as follows:

!macro customUnInit
  ${GetParameters} $R0
  ${GetOptions} $R0 "--update" $R1
  ${If} ${Errors}
    # Custom commands on uninstall
  ${endIf}
!macroend

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

Successfully merging a pull request may close this issue.

3 participants