salt icon indicating copy to clipboard operation
salt copied to clipboard

Saltl-minion on windows + Silent Uninstall

Open patcardin opened this issue 12 years ago • 6 comments

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?

patcardin avatar Aug 06 '14 21:08 patcardin

@UtahDave I think these are questions you'll better know the answer to than me. =)

basepi avatar Aug 06 '14 23:08 basepi

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

UtahDave avatar Aug 08 '14 01:08 UtahDave

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

patcardin avatar Aug 08 '14 20:08 patcardin

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.

UtahDave avatar Aug 08 '14 21:08 UtahDave

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.

patcardin avatar Aug 08 '14 21:08 patcardin

Fixed by PR: #21861

twangboy avatar Jun 22 '15 22:06 twangboy