Saltl-minion on windows + Silent Uninstall
I would like to be able to run the uninstaller of salt-minion (for update purpose) silently, but i can't see the hidden flags of the uninst.exe (I tried /? /h -? -h ....). Also, is it the best way to update a minion? by uninstalling the older version and installing the new one?
@UtahDave I think these are questions you'll better know the answer to than me. =)
c:\salt\uninst.exe /S
is supposed to be a silent Uninstaller, but it seems to currently still pop up a confirmation dialog. I'll have to dive deeper into the NSIS docs to figure out how to suppress that dialog.
For reference, here's the docs on that http://nsis.sourceforge.net/Docs/Chapter4.html#silent
Well... I've looked at the doc, and all the flags I see don't work... Any idea? I have about 200 windows minion to deinstall and try a new version of the minion. only upgrading without fresh install of the minion didnt solve my problem... I heard a few guys on github who had success fixing their issue only by uninstalling old minion version and installing the new one... But doing so on 200 machines by hand is a little bit frustrating without this silent optioné... hehe
Have you tried just installing over the top of the old one? On Aug 8, 2014 2:36 PM, "patcardin" [email protected] wrote:
Well... I've looked at the doc, and all the flags I see don't work... Any idea? I have about 200 windows minion to deinstall and try a new version of the minion. only upgrading without fresh install of the minion didnt solve my problem... I heard a few guys on github who had success fixing their issue only by uninstalling old minion version and installing the new one... But doing so on 200 machines by hand is a little bit frustrating without this silent optioné... hehe
— Reply to this email directly or view it on GitHub https://github.com/saltstack/salt/issues/14806#issuecomment-51654169.
Yeah, it "seems" to work, but the fix I am looking for (and which is supposed to be fix in the version latest version of the minion) is still present after the installationm of the new version on top of the older one... But the fresh install seems fine.
2014-08-08 17:04 GMT-04:00 David Boucha [email protected]:
Have you tried just installing over the top of the old one? On Aug 8, 2014 2:36 PM, "patcardin" [email protected] wrote:
Well... I've looked at the doc, and all the flags I see don't work... Any idea? I have about 200 windows minion to deinstall and try a new version of the minion. only upgrading without fresh install of the minion didnt solve my problem... I heard a few guys on github who had success fixing their issue only by uninstalling old minion version and installing the new one... But doing so on 200 machines by hand is a little bit frustrating without this silent optioné... hehe
— Reply to this email directly or view it on GitHub https://github.com/saltstack/salt/issues/14806#issuecomment-51654169.
— Reply to this email directly or view it on GitHub https://github.com/saltstack/salt/issues/14806#issuecomment-51657263.
Fixed by PR: #21861