Christian Brabandt wrote:
> On Do, 22 Jun 2017, Bram Moolenaar wrote:
>
> > Patch 8.0.0660
> > Problem: Silent install on MS-Windows does show a dialog.
> > Solution: Add /SD to the default choice. (allburov, closes #1772)
> > Files: nsis/gvim.nsi
>
> I believe this broke appveyor:
> https://ci.appveyor.com/project/chrisbra/vim-win32-installer/build/401/job/boep355w57arbsqw
>
> C:\projects\vim-win32-installer\vim\nsis>"C:\Program Files
> (x86)\NSIS\makensis" /DVIMRT=..\runtime gvim.nsi "/XOutFile
> ..\..\gvim_8.0.0662_x86.exe"
> Command line defined: "VIMRT=..\runtime"
> Processing config: C:\Program Files (x86)\NSIS\nsisconf.nsh
> Processing script file: "gvim.nsi" (ACP)
> Usage: MessageBox mode messagebox_text [/SD return] [return_check
> label_to_goto_if_equal [return_check2 label2]]
> mode=modeflag[|modeflag[|modeflag[...]]]
>
> modeflag=(MB_ABORTRETRYIGNORE|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_YESNO|MB_YESNOCANCEL|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_USERICON|MB_TOPMOST|MB_SETFOREGROUND|MB_RIGHT
> Error in script "gvim.nsi" on line 90 -- aborting creation process
> C:\projects\vim-win32-installer\vim\nsis>popd
> Command exited with code 1
Hmm, I thought it follows the NSIS spec:
Use the /SD parameter with one of the return_check values above to specify the
option that will be used when the installer is silent.
Hmm, searching for this I guess we need to double IDYES:
/SD IDYES
IDYES NoAbort
Can you try that (no Windows machine at my hands right now).
NSIS syntax is weird...
--
hundred-and-one symptoms of being an internet addict:
70. ISDN lines are added to your house on a hourly basis
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" 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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.