Wednesday, March 28, 2012

Windows installer - silent mode

Hi,

From what I understand, the Windows installer (gvim73_46.exe) is built
using NSIS, and NSIS supports a "/S" flag to enable unattended installation.

It works, except that it still pops up a confirmation dialog at the
start: "This will install Vim 7.3 on your computer. Continue?"

Is there a way to suppress that dialog? I don't think it's needed even
for regular (not silent) installs, as the next screen in regular mode is
a license acceptance screen that makes it pretty clear you're going to
be installing Vim.

The NSIS MessageBox supports an "/SD" option (example here:
http://nsis.sourceforge.net/Embedding_other_installers). Unfortunately,
this is something that has to be baked into the gvim.nsi - it can't be
changed from the command-line.

I'm trying to deploy Vim through Puppet running as a service, so the
confirmation dialog doesn't get shown and the installer hangs.

Thanks,
Mike

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: