Skip to content

Adding close process and service stop to windows installer#8012

Merged
UtahDave merged 1 commit intosaltstack:developfrom
equinoxefr:upgrading_windows_installer
Oct 22, 2013
Merged

Adding close process and service stop to windows installer#8012
UtahDave merged 1 commit intosaltstack:developfrom
equinoxefr:upgrading_windows_installer

Conversation

@equinoxefr
Copy link
Copy Markdown
Contributor

Hi,

Here's a new version of the installer file.

  • Now it cleans cache directory
  • It stops salt-minion service before upgrading
  • It closes salt-minion.exe process (needed if install is launched from salt).

But WARNING there's 2 drawbacks:

  • You need to add nsProcess NSIS plugin
  • Salt can't return when we close salt-minion process :-( but it's needed to upgrade salt-minion.exe

Regards
Pierre

@UtahDave
Copy link
Copy Markdown
Contributor

@equinoxefr Very nice! thanks!

Would you mind adding a note to the doc on how to add the nsProcess NSIS plugin?

Thanks for your help!

UtahDave added a commit that referenced this pull request Oct 22, 2013
Adding close process and service stop to windows installer
@UtahDave UtahDave merged commit 9051344 into saltstack:develop Oct 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants